/*
Theme Name: RDM Timber
Theme URI: https://www.rodamastimber.co.id
Author: RDM Timber Team
Author URI: https://www.rodamastimber.co.id
Description: Custom WordPress theme for PT. Roda Mas Timber Kalimantan - a timber company website with corporate layout featuring sidebar, article content, and navigation.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rdm-timber
Tags: corporate, business, custom-menu, custom-logo, featured-images, sidebar, translation-ready
*/

body {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #fff;
    line-height: 1.5;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 1160px;
    margin: 0 auto;
}

.top-bar {
    background-color: #000;
    height: 25px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 10px;
}
.flags img {
    height: 14px;
    margin-left: 5px;
    border: 1px solid #444;
}

.header-banner {
    background-color: #000;
    height: 120px;
    background-image: url('https://placehold.co/980x120/111/111?text=Banner+Image');
    background-size: cover;
    background-position: center;
    position: relative;
}
.logo-area {
    position: absolute;
    left: 20px;
    top: 20px;
    display: flex;
    align-items: center;
}
.logo-area img {
    height: 70px;
}
.logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
    text-shadow: 1px 1px 2px #000;
}

.navbar {
    background-color: #1a1a1a;
    height: 45px;
}
.navbar ul {
    display: flex;
    height: 100%;
}
.navbar li {
    border-right: 1px solid #333;
}
.navbar a {
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 100%;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
.navbar a:hover,
.navbar a.active,
.navbar .current-menu-item > a {
    background-color: #4CAF50;
}
.navbar a i {
    margin-right: 8px;
}

.hero-img {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 20px;
}
.hero-img img {
    width: 100%;
    display: block;
    border: 1px solid #ddd;
}

.main-content {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.sidebar {
    width: 240px;
    flex-shrink: 0;
    order: -1;
}
.sidebar-box {
    border: 1px solid #eee;
    margin-bottom: 20px;
}
.sidebar-header {
    background-color: #f7f7f7;
    padding: 10px 15px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    font-size: 14px;
}
.sidebar-header i {
    margin-right: 8px;
    color: #666;
}
.sidebar-menu li {
    border-bottom: 1px solid #eee;
}
.sidebar-menu li:last-child {
    border-bottom: none;
}
.sidebar-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 12px;
    color: #555;
}
.sidebar-menu a:hover {
    background-color: #fafafa;
    color: #000;
}

.login-form {
    padding: 15px;
}
.input-group {
    display: flex;
    margin-bottom: 10px;
}
.input-group-addon {
    background-color: #eee;
    border: 1px solid #ccc;
    border-right: none;
    padding: 6px 10px;
    color: #555;
}
.login-form input[type="text"],
.login-form input[type="password"] {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ccc;
    font-size: 12px;
    width: 100%;
    box-sizing: border-box;
}
.login-form .checkbox {
    font-size: 12px;
    margin-bottom: 10px;
    color: #555;
}
.login-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
}
.login-btn:hover {
    background-color: #0056b3;
}

.article-content {
    flex: 1;
    padding-right: 10px;
}
.text-green {
    color: #2E8B57;
}
.article-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1.4;
}
.article-content h4 {
    font-size: 13px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #000;
}
.article-content p {
    margin-bottom: 15px;
    text-align: justify;
}
.article-content ol,
.article-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}
.article-content li {
    margin-bottom: 5px;
    text-align: justify;
}
.article-content ul li {
    list-style-type: disc;
}

.image-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}
.image-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
    width: 66%;
}
.image-grid-3-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}
.article-image img {
    width: 100%;
    display: block;
    border: 1px solid #ddd;
}
.caption {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 5px;
    font-size: 12px;
    font-weight: bold;
}
.pagination a,
.pagination span {
    color: #333;
    padding: 5px 8px;
}
.pagination .current,
.pagination .active {
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.footer-banner {
    background-color: #000;
    height: 80px;
    background-image: url('https://placehold.co/980x80/111/111?text=Footer+Banner');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 10px;
}
.footer-logo {
    position: absolute;
    left: 20px;
    top: 15px;
    display: flex;
    align-items: center;
}
.footer-logo img {
    height: 50px;
}
.footer-logo-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-left: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #666;
    margin-bottom: 20px;
}
.go-top {
    background-color: #eee;
    padding: 5px 10px;
    border: 1px solid #ccc;
    color: #333;
    cursor: pointer;
}

.small-text {
    font-size: 11px;
}
.font-normal {
    font-weight: normal;
}

.post-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 10px;
}
.post-meta a {
    color: #2E8B57;
}
.post-meta a:hover {
    text-decoration: underline;
}

.comments-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.comments-section h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}
.comment-list {
    list-style: none;
    padding: 0;
}
.comment-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.comment-author {
    font-weight: bold;
    font-size: 12px;
}
.comment-date {
    font-size: 10px;
    color: #999;
}
.comment-body {
    font-size: 12px;
    margin-top: 5px;
}

.no-results {
    padding: 40px 0;
    text-align: center;
}
.no-results h2 {
    font-size: 16px;
    color: #2E8B57;
    margin-bottom: 15px;
}

.widget_recent_entries ul,
.widget_categories ul,
.widget_archive ul,
.widget_meta ul,
.widget_nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget_recent_entries li,
.widget_categories li,
.widget_archive li,
.widget_meta li,
.widget_nav_menu li {
    border-bottom: 1px solid #eee;
}
.widget_recent_entries li:last-child,
.widget_categories li:last-child,
.widget_archive li:last-child,
.widget_meta li:last-child,
.widget_nav_menu li:last-child {
    border-bottom: none;
}
.widget_recent_entries a,
.widget_categories a,
.widget_archive a,
.widget_meta a,
.widget_nav_menu a {
    display: block;
    padding: 10px 15px;
    font-size: 12px;
    color: #555;
}
.widget_recent_entries a:hover,
.widget_categories a:hover,
.widget_archive a:hover,
.widget_meta a:hover,
.widget_nav_menu a:hover {
    background-color: #fafafa;
    color: #000;
}

.alignleft {
    float: left;
    margin: 0 15px 15px 0;
}
.alignright {
    float: right;
    margin: 0 0 15px 15px;
}
.aligncenter {
    display: block;
    margin: 0 auto 15px;
}
.wp-caption {
    max-width: 100%;
}
.wp-caption-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 5px;
}
.sticky {
    border-left: 3px solid #4CAF50;
    padding-left: 12px;
}
.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 33%;
    padding: 5px;
}
.gallery-item img {
    width: 100%;
    height: auto;
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
