/* Root HTML */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Header and Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
}
.navbar {
    border-bottom: 1px solid #DFBD69;
    padding: 10px 10px;
}
.navigation {
    width: 100%;
    max-width: 1030px;
    margin: 0 auto;
}
.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo {
    font-size: 20px;
    font-weight: bold;
}
.logo .red {
    color: #DFBD69;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}
.lang-btn {
    font-size: 20px;
    cursor: pointer;
    padding-left: 5px;
}
.menu-icon {
    font-size: 20px;
    cursor: pointer;
    padding-left: 5px;
}
.nav-scroll {
    position: relative;
    margin-top: 10px;
}
.nav-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-wrapper::-webkit-scrollbar {
    display: none;
}
.nav-links {
    display: flex;
    gap: 15px;
    min-width: max-content;
    padding: 5px 30px;
    padding-left: 0;
    padding-right: 0;
    text-transform: uppercase;
}
.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}
.nav-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 10;
}
.nav-arrow.left {
    left: -10px;
}
.nav-arrow.right {
    right: -10px;
}
.nav-arrow.hidden {
    display: none;
}

/* Breadcrumb */
.top-bar {
    background: #fff8e6;
    width: 100%;
}
.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    padding: 0 0;
    max-width: 1030px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .breadcrumb {
        padding: 0 10px;
    }
}
.breadcrumb li {
    display: flex;
    align-items: center;
}
.breadcrumb li + li:before {
    content: "›";
    margin: 2px 5px 2px 5px;
    color: #555;
    font-size: 24px;
}
.breadcrumb a {
    text-decoration: none;
    color: #DFBD69;

}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb .breadcrumb-title {
    color: #6c757d;
    pointer-events: none;
    max-width: 50ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Sidepanel Navigation */
.sidepanel {
    height: 100%;
    width: 220px;
    position: fixed;
    top: 0;
    left: -250px;
    background-color: #111;
    color: white;
    overflow-x: hidden;
    transition: 0.3s;
    padding: 5px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}
.sidepanel h2 {
    margin-top: 10px;
}
.sidepanel.open {
    left: 0;
}
.sidepanel a {
    color: white;
    padding: 10px 5px;
    display: block;
    text-decoration: none;
}
.sidepanel a:hover {
    background-color: #333;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}
.overlay.show {
    display: block;
}
.toggle-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    background-color: #111;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* Container Layout */
.container {
    display: flex;
    padding: 10px 0;
    max-width: 1030px;
    margin: 0 auto;
    gap: 20px;
}

/* Content Layout */
.content {
    flex: 3;
    background-color: transparent;
    max-width: 720px;
}
.content h1 {
    font-size: 20px;
    font-weight: 300;
    color: #202124;
    margin-bottom: 5px;
}
.content h2 {
        font-size: 14px;
        font-weight: 700;
        color: #404040;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 10px;
        margin-bottom: 10px;
}
.content p {
    font-size: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
}
.right-bar {
    max-width: 320px;
    flex: 1;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 8px 10px;
        gap: 10px;
    }
    .right-bar {
        width: 100%;
        max-width: none;
        border-left: none;
    }
}

/* Two Column */
.my-column {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1100px;
    padding: 0;
    gap: 8px;
}

.column {
    flex: 1;
    padding: 0px;
    box-sizing: border-box;
    background-color: transparent;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.column p {
    margin: 10px;
}
.column h3 {
    background-color: #fafafa;
    color: #2e2e2e;
    font-size: 14px;
    font-weight: bold;
    padding: 8px;
    margin: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: #eee;
}
.column input {
    margin: 5px;
    width: 97%;
    background-color: #fff;
    color: #000;
    padding: 0;
    border-radius: 8px;
}
.column button {
    padding: 5px 8px;
}
@media (max-width: 568px) {
    .column {
        flex: 100%;
    }
}

/* Converter Style */
.converter {
    background: #fff;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.converter h2 {
    font-size: 18px;
    padding: 5px;
    font-weight: 300;
    border-bottom: 1px solid #ddd;
}
.converter p {
    font-size: 16px;
    padding: 5px;
    font-weight: 300;
}
.input-converter {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 5px;
    background: white;
}
.input-converter input {
    border: none;
    outline: none;
    font-size: 16px;
    text-align: left;
    padding: 5px;
}
.input-converter select {
    border: none;
    outline: none;
    font-size: 16px;
    padding-left: 5px;
    flex: 1;
    background-color: #fff;
    text-align: left;
    -webkit-appearance: none;
    border-right: 1px solid #ddd;
}
.converter-button {
    padding: 8px 12px;
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
}
.converter-button:hover {
    background-color: #ddd;
}
.input-converter.button-converter {
    display: flex;
    justify-content: space-between;
}
@media (max-width: 768px) {
    .converter {
        border: none;
        padding: 0;
    }
}
/* Gold Spot */
.gold-spot {
    margin-top: 10px;
    background: #fff;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.gold-spot h2 {
    font-size: 18px;
    padding: 5px;
    font-weight: 300;
    border-bottom: 1px solid #ddd;
}
.gold-spot p {
    font-size: 15px;
    margin-top: 5px;
    padding: 5px;
}
.price-left {
    text-align: left;
    background: #fff;
}
.price-right {
    text-align: right;
}
.price-right {
    text-align: right;
    border-bottom: none;
}

/* List Markets */
.list-markets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    list-style: none;
    padding: 0;
    margin-top: 3px;
}
.list-markets a {
    text-decoration: none;
    color: black;
    padding: 6px;
    display: block;
    text-align: center;
    border: 1px solid #faefd4;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.list-markets li {
    border-radius: 5px;
    background-color: #fff8e6;
    text-align: center;
}

/* Table Pricing */
.table-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.price-table thead {
    border-bottom: 1px solid #fafafa;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.price-table thead th {
    background-color: transparent;
    color: black;
    padding: 10px;
}
.price-table thead th:first-child {
    background-color: #fafafa;
    color: black;
    font-weight: bold;
}
.price-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.price-table tbody tr:nth-child(even) {
    background-color:  none;
}
.price-up {
    color: #0077cc;
    font-weight: bold;
}
.price-down {
    color: #cc0000;
    font-weight: bold;
}
.main-price {
    font-weight: bold;
    font-size: 14px;
    color: #474747;
    width: 50px;
    background-color: #fafafa;
    text-align: center;
}
.sub-info {
    margin-left: 5px;
    text-align: right;
}
.main-info {
    background-color: #fafafa;
}

/* Magazine */
.magazine {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.magazine a {
    font-size: 14px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}
.magazine a:hover {
    text-decoration: underline;
}

.magz-cards {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    max-width: 740px;
}
.card {
    flex: 0 0 240px;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.card-content {
    background: none;
    padding: 2px;
    width: 100%;
}
.card-content h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}
.card-content p {
    margin: 4px 0;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.card-btn {
    display: inline-block;
    margin-top: 10px;
    background: #DFBD69;
    color: black;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}
.card-btn:hover {
    background: #eee;
}

/* Discover */
.discover {
    max-width: 740px;
    display: flex;
    overflow-x: auto;
    gap: 5px;
    padding-bottom: 10px;
}
.discover-more h2 {
    font-size: 14px;
    font-weight: 700;
    color: #404040;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.discover::-webkit-scrollbar {
    height: 6px;
}

.discover::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}
.discover-list {
    flex: 0 0 auto;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 8px;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.span-label {
    font-size: 10px;
    font-weight: bold;
    border: 1px solid black;
    border-radius: 4px;
    padding: 2px 6px;
    margin-bottom: 8px;
    display: inline-block;
}
span.span-one {
    font-size: 16px; 
}
span.span-two {
    font-size: 12px;
    color: #404040;
}
.index-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}
@media (max-width: 600px) {
    .discover-more {
        padding: 10px;
    }
}
@media (min-width: 600px) {
    .discover {
        overflow-x: hidden;
    }
}

/*  Pricing */
.price-rate {
    font-family: Arial, sans-serif;
    color: #202124;
    display: inline-block;
}
.rate-main {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rate-value {
    font-size: 26px;
    font-weight: 500;
}
.rate-change {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}
.percent-down {
    background-color: #fce8e6;
    color: #d93025;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}
.value-down {
    color: #d93025;
    font-weight: 500;
}
.percent-up {
    background-color: #e6f4ea;
    color: #188038;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}
.value-up {
    color: #188038;
    font-weight: 500;
}
.rate-time {
    font-size: 12px;
    color: #5f6368;
    margin-top: 4px;
}
.rate-time a {
    color: #5f6368;
    text-decoration: underline;
    font-size: 12px;
}
@media (max-width: 520px) {
    .rate-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
  }
}

.time-tabs {
    display: flex;
    gap: 12px;
    font-family: Arial, sans-serif;
    margin-bottom: 2px;
    margin-top: 10px;
}

.time-tabs .tab {
    background: none;
    border: none;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    padding: 5px;
    outline: none;
}

.time-tabs .tab:hover {
    color: #000;
}

.time-tabs .tab.active {
    color: #1a73e8;
    font-weight: bold;
}

.time-tabs .tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background-color: #1a73e8;
    border-radius: 1px;
}

.tab-contents {
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    background-color: transparent;
}

/* Charts */
#chart {
    width: 100%;
    height: 320px;
    margin: 0;
    padding: 0;
}

/* Footer */
.footer {
    background-color: #f7f7f7;
    color: #ccc;
    padding: 30px 0;
    font-size: 14px;
    border-top: 1px solid #DFBD69;
    margin-top: 15px;
}
.footer .footer-left {
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-links a {
    color: #6b6b6b;
    padding: 0 5px;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #7a7a7a;
}
.footer-right {
    text-align: right;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.footer-right-top,
.footer-update-bottom {
    font-size: 13px;
    color: #777;
}
.footer-copyright {
    margin: 6px 0;
}
@media (max-width: 600px) {
    .footer .footer-left {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-links {
        justify-content: center;
    }
    .footer-right {
        text-align: center;
        align-items: center;
        margin-top: 15px;
    }
}

/* Language Menu */
.language-selector-custom {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 20px;
}
.globe-icon-custom {
    font-size: 24px;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.globe-icon-custom:hover {
    background-color: #f0f0f0;
}
.language-menu-custom {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    min-width: 160px;
}
.language-menu-custom.show {
    opacity: 1;
    visibility: visible;
}
.language-menu-custom li {
    border-bottom: 1px solid #eee;
}

.language-menu-custom li:last-child {
    border-bottom: none;
}
.language-menu-custom a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}
.language-menu-custom a:hover {
    background-color: #f8f8f8;
}
.language-menu-custom a i {
    color: #007bff;
    min-width: 16px;
    text-align: center;
}

/* Charts Filter */
.filter-charts {
    display: flex;
    gap: 20px;
    font-size: 14px;
    margin-bottom: 0px;
    margin-top: 10px;
}
.filter-buttons span {
    font-size: 14px;
}
.filter-btn {
    cursor: pointer;
    color: #888;
    font-weight: normal;
    position: relative;
}
.filter-btn.active {
    color: #007bff;
    font-weight: bold;
}
.filter-btn.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #007bff;
    border-radius: 2px;
}
#chart {
    width: 100%;
    max-width: 720px;
    height: 300px;
}

/* Perubahan Harga */
.price-change-grid {
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 768px) {
    .price-change-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
.price-change-card {
    background: white;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #ddd;
    text-align: center;
}
.price-change-weight {
    display: inline-block;
    background: #fff;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    padding: 2px 6px;
    margin-bottom: 5px;
}
.price-change-price {
    font-size: 18px;
    font-weight: bold;
}
.price-change-per-gram {
    color: gray;
    font-size: 13px;
}
.price-change-diff {
    margin-top: 4px;
    font-size: 13px;
    font-weight: bold;
}
.price-change-up {
    color: #188038;
}
.price-change-down {
    color: #cc0000;
}

/* Toolip */
.h2style {
  font-size: 20px;
  font-weight: 500;
  color: #202124;
  margin: 24px 0 12px;
}

/* Tooltip Informations */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-left: 5px;
}
.tooltip-text {
    width: 280px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background: #333;
    font-size: 12px;
    white-space: normal;
    visibility: hidden;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    padding: 8px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
    }
.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.tooltip-center .tooltip-text {
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
}
.tooltip-left .tooltip-text {
    bottom: 125%;
    left: 0;
    transform: none;
}
.tooltip-right .tooltip-text {
    bottom: 125%;
    right: 0;
    left: auto;
    transform: none;
}
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
.tooltip-center .tooltip-text::after {
    left: 50%;
    transform: translateX(-50%);
}
.tooltip-left .tooltip-text::after {
    left: 15px;
}
.tooltip-right .tooltip-text::after {
    right: 15px;
}
.section {
    display: flex; 
    align-items: center; 
    gap: 5px;
}

/* Discover More */
.discover-more {
    font-family: Arial, sans-serif;
    max-width: 1030px;
    margin: 0 auto;
}
.discover-more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 5px;
}
.discover-more-button {
    display: block;
    text-decoration: none;
    color: #000;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    font-size: 14px;
    text-align: center;
}
.discover-more-button:hover {
    background-color: #f1f1f1;
    border-color: #888;
}

/* XAU/USD */
.emas-xauusd {
    font-family: Arial, sans-serif;
}
.emas-xauusd .table-xauusd {
    overflow-x: auto;
}
.emas-xauusd table {
    min-width: 600px;
    width: 100%;
    border-collapse: collapse;
}
.emas-xauusd th,
.emas-xauusd td {
    padding: 8px 16px;
    text-align: left;
    white-space: nowrap;
}
.emas-xauusd thead {
    border-bottom: 2px solid #ccc;
    background: #f7f7f7;
}
.emas-xauusd tbody tr:not(:last-child) {
    border-bottom: 1px solid #eee;
}
.emas-xauusd th {
    font-weight: bold;
    color: #333;
}
.emas-xauusd td {
    color: #444;
}

/* Tabs for Multy Charts */
.tabs-custom {
    max-width: 100%;
    margin: auto;
}
.tab-content-custom {
    background: #fff;
}
.tab-content-custom > div {
    display: none;
}
.tab-content-custom > .active-custom {
    display: block;
}
.tab-buttons-custom {
    display: flex;
    justify-content: flex-start;
    background: #fff;
    border-top: none;
    gap: 5px;
}
.tab-buttons-custom button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #888;
    font-weight: normal;
    position: relative;
    padding: 5px;
}
.tab-buttons-custom button.active-custom {
    color: #007bff;
    font-weight: bold;
}
.tab-buttons-custom button.active-custom::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #007bff;
    position: absolute;
    bottom: -2px;
    left: 0;
}

