* {
    font-family: 'Roboto Condensed', sans-serif;
}

html, body {
    overflow-x: hidden;
}

.image-wrapper {
    position: relative;
}

.float-top {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    z-index: 9999;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white; 
    border: 1px solid #000;
}

.container img {
    width: 100%;
    height: auto;
    display: block;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('/images/Background.webp') no-repeat center center fixed;
    background-size: cover;
}

a {
    color: #bf7d13;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #a5650f;
}

header {
    margin: 0;
    padding: 0;
    line-height: 0;
}

nav {
    background-color: #bf7d13;
    text-align: center;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    font-size: 18px;
    display: flex;
    justify-content: center;
    text-shadow: 0 0 2px #000;
}

nav a {
    flex: 0 1 auto;
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    margin: 0;
    border-right: 1px solid #dd9b31;
    box-sizing: border-box;
}

nav a:first-child {
    border-left: 1px solid #dd9b31; 
}

nav a:hover {
    background-color: #FFF;
    color: #000000;
    text-shadow: 0 0 2px #fff;
}

.banner-prediksi {
    background-color: transparent;
    background-image: url('/images/Background.webp');
    background-size: cover;
    padding: 10px 0 10px;
}

.banner-prediksi a {
    display: block;
    margin-bottom: 10px;
}

.banner-prediksi a:last-child {
    margin-bottom: 0;
}

.banner-prediksi img {
    max-width: 100%;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.content-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    background: white;
    text-align: justify;
}

.content {
    flex: 0 0 60%;
}

.content-inner {
    background: #fff;
    padding: 10px 10px 0;
    border: 1px solid #000;
    border-top: 6px solid #bf7d13;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    line-height: 1.5;
    letter-spacing: 0.2px;
    word-spacing: 0.4px; 
    font-size: 16px;
}

.content-inner ol {
    font-size: 20px;
}

.bt {
    font-size: 20px;
}

.content h1 {
    margin-top: 0;
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
}

.category-header {
    border: 1px solid #000;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.category-header h1 {
    margin: 0;
    font-size: 25px;
    padding: 10px 0;
    text-align: left;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    gap: 15px;
    border: 1px solid #000;
    border-top: 6px solid #bf7d13;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    padding: 10px;
}

.post-item h2 {
    line-height: 1.5;
}

.post-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.post-meta span {
    margin-right: 15px;
    display: inline-block;
}

.post-body {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.post-thumbnail img {
    width: 150px;
    height: auto;
    object-fit: cover;
}

.post-excerpt {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.post-excerpt p {
    margin: 0 0 10px;
}

.read-post {
    align-self: start;
    padding: 6px 12px;
    background: #bf7d13;
    color: white;
    border-radius: 3px;
    font-size: 14px;
    text-decoration: none;
    margin-top: 6px;
}

.read-post:hover {
    background: #a5650f;
    color: #fff;
}

.site-title {
    margin-bottom: 0;
}

.site-subtitle {
    font-size: 30px;
    margin-top: 0;
    text-align: center;
}

.content h2 {
    margin: 0;
    font-weight: bold;
    font-size: 25px;
    text-align: left;
    text-transform: uppercase;
}

.content ol {
    margin: 0;
    padding: 10px 0 15px 30px;
}

.sidebar {
    flex: 0 0 38%;
    display: flex;
    flex-direction: column;
}

.sidebar hr {
  border: none;
  border-top: 1px solid #000;
  margin: 10px 0;
  width: 100%;
}

.sidebar-box {
    background: #fff;
    border-radius: 4px;
}

.sidebar-box h3 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 10px;
}

.sidebar-box a {
    display: block; 
    margin-bottom: 6px;
}

.tabel-shio {
    width: 100%;
}

.site-footer {
    background-color: #bf7d13; 
    text-align: center;
    border-top: 1px solid #000;
}

.site-footer p {
    margin: 0;
    padding: 5px;
    color: #fff;
    text-shadow: 0 0 2px #000;
}

.pagination-flex {
    display: flex;
    justify-content: space-between;
}

.pagination-flex:has(.pagination-btn.next):not(:has(.pagination-btn.prev)) {
    justify-content: flex-end;
}

.pagination-flex:has(.pagination-btn.prev):not(:has(.pagination-btn.next)) {
    justify-content: flex-start;
}

.pagination-btn {
    padding: 2px 8px;
    font-size: 15px;
    background: #fff;
    border: 1px solid #000;
    box-shadow: 0 0 2px #333;
    cursor: pointer;
    color: #000;
    transition: background 0.3s;
}

.pagination-btn:hover {
    background: #f2f2f2;
}

.pagination-btn.prev {
    float: left;
}

.pagination-btn.next {
    float: right;
}

.footer-nav {
    display: flex;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #bf7d13;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #000;
    text-shadow: 0 0 2px #000;
}

.footer-nav a {
    color: #fff;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column; 
    align-items: center;
}

.footer-nav a i {
    font-size: 22px;
    margin-bottom: 4px;
    color: #ffffff;
}

.footer-nav a:hover,
.footer-nav a:hover i{
    color: #000;
    text-shadow: none;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 10px;
}

.faq-item {
    background: #222;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-item input {
    display: none;
}

.faq-item label {
    display: block;
    padding: 15px 20px;
    color: #bf7d13;
    text-shadow: 0 0 2px #000;
    cursor: pointer;
}

.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #111;
    color: #fff;
    padding: 0 20px;
}

.faq-item input:checked ~ .faq-answer {
    max-height: 300px;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        box-sizing: border-box;
    }
    
    nav {
        display: flex;
        flex-direction: column;
    }
    
    nav a {
        justify-content: space-between;
        align-items: center;
        color: white;
        font-size: 16px;
        text-decoration: none;
        border-bottom: 1px solid #000;
        width: 100%;
    }
  
    .content-box {
        flex-direction: column;
        padding-bottom: 20px;
    }
    
    .banner-prediksi {
        padding-bottom: 0;
    }
    
    .content,
    .sidebar {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .content h1 {
        margin-bottom: 5px;
    }
    
    .sidebar {
        margin-top: 20px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
    }

    .footer-nav a {
        flex: 1 1 25%;
        max-width: 25%;
    }
}

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .container {
        width: 100%;
    }
    
    nav {
        display: flex;
        flex-direction: column;
    }
    
    nav a {
        justify-content: space-between;
        align-items: center;
        color: white;
        font-size: 20px;
        text-decoration: none;
        border-bottom: 1px solid #000;
        width: 100%;
    }
    
    .content-box {
        flex-direction: column;
        padding-bottom: 20px;
    }
    
    .content h1 {
        font-size: 40px;
    }
    
    .content h2 {
        font-size: 35px;
    }
    
    .content p,
    .site-footer p,
    .content ol {
        font-size: 20px;
    }
    
    .footer-nav a {
        font-size: 20px;
    }
    
    .footer-nav a i {
        font-size: 26px;
    }
}