.commodity-hero-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 36px);
    margin: 24px 0 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.commodity-hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--hero-accent, var(--accent, #f4c95d));
}
.hero-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: baseline;
    margin-top: 18px;
}
.hero-main-price {
    font-size: clamp(36px, 4.5vw, 54px);
    font-weight: 850;
    letter-spacing: -.03em;
    line-height: 1;
    color: #fff;
}
.hero-main-price span {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 400;
    color: var(--muted);
    margin-left: 6px;
}
.price-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.badge-pill.is-positive {
    background: rgba(80, 216, 144, .15);
    color: #50d890;
    border: 1px solid rgba(80, 216, 144, .3);
}
.badge-pill.is-negative {
    background: rgba(255, 109, 120, .15);
    color: #ff6d78;
    border: 1px solid rgba(255, 109, 120, .3);
}
.badge-pill.is-neutral {
    background: rgba(255, 255, 255, .08);
    color: var(--muted);
    border: 1px solid var(--line);
}
.badge-symbol {
    background: rgba(255, 153, 80, .15);
    color: #ffb276;
    border: 1px solid rgba(255, 153, 80, .3);
}

.stat-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.stat-grid-3.is-30d,
.stat-grid-3 + .stat-grid-3 {
    margin-top: 12px;
    padding-top: 0;
    border-top: none;
}
.stat-box-mini {
    background: rgba(0, 0, 0, .25);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    transition: border-color .2s ease, background .2s ease;
}
.stat-box-mini:hover {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(0, 0, 0, .35);
}
.stat-box-mini span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}
.stat-box-mini strong {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.stat-box-mini strong small {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-left: 4px;
}

.commodities-each-page .hero {
    padding-bottom: 0;
}

.commodities-each-page .commodity-hero-card {
    margin: 20px 0 16px;
}

.commodities-each-page .commodity-quick-links-bar {
    margin-top: 0;
    margin-bottom: 0;
}

.commodities-each-page #market-analysis.section {
    padding-top: 18px;
}

.sidebar-sticky .ad-banner-slot {
    margin: 0;
    padding: 18px 16px;
}

.chart-container-box {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin: 0 0 32px;
}

/* Commodity Detail 30-Day SVG Chart (matching oil brand chart) */
.commodity-detail-plot-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    margin: 14px 0 8px;
}
.commodity-detail-svg-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: block;
}
.commodity-detail-tooltip {
    position: absolute;
    z-index: 30;
    transform: translate(-50%, -100%) translateY(-12px);
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    background: rgba(8, 14, 22, 0.95);
    border: 1px solid rgba(255, 159, 82, 0.55);
    border-radius: 9px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 159, 82, 0.25);
    white-space: nowrap;
    pointer-events: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.01em;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.commodity-detail-tooltip[data-align="start"] {
    transform: translate(0, -100%) translateY(-12px);
}
.commodity-detail-tooltip[data-align="end"] {
    transform: translate(-100%, -100%) translateY(-12px);
}
.commodity-detail-tooltip[hidden] {
    display: none;
}
.commodity-detail-point-group {
    outline: none;
    cursor: pointer;
}
.commodity-detail-hitarea {
    fill: transparent;
    stroke: transparent;
    cursor: pointer;
}
.commodity-detail-dot {
    transition: r 0.18s ease, stroke-width 0.18s ease, fill 0.18s ease;
}
.commodity-detail-point-group:hover .commodity-detail-dot,
.commodity-detail-point-group:focus .commodity-detail-dot,
.commodity-detail-point-group.is-active .commodity-detail-dot {
    r: 6;
    fill: #ffd2ae !important;
    stroke: #101722;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 8px rgba(255, 159, 82, 0.9));
}
.editorial-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    margin-top: 36px;
}
@media (max-width: 980px) {
    .editorial-content-grid {
        grid-template-columns: 1fr;
    }
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
}
.specs-table th,
.specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.specs-table th {
    color: var(--muted);
    width: 35%;
    font-weight: 500;
}
.specs-table td {
    color: #fff;
    font-weight: 600;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
}
.history-table th {
    background: rgba(255, 255, 255, .04);
    padding: 10px 14px;
    color: var(--muted-2);
    text-align: left;
    border-bottom: 1px solid var(--line-strong);
}
.history-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    color: #fff;
}

.ad-banner-slot {
    margin: 32px 0;
    padding: 20px;
    border: 1px dashed rgba(255, 255, 255, .15);
    border-radius: 12px;
    background: rgba(255, 255, 255, .015);
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}

.article-body-section h2 {
    font-size: clamp(22px, 2.4vw, 30px);
    margin: 40px 0 16px;
    color: #fff;
    letter-spacing: -.02em;
}
.article-body-section h3 {
    font-size: 18px;
    margin: 28px 0 12px;
    color: #ffb276;
}
.article-body-section p {
    color: #cbd5e1;
    line-height: 1.85;
    margin-bottom: 18px;
}
.article-body-section ul {
    padding-left: 20px;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 22px;
}
.article-body-section li {
    margin-bottom: 8px;
}

.conversion-card {
    background: linear-gradient(145deg, rgba(255, 153, 80, .08), rgba(0, 0, 0, .2));
    border: 1px solid rgba(255, 153, 80, .25);
    border-radius: 14px;
    padding: 20px;
    margin: 24px 0;
}
.conversion-card h4 {
    margin: 0 0 12px;
    color: #ffd2ae;
    font-size: 16px;
}

.sidebar-sticky {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-widget {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}
.sidebar-widget h3 {
    margin: 0 0 16px;
    font-size: 16px;
    color: #fff;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}
.related-commodity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.related-commodity-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .03);
    text-decoration: none;
    color: #e2e8f0;
    font-size: 13px;
    transition: background .2s ease, transform .2s ease;
}
.related-commodity-list li a:hover {
    background: rgba(255, 153, 80, .12);
    color: #fff;
    transform: translateX(4px);
}
.related-commodity-list small {
    color: var(--muted);
}

/* References Section & Link Styling */
.references-section {
    margin-top: 48px;
    border-top: 1px solid var(--line);
    padding-top: 36px;
}
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 20px;
}
.reference-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    transition: transform .2s ease, border-color .2s ease;
}
.reference-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
}
.reference-card h3 {
    font-size: 15px;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.reference-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
}
.reference-card ul {
    padding-left: 18px;
    margin: 0;
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.7;
}
.reference-card li {
    margin-bottom: 8px;
}
.reference-card a {
    color: #ffd2ae;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}
.reference-card a:hover {
    color: #fff;
    text-decoration: underline;
}
.ref-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, .08);
    color: var(--muted-2);
    margin-right: 6px;
}
.specs-table a,
.conversion-card a {
    color: #ffd2ae;
    text-decoration: none;
    font-weight: 600;
}
.specs-table a:hover,
.conversion-card a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Daily Price Infographic Summary Card Section */
.commodity-daily-card-section {
    margin: 32px 0 28px;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.commodity-daily-card-section h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 750;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.commodity-daily-card-figure {
    margin: 0;
    text-align: center;
}
.commodity-daily-card-figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
    background: #0a0e14;
    transition: transform .3s ease, border-color .3s ease;
}
.commodity-daily-card-figure img:hover {
    border-color: rgba(255, 153, 80, .45);
    transform: translateY(-2px);
}
.commodity-daily-card-figure figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.daily-card-share-wrapper {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: center;
}
.daily-card-share-wrapper .social-share-bar {
    margin: 0 auto;
    justify-content: center;
}