/* Tabs */
.tab {
    display: flex;
    justify-content: center;
    padding: 5px 0;
}
.tab button {
    background-color: #f1f1f1;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 5px 8px;
    margin: 0 2px;
    transition: 0.3s;
    font-size: 13px;
    border-radius: 5px;
}
.tab button:hover {
    background-color: #ddd;
}
.tab button.active {
    background-color: #ccc;
}
.tabcontent {
    display: none;
    border-top: none;
    padding: 5px 0;
}
.tabcontent span {
    font-size: 16px;
    font-weight: 500;
    color: #4a4a4a;
}

/* Thumbnail 4x1 */
.thumbnail {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
}
.thumbnail-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}
.thumbnail-info {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}
.text-line-1 {
    font-size: 28px;
    font-weight: bold;
}
.text-line-2 {
    font-size: 14px;
    margin-top: 4px;
}

/* Grid Home */
.grid-magz-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-template-rows: repeat(2, 200px);
    gap: 10px;
}
.grid-magz-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fef7ee;
}
.grid-magz-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.grid-magz-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
.grid-magz-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}
.grid-magz-desc {
    font-size: 14px;
    margin: 0;
}
.grid-magz-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 13px;
    color: #fff;
    background-color: #dfbd69;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
}
.grid-magz-link:hover {
    background-color: #cfa54f;
}
.box1 {
    grid-row: span 2;
}
@media (max-width: 768px) {
    .grid-magz-container {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }
    .grid-magz-box {
        flex: 0 0 auto;
        width: 240px;
        height: 180px; /* 4:3 ratio */
    }
    .box1 {
        grid-row: auto;
        height: 180px !important;
    }
}
    
