

.pkp_block {
    padding: 10px 20px;
}

.pkp_site_name,
.pkp_site_name .is_img {
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
    line-height: 0; /* hilangkan spasi ekstra sehingga parent mengikuti tinggi image */
    position: static; /* pastikan tidak absolute/fixed */
}

/* gambar penuh lebar, tinggi mengikuti aspek rasio asli.
   parent akan menyesuaikan tinggi otomatis karena img tidak positioned absolute */
.pkp_site_name .is_img img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important; /* tinggi mengikuti rasio gambar, bukan parent */
    padding: 0;
    margin: 0 auto;
    object-fit: contain;
    max-height: none;
}

.pkp_site_name_wrapper {
    padding: 0;
    margin: 0;
}

.pkp_brand_footer{
    display: none;
    visibility: hidden;
}

html, body {
    background: url('/img/grid.png');
    background-repeat: repeat;
}


/* TODO:ABOUT THE JOURNAL STYLES */

.about-block {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 15px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #e9ecef;
}

.about-header {
    background: linear-gradient(135deg, #0066ff, #0052cc);
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.about-icon {
    font-size: 18px;
}

.journal-identity {
    padding: 20px;
    display: flex;
    gap: 20px;
}

.journal-cover {
    flex-shrink: 0;
    width: 200px;
}

.cover-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.journal-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px;
    padding: 2px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.detail-value {
    color: #495057;
    font-size: 14px;
    line-height: 1.4;
}

.detail-value a {
    color: #0066ff;
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

.journal-description {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.journal-description p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
}

.journal-description p:last-child {
    margin-bottom: 0;
}

.journal-description strong {
    color: #495057;
}

@media (max-width: 768px) {
    .journal-identity {
        flex-direction: column;
        gap: 15px;
    }
    
    .journal-cover {
        width: 100%;
        text-align: center;
    }
    
    .cover-image {
        max-width: 200px;
    }
    
    .detail-row {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 10px 0;
    }
    
    .detail-label {
        font-weight: 700;
    }
    
    .journal-description {
        padding: 15px;
    }
}


/* TODO:SIDEBAR STYLES */

.sidebar-custom {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 15px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #e9ecef;
}

.sidebar-header {
    background: linear-gradient(135deg, #0066ff, #0052cc);
    padding: 20px 25px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}



.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}

.sidebar-menu {
    padding: 15px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 14px;
    color: #495057;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    margin: 2px 0;
    border-radius: 4px;
    font-weight: 400;
}



.sidebar-link:hover {
    color: #495057;
    border-left-color: #0066ff;
    background: #e9ecef;
    font-weight: 500;
}

.sidebar-link-icon {
    margin-right: 12px;
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: #6c757d;
}

.sidebar-link:hover .sidebar-link-icon {
    color: #0066ff;
}

.sidebar-divider {
    height: 1px;
    background: #dee2e6;
    margin: 10px 20px;
}

/* TODO:TEMPLATE STYLES  */

.template-block {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 15px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #e9ecef;
}

.template-header {
    background: linear-gradient(135deg, #0066ff, #0052cc);
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.template-icon {
    font-size: 18px;
}

.template-content {
    padding: 8px;
}

.template-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 2px solid #dee2e6;
}

.template-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #0066ff;
    text-decoration: none;
}

.template-image-wrapper {
    padding: 2px;
    background: #ffffff;
    text-align: center;
}

.template-image {
    max-width: 80%;
    height: auto;
    border-radius: 4px;
}

.template-text {
    background: linear-gradient(135deg, #0066ff, #0052cc);
    color: #ffffff;
    padding: 12px 20px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.template-link:hover .template-text {
    background: linear-gradient(135deg, #0052cc, #003d99);
}

/* TODO:TOOLS STYLES */

.tools-block {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 15px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #e9ecef;
}

.tools-header {
    background: linear-gradient(135deg, #0066ff, #0052cc);
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tools-icon {
    font-size: 18px;
}

.tools-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-link {
    display: flex;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

.tool-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #0066ff;
    text-decoration: none;
    color: inherit;
}

.tool-image-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 6px;
    margin-right: 15px;
}

.tool-image {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.tool-info {
    flex: 1;
}

.tool-name {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.tool-description {
    font-size: 13px;
    color: #6c757d;
    font-weight: 400;
}

.tool-link:hover .tool-name {
    color: #0066ff;
}

@media (max-width: 768px) {
    .tool-image-wrapper {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
    
    .tool-image {
        max-width: 40px;
        max-height: 40px;
    }
    
    .tool-name {
        font-size: 14px;
    }
    
    .tool-description {
        font-size: 12px;
    }
}


/* TODO:VISITOR STYLES */

.visitor-block {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 15px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #e9ecef;
}

.visitor-header {
    background: linear-gradient(135deg, #0066ff, #0052cc);
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.visitor-icon {
    font-size: 18px;
}

.visitor-content {
    padding: 8px;
}

.visitor-counter {
    text-align: center;
}

.counter-link {
    display: inline-block;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
    background: #ffffff;
    padding: 10px;
}

.counter-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #0066ff;
    text-decoration: none;
}

.counter-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.visitor-info {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
}

.info-item i {
    color: #0066ff;
    font-size: 14px;
}

@media (max-width: 768px) {
    .visitor-info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .info-item {
        font-size: 12px;
    }
    
    .counter-link {
        padding: 8px;
    }
}