/* 3 Column Layout */
.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.left {
    flex: 3;
    max-width: 720px;
    box-sizing: border-box;
}

.right {
    flex: 1;
    max-width: 320px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .left, .right {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.calculators {
    margin-top: 8px;
    font-size: 14px;
    padding: 0;
    padding-bottom: 3px;
}
.calculators p {
    margin: 0;
    padding: 5px 10px;
}
.calculators input,
.calculators option {
    margin: 0;
    padding: 2px 8px;
}
.calculators button {
    padding: 2px 8px;
}
.calculator form {
    padding: 5px 10px;
}

.recent-search {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 2px 0;
    border-top: 1px solid #ddd;
}
.recent-search a {
    display: block;
    padding: 5.5px;
    text-align: center;
    background-color: #fcfcfc;
    border: 1px solid #f2f2f2;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}
.recent-search a:hover {
    background-color: #eaeaea;
}

/* Calculators 2 */
.calculator {
    background-color: #fcfcfc;
    border-top: 1px solid #ddd;
    font-size: 14px;
    margin: 0;
    padding: 0;
    padding-bottom: 3px;
}
.calculator p {
    margin: 0;
    padding: 5px 10px;
}

.calculator input,
.calculator option {
    margin: 0;
    padding: 2px 8px;
}
.calculator button {
    padding: 2px 8px;
}

/* Ul Li */
ul.ul-li {
  list-style: none !important;
  padding-left: 0;
  margin: 0 0 24px 0;
}
ul.ul-li li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 5px;
}
ul.ul-li li::before {
  content: "\f111";
  font-family: FontAwesome;
  font-size: 8px;
  color: #b58e27;
  position: absolute;
  left: 0;
  top: 6px;
}

/* Info Harga */
.info-harga {
    list-style: none;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 15px;
    margin: 0;
}
.info-harga li {
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
}
.info-harga .nominal {
    color: black;
    font-weight: bold;
}
.info-harga .sumber em {
    font-style: italic;
}
.info-harga .sumber strong {
    font-weight: bold;
}

/* Box for Nothing */
.box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
}
.label-title {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    background: #f1f1f1;
    border-radius: 16px;
    padding: 4px 10px;
    margin-bottom: 5px;
}
.label-title::before {
    font-family: "FontAwesome";
    content: "\f017";
    margin-right: 6px;
}
.box hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 12px 0;
}
.rate-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
}
.rate-line .label {
    text-transform: uppercase;
    color: #666;
}
.rate-line .value {
    color: #1a1a1a;
}

/* Accordion */
.accordion {
    background: #fff;
    border-radius: 12px;

    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
}
.accordion i {
    font-size: 12px;
}
summary {
    cursor: pointer;
    padding: 16px;
    font-size: 14px;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
summary::-webkit-details-marker {
    display: none;
}
.accordion-content {
    padding: 12px 16px 16px;
    font-size: 14px;
    color: #555;
}
.fa {
    transition: transform 0.3s ease;
}

/* Contact Form */
.my-contact-form {
    margin-top: 20px;
}
.my-label {
    display: block;
    margin: 15px 0 5px;
}
.my-input,
.my-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.my-textarea {
    height: 120px;
}
.my-button {
    margin-top: 15px;
    background-color: #c39a3b;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.my-button:hover {
    background-color: #a8822f;
}
.my-contact-info {
    margin-top: 15px;
    line-height: 1.6;
}

/* Table */
.table-calc table {
    font-size: 14px;
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff;
 }
.table-calc th {
    border: none;
    padding: 8px 10px;
    text-align: right;
    border-bottom: 1px solid #eee;
}
.table-calc td {
    border: none;
    padding: 10px 10px;
    border-bottom: 1px solid #eee;
    text-align: right;
}
.table-calc thead {
    background-color: #fafafa;
}

@media screen and (max-width: 600px) {
    .table-calc table,
    .table-calc thead,
    .table-calc tbody,
    .table-calc th,
    .table-calc td,
    .table-calc tr {
        display: block;
    }
    .table-calc thead {
        display: none;
    }
    .table-calc tr {
        margin-bottom: 8px;
        border-radius: 5px;
        overflow: hidden;
    }
    .table-calc td {
        text-align: left;
        padding-left: 40%;
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
    }
    .table-calc td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: bold;
        color: #444;
    }
    .table-calc td[data-label="Market"] {
        background-color: #fafafa;
        font-weight: bold;
        color: #222;
    }
}