:root {
  --navy: #082746;
  --navy-2: #0d365e;
/*  --brand: #ad431c;*/
  --brand: #7e5141;
/*  --brand-dark: #843014;*/
  --brand-dark: #5a3a2e;
  --brand-hover: #f8fafc;
  --brand-soft: #fff3ec;
  --green: #138a48;
  --red: #d53b32;
  --ink: #10243e;
  --muted: #667587;
  --line: #dfe6ed;
  --surface: #ffffff;
  --page: #f5f8fb;
  --shadow: 0 6px 24px rgba(8, 39, 70, 0.06);
  --radius: 10px;
  --font-ui: "Inter", Arial, sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--brand);
}
button,
input,
select {
  font: inherit;
}
.site-container {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: 28px;
}

.utility-bar {
  background: var(--navy);
  color: #dbe8f3;
  font-size: 11px;
}
.utility-bar .site-container {
  min-height: 32px;
}
.utility-links,
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.utility-links a + a {
  position: relative;
}
.utility-links a + a::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 3px;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.28);
}
.utility-bar a:hover {
  color: #fff;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-grid {
  min-height: 104px;
  display: grid;
  grid-template-columns: 310px minmax(320px, 680px) auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 37px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--navy);
}
.brand-name span {
  color: var(--brand);
}
.brand small {
  margin-top: 5px;
  color: var(--navy);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.site-search {
  position: relative;
}
.site-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #728196;
}
.site-search input {
  width: 100%;
  height: 44px;
  padding: 0 18px 0 44px;
  border: 1px solid #ccd6df;
  border-radius: 8px;
  outline: none;
  background: #fbfcfd;
}
.site-search input:focus {
  border-color: var(--navy-2);
  box-shadow: 0 0 0 3px rgba(13, 54, 94, 0.08);
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  white-space: nowrap;
}
.login-link {
  font-weight: 600;
}
.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  padding: 10px 22px;
  font-weight: 600;
}
.btn-brand:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.main-nav {
  padding: 0;
  background: var(--brand);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.main-nav .nav-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  background: var(--brand-dark);
}

.page-content {
  padding-top: 18px;
  padding-bottom: 22px;
}

/* ==========================================================
   PEANUTINFO - LATEST UPDATES ANIMATED TICKER
   ========================================================== */

.updates-strip {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    background: #ffffff;
    border: 1px solid #dfe6ed;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(8, 39, 70, 0.05);
}

/* LEFT HEADING */

.updates-strip .updates-heading {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: stretch;
    flex-shrink: 0;
    padding: 0 16px;
    margin: 0;
    background: var(--brand);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.updates-heading .bi {
    font-size: 14px;
    color: #ffd47a;
}

/* SCROLLING AREA */

.updates-ticker {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding: 0;
}

/* REMOVE PREVIOUS SEPARATORS */

.updates-strip .updates-track,
.updates-strip .updates-track > span,
.updates-strip .latest-update-link {
    border: none !important;
}

.updates-strip .updates-track > span::before,
.updates-strip .updates-track > span::after,
.updates-strip .latest-update-link::before,
.updates-strip .latest-update-link::after {
    content: none !important;
    display: none !important;
}

/* ANIMATED TRACK */

.updates-strip .updates-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    max-width: none;
    min-width: 0;
    overflow: visible;
    white-space: nowrap;
/*    animation: peanutTicker 40s linear infinite;*/
    animation: none !important;
    transform: none !important;
}

/* SINGLE UPDATE */

.updates-strip .latest-update-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 10px 12px;
    margin: 0;
    color: #10243e;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

/* ONE SEPARATOR ONLY */

.updates-strip .latest-update-link::after {
    content: "";
    display: block !important;
    width: 1px;
    height: 17px;
    margin-left: 24px;
    background: #dfe6ed;
}

/* CATEGORY HIGHLIGHT */

.updates-strip .latest-update-category {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 4px;
    background: #fff3ec;
    color: #805341;
    font-size: 12px;
    font-weight: 700;
}

/* UPDATE TITLE */

.updates-strip .latest-update-title {
    color: var(--navy);
    font-size: 13px;
    font-weight: 400;
}

.updates-strip .latest-update-link:hover
.latest-update-title {
    color: #805341;
}

/* PAUSE ON HOVER */

.updates-strip:hover .updates-track,
.updates-strip:focus-within .updates-track {
    animation-play-state: paused;
}

/* RIGHT VIEW ALL */

.updates-strip .updates-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: stretch;
    flex-shrink: 0;
    padding: 0 15px;
    background: #ffffff;
    border-left: 1px solid #dfe6ed;
    color: #805341;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    z-index: 2;
}

.updates-strip .updates-view-all:hover {
    background: #fff3ec;
}

/* ANIMATION */

@keyframes peanutTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* MOBILE */

@media (max-width: 767px) {

    .updates-strip .updates-heading {
        padding: 0 10px;
        font-size: 11px;
    }

    .updates-strip .latest-update-link {
        padding: 10px 15px;
    }

    .updates-strip .updates-view-all {
        padding: 0 10px;
        font-size: 12px;
    }

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .updates-strip .updates-track {
        animation: none;
    }

    .updates-strip .updates-ticker {
        overflow-x: auto;
    }
}



.dashboard-grid {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.dashboard-grid-top {
    grid-template-columns: minmax(0, 0.92fr)
                           minmax(0, 2.05fr)
                           minmax(0, 1.11fr);
    align-items: start;
}


.dashboard-grid-top > * {
    min-width: 0;
    margin-bottom: 0;
}

.dashboard-grid-top .panel {
    margin-bottom: 0;
}


.dashboard-grid-middle {
  grid-template-columns: 1.2fr 1.1fr 0.9fr;
}
.dashboard-grid-lower {
  grid-template-columns: 1.2fr 1.1fr 0.85fr;
}
.panel {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}
.section-heading h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.section-heading a {
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.section-heading select {
  max-width: 220px;
}

.news-list {
  display: grid;
  gap: 0;
}
.news-item {
  /*display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #edf1f5;*/
  display: block;
    padding: 10px 0;
    border-bottom: 1px solid #edf1f5;
}
.news-item:last-child {
  border-bottom: 0;
}
.news-thumb {
  height: 58px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f5d7a2, #a8682d);
  font-size: 28px;
}
.news-item h3 {
  margin: 0 0 4px;
  font-size: 12px;
/*  line-height: 1.35;*/
  line-height: 1.44;
  font-weight: 700;
}
.news-item time {
  color: var(--muted);
  font-size: 10px;
}

/* ==========================================================================
   MARKET HIGHLIGHTS
   ========================================================================== */

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.highlight-card {
    min-width: 0;
    width: 100%;
    padding: 14px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    overflow: hidden;
}

.highlight-card h3 {
    margin: 0 0 0px;
/*    min-height: 32px;*/
    color: var(--navy);
    font-size: 10px;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.highlight-value {
    width: 100%;
    margin-bottom: 4px;
    color: var(--navy);
    font-size: clamp(15px, 1.35vw, 21px);
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.highlight-unit {
    display: block;
/*    margin-bottom: 8px;*/
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.highlight-card .change {
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
    white-space: nowrap;
}

.highlight-card .change.up {
    color: var(--green);
}

.highlight-card .change.down {
    color: var(--red);
}

.highlight-card .change.neutral {
    color: var(--muted);
}


/* ==========================================================================
   HOMEPAGE - MARKET HIGHLIGHTS (FOUR SEGMENTS)
   ========================================================================== */

.market-highlights .highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.market-highlights .highlight-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 124px;
    padding: 11px 10px;
    color: var(--navy);
    text-decoration: none;
}

.market-highlights .highlight-card:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.market-highlights .highlight-card h3 {
    margin: 0 0 9px;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
}

.highlight-heading-label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
}

.highlight-market-name {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.market-highlights .highlight-value {
    margin-bottom: 3px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
}

.market-highlights .highlight-unit {
    font-size: 9px;
}

.market-highlights .change {
    margin-top: auto;
    padding-top: 8px;
    font-size: 10px;
    font-weight: 700;
}

.highlight-info-content {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    margin-top: 5px;
}

.highlight-info-icon {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 25px;
}

.highlight-info-content > div {
    min-width: 0;
}

.highlight-info-content strong {
    display: block;
    color: var(--navy);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
}

.highlight-info-content p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.highlight-news-title {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.highlight-more {
    display: block;
    margin-top: auto;
    padding-top: 9px;
    color: var(--brand);
    font-size: 10px;
    font-weight: 700;
}

.highlight-no-data {
    margin-top: 12px;
    color: var(--muted);
    font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 1199.98px) {
    .market-highlights .highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .market-highlights .highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .market-highlights .highlight-card {
        min-height: 125px;
        padding: 9px 8px;
    }

    .market-highlights .highlight-card h3 {
        font-size: 9px;
    }

    .market-highlights .highlight-value {
        font-size: 17px;
    }

    .highlight-info-icon {
        flex-basis: 24px;
        font-size: 20px;
    }

    .highlight-info-content strong {
        font-size: 10px;
    }

    .highlight-heading-label {
        display: none;
    }
}


/* ==========================================================================
   MARKET HIGHLIGHTS - WEATHER ALERT
   ========================================================================== */

.highlight-weather-country {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 6px 0 9px;
}

.highlight-weather-flag {
    display: block;
    width: 26px;
    height: 18px;
    flex: 0 0 26px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 2px;
}

.highlight-weather-country strong {
    color: var(--navy);
    font-family: var(--font-ui);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
}

.highlight-weather-details {
    min-width: 0;
}

.highlight-weather-stage {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--navy);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 600;
}

.highlight-weather-details p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .highlight-weather-country {
        gap: 6px;
        margin: 5px 0 7px;
    }

    .highlight-weather-flag {
        width: 23px;
        height: 16px;
        flex-basis: 23px;
    }

    .highlight-weather-country strong {
        font-size: 10px;
    }

    .highlight-weather-stage,
    .highlight-weather-details p {
        font-size: 9px;
    }
}

/* ==========================================================================
   MARKET HIGHLIGHTS - RESPONSIVE
   ========================================================================== */

@media (max-width: 1199.98px) {
    .highlight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .highlight-value {
        font-size: 19px;
    }
}

@media (max-width: 767.98px) {
    .highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .highlight-card {
        padding: 13px 12px;
    }

    .highlight-card h3 {
        min-height: 0;
        font-size: 10px;
    }

    .highlight-value {
        font-size: 19px;
    }
}

@media (max-width: 479.98px) {
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .highlight-card {
        padding: 14px 15px;
    }

    .highlight-card h3 {
        font-size: 11px;
    }

    .highlight-value {
        font-size: 20px;
    }
}
.change {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
}
.change.up {
  color: var(--green);
}
.change.down {
  color: var(--red);
}
.sparkline {
  width: 100%;
  height: 42px;
  margin-top: 9px;
}

.crop-list {
  display: grid;
  gap: 3px;
}
.crop-item {
  display: grid;
  grid-template-columns: 38px 76px 1fr 14px;
  align-items: center;
  gap: 8px;
  min-height: 55px;
  padding: 7px 0;
  border-bottom: 1px solid #edf1f5;
}
.crop-item:last-child {
  border-bottom: 0;
}
.country-flag {
  font-size: 22px;
}
.crop-item strong {
  font-size: 11px;
}
.crop-item p {
  margin: 0;
  color: #43556a;
  font-size: 10px;
  line-height: 1.35;
}
.crop-item i {
  color: var(--brand);
}

.tab-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  background: #edf1f5;
}
.tab-buttons.compact {
  grid-template-columns: repeat(4, 1fr);
}
.tab-buttons button {
  border: 0;
  padding: 8px 10px;
  background: transparent;
  color: #405168;
  font-size: 10px;
  font-weight: 650;
}
.tab-buttons button.active {
  background: var(--brand);
  color: #fff;
}
.market-table {
  margin: 0;
  font-size: 11px;
  white-space: nowrap;
}
.market-table > :not(caption) > * > * {
  padding: 0.43rem 0.42rem;
  border-color: #e5ebf0;
}
.market-table thead th {
  background: #f2f5f8;
  color: #32465d;
  font-weight: 700;
}
/* ==========================================================================
   PEANUT PRICES - DAILY / WEEKLY TABS
   ========================================================================== */

.price-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
}

.price-tabs-int {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
}

.price-tab {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #f3f5f7;
    color: var(--navy);
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.price-tab span {
    font-size: 10px;
    font-weight: 500;
}

.price-tab:hover {
    border-color: var(--brand);
}

.price-tab.active {
    border-color: var(--brand);
    background: var(--brand);
    color: #ffffff;
}

.price-tab-content {
    display: none;
}

.price-tab-content.active {
    display: block;
}

.peanut-prices-panel .table-responsive {
    width: 100%;
    overflow-x: auto;
}

.peanut-prices-panel .market-table {
    width: 100%;
/*    min-width: 760px;*/
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .price-tabs {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .price-tab {
        padding: 9px 10px;
        font-size: 11px;
    }

    .price-tab span {
        font-size: 9px;
    }
}


/* ==========================================================================
   INTERNATIONAL PEANUT PRICES - HOMEPAGE
   ========================================================================== */

.international-prices-panel .price-tabs {
    margin-bottom: 12px;
}

.international-prices-panel .price-tab {
    min-width: 0;
    padding: 10px 8px;
    font-size: 11px;
}

.international-prices-panel .price-tab span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
}

.international-prices-panel .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}



.international-weekly-placeholder {
    display: flex;
    min-height: 225px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    color: var(--muted);
    text-align: center;
}

.international-weekly-placeholder i {
    color: var(--brand);
    font-size: 28px;
}

.international-weekly-placeholder p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
}

.international-prices-panel .section-heading a[hidden] {
    display: none;
}

@media (max-width: 575.98px) {
    .international-prices-panel .price-tab {
        padding: 9px 6px;
        font-size: 10px;
    }
}


/* INTERNATIONAL WEEKLY - SINGLE LINE DATE HEADINGS */

.international-prices-panel .market-table thead th {
    white-space: nowrap;
    vertical-align: middle;
}

.international-prices-panel .market-table thead th .weekly-price-date {
    display: inline;
}


/* ==========================================================================
   INTERNATIONAL WEEKLY PRICES - TABLE DATES
   ========================================================================== */

.international-prices-panel .weekly-price-date {
    display: block;
    margin-top: 3px;
    color: inherit;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 500;
    white-space: nowrap;
}


/* ==========================================================================
   PEANUT PRICES - FULL PAGE
   ========================================================================== */

.peanut-prices-page-panel {
    margin-bottom: 14px;
}

.peanut-price-page-tabs {
    max-width: 620px;
}

.peanut-price-page-tabs .price-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.peanut-price-page-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.peanut-price-page-table .market-table {
    width: 100%;
    min-width: 900px;
}

.peanut-price-page-table .market-table th,
.peanut-price-page-table .market-table td {
    vertical-align: middle;
}

.modal-price-cell {
    color: var(--navy);
    font-weight: 700;
}


/* ==========================================================================
   PEANUT PRICE PAGINATION
   ========================================================================== */

.peanut-price-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding-top: 18px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
}

.peanut-price-pagination a,
.peanut-price-pagination span {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--surface);
    color: var(--navy);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.peanut-price-pagination a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.peanut-price-pagination a.active {
    border-color: var(--brand);
    background: var(--brand);
    color: #ffffff;
}

.peanut-price-pagination span {
    min-width: 24px;
    padding: 0 3px;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
}


/* ==========================================================================
   PEANUT PRICES PAGE - RESPONSIVE
   ========================================================================== */

@media (max-width: 767.98px) {

    .peanut-price-page-tabs {
        max-width: 100%;
    }

    .peanut-price-page-table .market-table {
        min-width: 820px;
    }
}

@media (max-width: 575.98px) {

    .peanut-price-pagination {
        gap: 4px;
    }

    .peanut-price-pagination a,
    .peanut-price-pagination span {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        font-size: 10px;
    }
}

/* ==========================================================================
   PRICE DATA PAGES - DAILY / WEEKLY / INTERNATIONAL
   ========================================================================== */

.price-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 14px;
    align-items: start;
}

.price-page-main {
    min-width: 0;
    margin: 0;
}

.price-page-sidebar {
    min-width: 0;
}

.price-page-sidebar .panel {
    margin: 0;
}

.price-page-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.price-page-table {
    width: 100%;
    min-width: 850px;
    margin-bottom: 0;
}

.price-page-table th,
.price-page-table td {
    vertical-align: middle;
}

.price-page-modal {
    color: var(--navy);
    font-weight: 700;
}


/* ==========================================================================
   PRICE DATA SIDEBAR
   ========================================================================== */

.price-navigation-panel {
    overflow: hidden;
    padding: 0;
}

.price-navigation-heading {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.price-navigation-heading h2 {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.price-navigation {
    display: flex;
    flex-direction: column;
}

.price-navigation > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.price-navigation > a:last-child {
    border-bottom: 0;
}

.price-navigation > a > span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
/*    gap: 0px;*/

    min-width: 0;
}

.price-navigation > a > span i {
    width: 15px;
    margin-top: 2px;
    flex: 0 0 15px;
    text-align: center;
    color: var(--brand);
}

.price-navigation > a > i {
    flex: 0 0 auto;
    font-size: 9px;
    color: var(--muted);
}

.price-navigation > a:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.price-navigation > a.active {
    background: var(--brand);
    color: #ffffff;
}

.price-navigation > a.active > span i,
.price-navigation > a.active > i {
    color: #ffffff;
}



/* ==========================================================================
   PRICE DATA PAGES - RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {

    .price-page-layout {
        grid-template-columns: minmax(0, 1fr) 210px;
        gap: 12px;
    }

    .price-navigation-heading h2 {
        font-size: 18px;
    }

    .price-navigation > a {
        padding: 12px;
        font-size: 11px;
    }
}

@media (max-width: 767.98px) {

    .price-page-layout {
        grid-template-columns: 1fr;
    }

    .price-page-sidebar {
        width: 100%;
    }

    .price-navigation {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .price-navigation > a {
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .price-navigation > a:last-child {
        border-right: 0;
    }

    .price-navigation > a > i {
        display: none;
    }

    .price-page-table {
        min-width: 800px;
    }
}

@media (max-width: 575.98px) {

    .price-navigation {
        grid-template-columns: 1fr;
    }

    .price-navigation > a {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .price-navigation > a:last-child {
        border-bottom: 0;
    }

    .price-navigation > a > i {
        display: block;
    }
}

/* ==========================================================================
   PRICE MARKET TABLE - DAILY / WEEKLY
   ========================================================================== */

.price-page-table-wrap {
    overflow-x: auto;
    border: 1px solid #dce4eb;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(8, 39, 70, 0.05);
    -webkit-overflow-scrolling: touch;
}

.price-market-table {
    width: 100%;
    min-width: 900px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--font-ui);
}


/* TABLE HEADER */

.price-market-table thead th {
    padding: 12px 14px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--navy);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.price-market-table thead th:first-child {
    padding-left: 16px;
}

.price-market-table thead th:last-child {
    border-right: 0;
}


/* TABLE ROW */

.price-market-table tbody td {
    padding: 11px 14px;
    border: 0;
    border-bottom: 1px solid #e7edf2;
    background: #ffffff;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.35;
    vertical-align: middle;
}

.price-market-table tbody tr:last-child td {
    border-bottom: 0;
}

.price-market-table tbody tr {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.price-market-table tbody tr:hover td {
    background: #fbfcfd;
}


/* DATE */

.price-date-cell {
    width: 82px;
    white-space: nowrap;
}

.price-date-day {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    border-radius: 6px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 800;
    vertical-align: middle;
}

.price-date-month {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    vertical-align: middle;
}


/* STATE */

.price-state {
    color: #44566c;
    font-weight: 500;
}


/* MARKET */

.price-market-name {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}


/* VARIETY */

.price-variety-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border: 1px solid #e2e7ec;
    border-radius: 20px;
    background: #f7f9fb;
    color: #435469;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}


/* ARRIVALS */

.price-arrival-cell {
    white-space: nowrap;
}

.price-arrival-cell strong {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.price-arrival-cell small {
    margin-left: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
}


/* PRICE CELLS */

.price-value-cell {
    min-width: 92px;
    white-space: nowrap;
}

.price-value-cell small {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.price-value-cell strong {
    display: block;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}


/* MIN */

.price-min small {
    color: var(--muted);
}

.price-min strong {
    color: #40536a;
}


/* MAX */

.price-max small {
    color: var(--brand);
}

.price-max strong {
    color: var(--brand-dark);
}


/* MODAL - PRIMARY MARKET PRICE */

.price-modal {
    position: relative;
    background: #f5f9f7 !important;
    border-left: 3px solid var(--green) !important;
}

.price-modal small {
    color: var(--green);
}

.price-modal strong {
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
}


/* EMPTY DATA */

.price-empty {
    color: #9aa7b4;
}


/* ==========================================================================
   PRICE TABLE - TABLET
   ========================================================================== */

@media (max-width: 991.98px) {

    .price-market-table {
        min-width: 850px;
    }

    .price-market-table thead th,
    .price-market-table tbody td {
        padding-left: 11px;
        padding-right: 11px;
    }
}


/* ==========================================================================
   PRICE TABLE - MOBILE
   ========================================================================== */

@media (max-width: 575.98px) {

    .price-page-table-wrap {
        border-radius: 8px;
    }

    .price-market-table {
        min-width: 800px;
    }

    .price-market-table thead th {
        padding: 10px;
        font-size: 10px;
    }

    .price-market-table tbody td {
        padding: 9px 10px;
        font-size: 10px;
    }

    .price-date-day {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .price-value-cell strong {
        font-size: 10px;
    }

    .price-modal strong {
        font-size: 10px;
    }

    .price-market-name {
      font-size: 10px;
    }

    .price-variety-badge {
      font-size: 10px;
    }

    .price-date-month {
      font-size: 10px;
    }

    .price-arrival-cell strong {
      font-size: 10px;
    }
}


.data-note {
  color: var(--muted);
  font-size: 9px;
  padding-top: 8px;
}

.period-switch {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin: -3px 0 5px;
}
.period-switch button {
  min-width: 36px;
  border: 0;
  border-radius: 5px;
  padding: 5px 7px;
  background: #f0f3f6;
  color: #56667a;
  font-size: 9px;
}
.period-switch button.active {
  background: var(--navy);
  color: #fff;
}
.chart-container {
  position: relative;
  height: 245px;
}
.chart-small {
  height: 190px;
}
.indicator-table td:nth-child(3) {
  font-weight: 700;
  color: var(--navy);
}

.trade-panel h3 {
  margin: 10px 0 2px;
  font-size: 12px;
  color: var(--navy);
}
.trade-panel h3 span {
  color: var(--muted);
  font-weight: 500;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.feature-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: start;
}
.feature-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef4fb;
  color: var(--navy);
  font-size: 17px;
}
.feature-item h3 {
  margin: 0 0 2px;
  font-size: 11px;
}
.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}
.nutrition-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 12px;
  min-height: 178px;
}
.nutrition-visual {
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f8d7a0, #f4eee6);
  font-size: 70px;
}
.nutrition-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: center;
}
.nutrition-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
}
.nutrition-item i {
  color: var(--brand);
  font-size: 18px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.45fr;
  gap: 12px;
  margin-top: 14px;
}
.resource-card,
.subscribe-card {
  min-width: 0;
  min-height: 128px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.resource-card > i {
  color: var(--navy);
  font-size: 36px;
}
.resource-card h3,
.subscribe-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 12px;
  text-transform: uppercase;
}
.resource-card p,
.subscribe-card p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 10px;
}
.resource-card a {
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
}
.subscribe-card {
  display: block;
  background: var(--brand-soft);
}
.subscribe-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.subscribe-form .form-control {
  font-size: 11px;
}
.subscribe-form .btn {
  padding: 8px 14px;
  font-size: 11px;
}


@media (max-width: 1399.98px) {
  .site-container {
    padding-inline: 20px;
  }
  .main-nav .nav-link {
    font-size: 10px;
  }
  .dashboard-grid-top,
  .dashboard-grid-middle,
  .dashboard-grid-lower {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-grid-top > :last-child,
  .dashboard-grid-middle > :last-child,
  .dashboard-grid-lower > :last-child {
    grid-column: 1 / -1;
  }
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .subscribe-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1199.98px) {
  .main-nav {
    padding: 7px 0;
  }
  .main-nav .nav-fill {
    display: block;
    padding-top: 8px;
  }
  .main-nav .nav-link {
    justify-content: flex-start;
    min-height: 40px;
    padding-inline: 14px !important;
  }
  .header-grid {
    grid-template-columns: 260px 1fr auto;
  }
  .brand-name {
    font-size: 32px;
  }
}

@media (max-width: 991.98px) {
  .header-grid {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .site-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .dashboard-grid-top,
  .dashboard-grid-middle,
  .dashboard-grid-lower {
    grid-template-columns: 1fr;
  }
  .dashboard-grid-top > :last-child,
  .dashboard-grid-middle > :last-child,
  .dashboard-grid-lower > :last-child {
    grid-column: auto;
  }
}

/* ==========================================================================
   HOMEPAGE CENTER MARKET AREA
   ========================================================================== */

.dashboard-center-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.dashboard-center-column > .panel {
    min-width: 0;
    margin: 0;
}

/* ==========================================================================
   HOMEPAGE LEFT / CENTER / RIGHT COLUMNS
   ========================================================================== */

.dashboard-left-column,
.dashboard-center-column,
.dashboard-right-column {
    min-width: 0;
    align-self: start;
}

.dashboard-left-column,
.dashboard-right-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-left-column > .panel,
.dashboard-right-column > .panel {
    min-width: 0;
    margin: 0;
}

/* ==========================================================================
   INDIA AND INTERNATIONAL PEANUT PRICES
   ========================================================================== */

.dashboard-market-data-grid {
    display: grid;
/*    grid-template-columns: 1fr 1fr;*/
/*    grid-template-columns: 1.05fr 0.95fr;*/
grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
}

.dashboard-market-data-grid > .panel {
    min-width: 0;
    width: 100%;
    margin: 0;
}

.dashboard-market-data-grid .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Keep heading and View All link on one line */

.dashboard-market-data-grid .section-heading {
    gap: 6px;
}

.dashboard-market-data-grid .section-heading h2 {
    font-size: 14px;
    line-height: 1.3;
}

.dashboard-market-data-grid .section-heading a {
    font-size: 10px;
}

/* Compact homepage price tabs */

.dashboard-market-data-grid .price-tab {
    padding: 8px 5px;
    font-size: 10px;
    line-height: 1.3;
}

.dashboard-market-data-grid .price-tab span {
    font-size: 9px;
}

.dashboard-market-data-grid .price-tabs {
    gap: 5px;
}

/* ==========================================================================
   HOMEPAGE GRID RESPONSIVE
   ========================================================================== */

@media (max-width: 1199.98px) {

    .dashboard-grid-top {
        grid-template-columns: 1fr 1.5fr;
    }

    /*.dashboard-grid-top > section:last-child {
        grid-column: 1 / -1;
    }*/

    .dashboard-right-column {
      grid-column: 1 / -1;
  }
}


@media (max-width: 991.98px) {

    .dashboard-grid-top {
        grid-template-columns: 1fr;
    }

    /*.dashboard-grid-top > section:last-child {
        grid-column: auto;
    }*/
    .dashboard-right-column {
      grid-column: auto;
    }

    .dashboard-market-data-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 767.98px) {

    .dashboard-grid-top {
        grid-template-columns: 1fr;
    }

    .dashboard-market-data-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-left-column,
    .dashboard-center-column,
    .dashboard-right-column {
        gap: 8px;
    }

    .dashboard-market-data-grid {
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
  body {
    font-size: 13px;
  }
  .site-container {
    padding-inline: 14px;
  }
  .utility-links a:nth-child(n + 3) {
    display: none;
  }
  .header-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .header-actions {
    justify-content: flex-start;
  }
  .site-search {
    grid-column: auto;
    grid-row: auto;
  }
  .updates-strip {
    grid-template-columns: auto 1fr;
    padding-right: 0;
  }
  .updates-strip > a {
    display: none;
  }
  .updates-track span {
    padding: 0 14px;
  }
  .highlight-grid {
    grid-template-columns: 1fr 1fr;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .subscribe-card {
    grid-column: auto;
  }
}

@media (max-width: 575.98px) {
  .brand-name {
    font-size: 30px;
  }
  .utility-links {
    gap: 12px;
  }
  .social-links span {
    display: none;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  .highlight-card {
    min-height: 130px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .nutrition-card {
    grid-template-columns: 1fr;
  }
  .nutrition-visual {
    min-height: 115px;
  }
  .tab-buttons.compact {
    grid-template-columns: 1fr 1fr;
  }
  .chart-container {
    height: 220px;
  }
  .subscribe-form {
    grid-template-columns: 1fr;
  }
}

/* ---------- Inner pages ---------- */
.inner-page {
  padding-top: 22px;
  padding-bottom: 42px;
}
.page-titlebar {
  background: linear-gradient(135deg, #fff8f1, #fff);
  border: 1px solid #eadfd5;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 18px;
}
.page-titlebar .eyebrow {
  color: #ad431c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.75rem;
}
.page-titlebar h1 {
  color: #082a52;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  margin: 0.25rem 0 0.4rem;
}
.page-titlebar p {
  color: #5e6b78;
  max-width: 850px;
  margin: 0;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.75fr);
  gap: 18px;
}
.content-card {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px rgba(10, 35, 64, 0.035);
}
.content-card h2 {
  font-size: 1.05rem;
  color: #082a52;
  font-weight: 750;
  margin-bottom: 14px;
}
.content-card h3 {
  font-size: 0.95rem;
  color: #173b62;
  font-weight: 700;
}
.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.clean-list li {
  padding: 11px 0;
  border-bottom: 1px solid #edf1f5;
}
.clean-list li:last-child {
  border-bottom: 0;
}
.meta {
  color: #7b8794;
  font-size: 0.78rem;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.topic-card {
  border: 1px solid #e7ebef;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}
.topic-card i {
  color: #ad431c;
  font-size: 1.4rem;
}
.topic-card h3 {
  margin: 0.55rem 0 0.3rem;
}
.sidebar-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: #173b62;
  text-decoration: none;
  border-bottom: 1px solid #edf1f5;
  font-weight: 600;
  font-size: 0.86rem;
}
.sidebar-links a:hover {
  color: #ad431c;
}
.page-table th {
  background: #f5f7f9;
  color: #173b62;
  white-space: nowrap;
}
.page-table td,
.page-table th {
  font-size: 0.82rem;
  vertical-align: middle;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.filter-bar .form-select,
.filter-bar .form-control {
  max-width: 220px;
}
.article-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #edf1f5;
}
.article-thumb {
  min-height: 78px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f2c48f, #b95b2c);
  display: grid;
  place-items: center;
  font-size: 2rem;
}
.badge-soft {
  background: #fff1e8;
  color: #9b3c19;
  border: 1px solid #f1d4c4;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
}
@media (max-width: 991.98px) {
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .page-titlebar {
    padding: 18px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .article-row {
    grid-template-columns: 76px 1fr;
  }
  .site-search {
    display: none;
  }
}

/* PHP/CMS additions */
.page-hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 24px 12px 24px;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 6px;
}
.page-hero p {
  margin-bottom: 0px;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.content-card h3 {
  font-size: 16px;
  color: var(--navy);
}
.content-card .meta {
  font-size: 11px;
  color: var(--muted);
}
.content-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 10px;
}
.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--muted);
}
.alert-demo {
  font-size: 11px;
  color: #805b00;
  background: #fff8d9;
  border: 1px solid #f0df9a;
  border-radius: 7px;
  padding: 8px 12px;
  margin-bottom: 12px;
}
.site-logo-img {
  max-height: 68px;
  max-width: 290px;
  object-fit: contain;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.article-body {
  font-size: 15px;
  line-height: 1.8;
}
.article-body img {
  max-width: 100%;
}
@media (max-width: 991px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .header-grid {
    grid-template-columns: 1fr auto;
  }
  .site-search {
    grid-column: 1/-1;
    grid-row: 2;
  }
}
@media (max-width: 600px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .site-container {
    padding-inline: 14px;
  }
  .header-grid {
    display: flex;
    flex-wrap: wrap;
    padding-block: 14px;
  }
  .site-search {
    order: 3;
    width: 100%;
  }
  .site-logo-img {
    max-width: 220px;
  }
  .utility-links a:nth-child(n + 3) {
    display: none;
  }
}
/* ==========================================================================
   HEADER RESPONSIVE FIX
   ========================================================================== */

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.peanutsinfo-logo {
    display: block;
    width: 300px;
    height: 80px;
    object-fit: contain;
}


/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 991.98px) {

    .peanutsinfo-logo {
        width: 220px;
        height: 60px;
    }
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 575.98px) {

    .peanutsinfo-logo {
        width: 145px;
        height: 48px;
        object-fit: contain;
        object-position: left center;
    }
}


/* ==========================================================================
   Small Mobile
   ========================================================================== */

@media (max-width: 399.98px) {

    .peanutsinfo-logo {
        width: 125px;
        height: 44px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-main {
    margin-top: 0;
    padding: 45px 0 0;
    background: var(--navy);
    color: #c7d4e0;
}

.footer-main .row {
    align-items: flex-start;
}


/* ==========================================================================
   Footer Brand
   ========================================================================== */

.footer-brand {
    max-width: 370px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo {
    display: block;
    width: 170px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.footer-description {
    max-width: 350px;
    margin: 0 0 20px;
    color: #b8c7d6;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
}


/* ==========================================================================
   Footer Headings
   ========================================================================== */

.footer-main h4 {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 9px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.footer-main h4::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--brand);
    content: "";
}


/* ==========================================================================
   Footer Links
   ========================================================================== */

.footer-main .col-lg-2 > a,
.footer-main .col-lg-3 > a {
    display: block;
    width: fit-content;
    margin: 0 0 9px;
    color: #c7d4e0;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-main .col-lg-2 > a:hover,
.footer-main .col-lg-3 > a:hover {
    color: #ffffff;
}


/* ==========================================================================
   Footer Social
   ========================================================================== */

.footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.footer-social a:hover {
    border-color: var(--brand);
    background: var(--brand);
    color: #ffffff;
}


/* ==========================================================================
   Footer Contact
   ========================================================================== */

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #c7d4e0;
    font-size: 12px;
    line-height: 1.5;
}

.footer-contact-item i {
    flex-shrink: 0;
    color: #ffffff;
    font-size: 14px;
}

.footer-contact-item a {
    display: inline;
    margin: 0;
    color: #c7d4e0;
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: #ffffff;
}

.footer-subscribe {
    display: inline-flex !important;
    width: auto !important;
    align-items: center;
    gap: 7px;
    margin: 5px 0 0 !important;
    padding: 0;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600;
    text-decoration: none;
}

.footer-subscribe:hover {
    color: #e9855d !important;
}


/* ==========================================================================
   Footer Bottom
   ========================================================================== */

.footer-bottom {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 35px;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-copyright {
    margin: 0;
    color: #9fb1c3;
    font-size: 11px;
    line-height: 1.5;
}

.footer-legal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
}

.footer-legal a {
    display: inline-block;
    width: auto;
    margin: 0;
    color: #9fb1c3;
    font-size: 11px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.footer-legal a:hover {
    color: #ffffff;
}


/* ==========================================================================
   Footer - Tablet
   ========================================================================== */

@media (max-width: 991.98px) {

    .footer-main {
        padding-top: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-description {
        max-width: 420px;
    }

    .footer-bottom {
        margin-top: 30px;
    }
}


/* ==========================================================================
   Footer - Mobile
   ========================================================================== */

@media (max-width: 767.98px) {

    .footer-main {
        padding-top: 35px;
    }

    .footer-logo {
        width: 150px;
    }

    .footer-description {
        max-width: 100%;
        margin-bottom: 18px;
        font-size: 12px;
    }

    .footer-main h4 {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .footer-main .col-lg-2 > a,
    .footer-main .col-lg-3 > a,
    .footer-contact-item {
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 28px;
    }

    .footer-legal {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 16px;
    }
}


/* ==========================================================================
   Footer - Small Mobile
   ========================================================================== */

@media (max-width: 575.98px) {

    .footer-main {
        padding-top: 32px;
    }

    .footer-logo {
        width: 145px;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
    }

    .footer-bottom {
        padding: 15px 0;
    }

    .footer-copyright,
    .footer-legal a {
        font-size: 10px;
    }
}


/* ==========================================================================
   NEWS ARTICLE PAGE
   ========================================================================== */

.news-page-hero {
    margin-bottom: 22px;
}

/* ==========================================================================
   NEWS PAGE HERO
   Protects the page heading from imported article HTML styles
   ========================================================================== */

.news-page-hero h1 {
    margin: 0 0 6px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
}

.news-page-hero p {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.article-main {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.article-header {
/*    padding: 28px 30px 24px;*/
    padding: 12px 24px 12px 24px;
    border-bottom: 1px solid var(--line);
}

.article-category {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--brand);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-header h1 {
    margin: 0 0 14px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 12px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta i {
    color: var(--brand);
}

.article-description {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.article-document {
    padding: 30px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.article-document img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}

.article-document table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.article-document iframe,
.article-document video {
    max-width: 100%;
}

.article-sidebar {
    min-width: 0;
}

.recent-news-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* ==========================================================================
   ARTICLE PAGE - RECENT NEWS
   ========================================================================== */

.recent-news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 18px;
    border-bottom: 3px solid var(--brand);
}

.recent-news-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.recent-news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    color: var(--brand);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
}

.recent-news-view-all:hover {
    color: var(--brand-dark);
}

.recent-news-list {
    padding: 0 18px;
}

.recent-news-item {
    padding: 16px 0;
    border-bottom: 1px solid #edf1f5;
}

.recent-news-item:last-child {
    border-bottom: 0;
}

.recent-news-item.active {
    border-left: 3px solid var(--brand);
    padding-left: 12px;
}

.recent-news-category {
    margin-bottom: 5px;
    color: var(--brand);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
}

.recent-news-item h3 {
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.recent-news-item h3 a {
    color: var(--ink);
    text-decoration: none;
}

.recent-news-item h3 a:hover {
    color: var(--brand);
}

.recent-news-item time {
    color: var(--muted);
    font-size: 10px;
}

.recent-news-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    background: var(--page);
}

.recent-news-pagination > div {
    min-width: 90px;
}

.recent-news-pagination > div:last-child {
    text-align: right;
}

.recent-news-pagination a {
    color: var(--navy);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
}

.recent-news-pagination a:hover {
    color: var(--brand);
}



/* ==========================================================================
   NEWS ARTICLE PAGE - RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .article-main,
    .article-sidebar {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .article-sidebar {
        position: static;
    }

    .recent-news-panel {
        width: 100%;
        max-width: 100%;
    }

    .recent-news-list {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .article-header {
        padding: 22px 20px;
    }

    .article-header h1 {
        font-size: 27px;
    }

    .article-document {
        width: 100%;
        max-width: 100%;
        padding: 22px 20px;
        overflow-x: auto;
    }

    .article-document img,
    .article-document iframe,
    .article-document video {
        max-width: 100%;
        height: auto;
    }

    .article-document table {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .news-page-hero h1 {
        font-size: 30px;
    }

    .news-page-hero p {
        font-size: 13px;
    }

    .article-layout {
        gap: 18px;
    }

    .article-header {
        padding: 18px 15px;
    }

    .article-header h1 {
        font-size: 23px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .article-description {
        font-size: 13px;
    }

    .article-document {
        padding: 18px 15px;
        font-size: 14px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .recent-news-heading {
        padding: 14px 15px;
    }

    .recent-news-heading h2 {
        font-size: 17px;
    }

    .recent-news-view-all {
        font-size: 10px;
    }

    .recent-news-list {
        display: block;
        padding: 0 15px;
    }

    .recent-news-item {
        width: 100%;
        padding: 14px 0;
    }

    .recent-news-item h3 {
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .recent-news-pagination {
        padding: 12px 15px;
    }
}

/* ==========================================================================
   NEWS ARCHIVE PAGE
   ========================================================================== */

/* ==========================================================================
   NEWS ARCHIVE PAGE
   ========================================================================== */

.news-archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: start;
}

.news-archive-main {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0 28px;
}

.news-archive-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.news-archive-item:last-of-type {
    border-bottom: 0;
}

.news-archive-category {
    margin-bottom: 7px;
    color: var(--brand);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.news-archive-item h2 {
    margin: 0 0 9px;
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

.news-archive-item h2 a {
    color: var(--navy);
    text-decoration: none;
}

.news-archive-item h2 a:hover {
    color: var(--brand);
}

.news-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 11px;
}

.news-archive-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-archive-meta i {
    color: var(--brand);
}

.news-archive-item p {
    margin: 0 0 11px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
}

.news-read-more:hover {
    color: var(--brand-dark);
}

/* ==========================================================================
   NEWS ARCHIVE - MAIN PAGINATION
   ========================================================================== */

.news-main-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 22px 0 28px;
    border-top: 1px solid var(--line);
}

.news-main-pagination a,
.news-main-pagination .news-pagination-arrow,
.news-main-pagination .news-pagination-dots {
    display: inline-flex;
    min-width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--surface);
    color: var(--navy);
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
}

.news-main-pagination a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.news-main-pagination a.active {
    border-color: var(--brand);
    background: var(--brand);
    color: #ffffff;
}

.news-main-pagination .news-pagination-arrow {
    font-size: 18px;
    font-weight: 700;
}

.news-main-pagination .news-pagination-arrow.disabled {
    color: #b7c0c9;
    cursor: default;
}

.news-main-pagination .news-pagination-dots {
    min-width: 26px;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
}

/* ==========================================================================
   NEWS ARCHIVE - SIDEBAR
   ========================================================================== */

.news-archive-sidebar {
    min-width: 0;
}

.news-sidebar-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.news-sidebar-title {
    padding: 15px 18px;
    border-bottom: 3px solid var(--brand);
}

.news-sidebar-title h2 {
    margin: 0;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
/*    text-transform: uppercase;*/
}

.news-sidebar-list {
    padding: 0 18px;
}

.news-sidebar-item {
    padding: 16px 0;
    border-bottom: 1px solid #edf1f5;
}

.news-sidebar-item:last-child {
    border-bottom: 0;
}

.news-sidebar-category {
    margin-bottom: 5px;
    color: var(--brand);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
}

.news-sidebar-item h3 {
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.news-sidebar-item h3 a {
    color: var(--ink);
    text-decoration: none;
}

.news-sidebar-item h3 a:hover {
    color: var(--brand);
}

.news-sidebar-item time {
    color: var(--muted);
    font-size: 10px;
}

/* ==========================================================================
   NEWS ARCHIVE - SIDEBAR PAGINATION
   ========================================================================== */

.news-sidebar-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    background: var(--page);
}

.news-sidebar-pagination > div {
    min-width: 90px;
}

.news-sidebar-pagination > div:last-child {
    text-align: right;
}

.news-sidebar-pagination a {
    color: var(--navy);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
}

.news-sidebar-pagination a:hover {
    color: var(--brand);
}

@media (max-width: 991.98px) {
    .news-archive-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }
}

@media (max-width: 767.98px) {
    .news-archive-main {
        padding: 0 20px;
    }

    .news-archive-item {
        padding: 22px 0;
    }

    .news-archive-item h2 {
        font-size: 21px;
    }
}

@media (max-width: 575.98px) {
    .news-archive-layout {
        gap: 20px;
    }

    .news-archive-main {
        padding: 0 16px;
    }

    .news-archive-item h2 {
        font-size: 19px;
    }

    .news-sidebar-list {
        display: block;
    }

    .news-main-pagination {
        gap: 4px;
        padding: 18px 0 22px;
    }

    .news-main-pagination a,
    .news-main-pagination .news-pagination-arrow,
    .news-main-pagination .news-pagination-dots {
        min-width: 29px;
        height: 29px;
        font-size: 11px;
    }

    .news-main-pagination .news-pagination-arrow {
        font-size: 16px;
    }

    .news-sidebar-pagination {
        padding: 12px 15px;
    }
}
/* ==========================================================================
   ARTICLE SHARE
   ========================================================================== */

.article-share {
    margin: 24px 28px 0;
    padding: 20px 0 24px;
    border-top: 1px solid var(--line);
}

.article-share-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--navy);
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.article-share-heading i {
    color: var(--brand);
    font-size: 13px;
}

.article-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.article-share-link {
    display: inline-flex;
    min-width: 115px;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 3px;
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.article-share-link:hover {
    color: #ffffff;
    opacity: 0.9;
    transform: translateY(-1px);
}

.article-share-link.linkedin {
    background: #0a66c2;
}

.article-share-link.email {
    background: #0aa5df;
}

.article-share-link.whatsapp {
    background: #25d366;
}

.article-share-link i {
    font-size: 14px;
}

/* ==========================================================================
   ARTICLE SHARE - TABLET
   ========================================================================== */

@media (max-width: 767.98px) {
    .article-share {
        margin: 20px 20px 0;
        padding: 18px 0 20px;
    }

    .article-share-links {
        gap: 7px;
    }

    .article-share-link {
        min-width: 105px;
        height: 38px;
        padding: 0 14px;
    }
}

/* ==========================================================================
   ARTICLE SHARE - MOBILE
   ========================================================================== */

@media (max-width: 575.98px) {
    .article-share {
        margin: 18px 15px 0;
        padding: 16px 0 18px;
    }

    .article-share-heading {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .article-share-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .article-share-link {
        width: 100%;
        min-width: 0;
        height: 38px;
        padding: 0 8px;
        gap: 6px;
        font-size: 11px;
    }

    .article-share-link i {
        font-size: 13px;
    }
}

/* ==========================================================================
   ARTICLE SHARE - SMALL MOBILE
   ========================================================================== */

@media (max-width: 380px) {
    .article-share-links {
        grid-template-columns: 1fr;
    }

    .article-share-link {
        font-size: 12px;
    }
}

/* =========================================================
   CROP PROGRESS CARDS
========================================================= */

.crop-monitor-card {
    padding: 0;
    overflow: hidden;
}

.crop-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 20px 16px;
    border-bottom: 1px solid #e4e9ef;
}

.crop-country-wrap {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}

.country-flag {
    width: 52px !important;
    height: 34px !important;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #dce2e8;
    flex-shrink: 0;
    margin-top: 2px;
}

.crop-country-info {
    min-width: 0;
}

.crop-country-info h3 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 700;
    color: #082957;
    line-height: 1.2;
}

.crop-stage {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.crop-date {
    flex-shrink: 0;
    font-size: 12px;
    color: #718096;
    white-space: nowrap;
}

.crop-card-body {
    padding: 17px 20px 20px;
}

.crop-info-block + .crop-info-block {
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid #edf0f3;
}

.crop-info-label {
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.crop-info-block p {
    margin: 0;
    color: #172033;
    font-size: 14px;
    line-height: 1.6;
}


.crop-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.crop-info-label .bi {
    font-size: 20px;
}

.weather-icon {
    color: var(--navy-2);
}

.outlook-icon {
    color: var(--navy-2);
}


/* =========================================================
   CROP CARD - MOBILE
========================================================= */

@media (max-width: 767px) {

    .crop-card-header {
        padding: 16px;
        gap: 10px;
    }

    .country-flag {
        width: 52px !important;
        height: 32px !important;
    }

    .crop-country-info h3 {
        font-size: 16px;
    }

    .crop-date {
        font-size: 11px;
    }

    .crop-card-body {
        padding: 15px 16px 18px;
    }
}

/* =========================================================
   HOME PAGE - CROP PROGRESS & WEATHER
========================================================= */

.home-crop-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 55px;
    padding: 10px 4px;
    border-bottom: 1px solid #e7ebef;
    transition: background-color .2s ease;
}

.home-crop-item:last-child {
    border-bottom: 0;
}

.home-crop-item:hover {
    background: var(--brand-hover);
}

.home-crop-country {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.home-crop-flag {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border: 1px solid #d8dee6;
    border-radius: 3px;
    flex-shrink: 0;
    display: block;
}

.home-crop-country strong {
    color: #082957;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.home-crop-details {
    margin: 0;
    min-width: 0;
    color: #536273;
    font-size: 12px;
    line-height: 1.35;
}

.home-crop-details span {
    display: block;
}

.home-crop-details span:first-child {
    color: #34465a;
    font-weight: 500;
}

.home-crop-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #815143;
    text-decoration: none;
    font-size: 14px;
}

.home-crop-arrow:hover {
    color: #5a3a2e;
}

.home-crop-title {
    color: #082957;
    text-decoration: none;
}

.home-crop-title:hover {
    color: #815143;
}

/* =========================================================
   HOME PAGE - CROP PROGRESS MOBILE
========================================================= */

@media (max-width: 767px) {

    .home-crop-item {
        grid-template-columns: 110px 1fr;
        gap: 8px;
        padding: 10px 2px;
    }

    .home-crop-flag {
        width: 27px;
        height: 18px;
    }

    .home-crop-country {
        gap: 7px;
    }

    .home-crop-country strong {
        font-size: 12px;
    }

    .home-crop-details {
        font-size: 11px;
    }
}

/* ==========================================================================
   MULTI LEVEL NAVBAR DROPDOWN
   Peanut Prices
   ├── Daily Prices
   ├── Weekly Prices
   └── Exchange
       └── Zhengzhou Commodity Exchange Data (Daily)
   ========================================================================== */


/* ==========================================================================
   1. DROPDOWN PARENT
   ========================================================================== */

.navbar .nav-item.dropdown {
    position: relative;
}


/* ==========================================================================
   2. FIRST LEVEL DROPDOWN
   Opens directly below "Peanut Prices"
   ========================================================================== */

.navbar .nav-item.dropdown > .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    z-index: 1050;

    display: none;

    width: max-content;
    min-width: 210px;
    max-width: 280px;

    margin: 0;
    padding: 6px;

    border: 1px solid var(--line);
    border-top: 3px solid var(--brand);
    border-radius: 0 0 7px 7px;

    background: var(--surface);

    box-shadow: 0 10px 24px rgba(8, 39, 70, 0.14);

    transform: none !important;
}


/* Bootstrap .show support */

.navbar .nav-item.dropdown > .dropdown-menu.show {
    display: block;
}


/* ==========================================================================
   3. FIRST LEVEL DROPDOWN ITEMS
   ========================================================================== */

.navbar .dropdown-menu > li {
    position: relative;
}

.navbar .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 9px 11px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--navy);
    font-family: var(--font-ui);
    font-size: 11.5px;
    line-height: 1.35;
    font-weight: 600;
    text-align: left;
    white-space: normal;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
    text-transform: uppercase;
}


/* HOVER */

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background: var(--brand-soft);
    color: var(--brand-dark);
}


/* ACTIVE PAGE */

.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
    background: var(--brand);
    color: #ffffff;
}


/* ==========================================================================
   4. EXCHANGE SUBMENU PARENT
   ========================================================================== */

.navbar .dropdown-submenu {
    position: relative;
}


/* Exchange row */

.navbar .dropdown-submenu > .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;
}


/* Bootstrap arrow */

.navbar .dropdown-submenu > .dropdown-toggle::after {
    flex: 0 0 auto;

    margin-left: auto;

    transform: rotate(-90deg);
}


/* ==========================================================================
   5. SECOND LEVEL DROPDOWN
   Opens to the RIGHT of Exchange
   ========================================================================== */

.navbar .dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: -10px;
    left: 100%;
    right: auto;
    z-index: 1060;
    display: none;
    width: max-content;
    /*min-width: 310px;
    max-width: 380px;*/
    min-width: 210px;
    max-width: 280px;
    margin: 0 0 0 5px;
    padding: 6px;

    border: 1px solid var(--line);
    border-top: 3px solid var(--brand);
/*    border-radius: 7px;*/
    border-radius: 0 0 7px 7px;

    background: var(--surface);

    box-shadow: 0 10px 24px rgba(8, 39, 70, 0.14);

    transform: none !important;
}


/* Bootstrap / JavaScript .show support */

.navbar .dropdown-submenu > .dropdown-menu.show {
    display: block;
}


/* Zhengzhou item */

.navbar .dropdown-submenu > .dropdown-menu .dropdown-item {
    min-height: 40px;

    padding: 9px 12px;

    line-height: 1.4;

    white-space: normal;
}


/* ==========================================================================
   6. DESKTOP
   ========================================================================== */

@media (min-width: 992px) {

    /*
     * First dropdown:
     * Peanut Prices -> Daily / Weekly / Exchange
     */

    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }


    /*
     * Second dropdown:
     * Exchange -> Zhengzhou
     */

    .navbar .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }


    /*
     * Invisible bridge between Exchange and the second dropdown.
     * Prevents submenu from closing while moving the mouse to the right.
     */

    .navbar .dropdown-submenu > .dropdown-menu::before {
        content: "";

        position: absolute;

        top: 0;
        right: 100%;

        width: 6px;
        height: 100%;
    }


    /*
     * Main navbar links.
     * Allows long navbar titles to wrap cleanly.
     */

    .navbar .navbar-nav > .nav-item > .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;

        height: 100%;

        padding-left: 9px;
        padding-right: 9px;

        text-align: center;

        white-space: normal;
    }
}


/* ==========================================================================
   7. SMALL LAPTOP
   ========================================================================== */

@media (min-width: 992px) and (max-width: 1250px) {

    .navbar .navbar-nav > .nav-item > .nav-link {
        padding-left: 6px;
        padding-right: 6px;

        font-size: 9px;
    }

    .navbar .dropdown-menu .dropdown-item {
        font-size: 10px;
    }

    .navbar .nav-item.dropdown > .dropdown-menu {
        min-width: 195px;
    }

    .navbar .dropdown-submenu > .dropdown-menu {
        min-width: 285px;
    }
}


/* ==========================================================================
   8. TABLET / MOBILE
   Bootstrap navbar collapsed mode
   ========================================================================== */

@media (max-width: 991.98px) {

    /* --------------------------------------------------------------
       MAIN NAVIGATION
       -------------------------------------------------------------- */

    .navbar .navbar-nav {
        width: 100%;
    }

    .navbar .navbar-nav > .nav-item {
        width: 100%;
    }

    .navbar .navbar-nav > .nav-item > .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;

        padding: 10px 12px;

        text-align: left;
        white-space: normal;
    }


    /* --------------------------------------------------------------
       FIRST LEVEL DROPDOWN
       Becomes part of vertical mobile menu
       -------------------------------------------------------------- */

    .navbar .nav-item.dropdown > .dropdown-menu {
        position: static !important;

        top: auto;
        left: auto;
        right: auto;

        width: 100%;
        min-width: 0;
        max-width: none;

        margin: 0;
        padding: 4px 6px 4px 14px;

        border: 0;
        border-radius: 0;

        background: var(--brand-dark);

        box-shadow: none;

        transform: none !important;
    }


    /* Mobile dropdown items */

    .navbar .dropdown-menu .dropdown-item {
        min-height: 40px;

        padding: 9px 11px;

        border-radius: 4px;

        color: #ffffff;

        font-size: 11px;
    }


    /* Hover */

    .navbar .dropdown-menu .dropdown-item:hover,
    .navbar .dropdown-menu .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }


    /* Active */

    .navbar .dropdown-menu .dropdown-item.active,
    .navbar .dropdown-menu .dropdown-item:active {
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff;
    }


    /* --------------------------------------------------------------
       EXCHANGE
       -------------------------------------------------------------- */

    .navbar .dropdown-submenu {
        width: 100%;
    }

    .navbar .dropdown-submenu > .dropdown-toggle {
        width: 100%;
    }


    /* Arrow points downward on mobile */

    .navbar .dropdown-submenu > .dropdown-toggle::after {
        transform: rotate(0deg);
    }


    /* --------------------------------------------------------------
       SECOND LEVEL - ZHENGZHOU
       Nested underneath Exchange
       -------------------------------------------------------------- */

    .navbar .dropdown-submenu > .dropdown-menu {
        position: static !important;

        top: auto;
        left: auto;
        right: auto;

        width: 100%;
        min-width: 0;
        max-width: none;

        margin: 2px 0 3px;
        padding: 3px 5px 3px 14px;

        border: 0;
        border-left: 2px solid rgba(255, 255, 255, 0.18);
        border-radius: 0;

        background: rgba(8, 39, 70, 0.18);

        box-shadow: none;

        transform: none !important;
    }

    .navbar .dropdown-submenu > .dropdown-menu .dropdown-item {
        min-height: 38px;

        padding: 8px 10px;

        font-size: 10px;

        white-space: normal;
    }
}


/* ==========================================================================
   9. SMALL MOBILE
   ========================================================================== */

@media (max-width: 575.98px) {

    .navbar .navbar-nav > .nav-item > .nav-link {
        padding: 9px 10px;
    }

    .navbar .nav-item.dropdown > .dropdown-menu {
        padding-left: 10px;
    }

    .navbar .dropdown-menu .dropdown-item {
        min-height: 38px;

        padding: 8px 10px;

        font-size: 10px;
    }

    .navbar .dropdown-submenu > .dropdown-menu {
        padding-left: 10px;
    }

    .navbar .dropdown-submenu > .dropdown-menu .dropdown-item {
        font-size: 9px;
    }
}

/* ==========================================================================
   HOME - QUALITY, TESTING & FOOD SAFETY
   ========================================================================== */

.home-quality-panel {
    margin: 0;
}


/* CONTENT GRID */

.home-quality-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0px;
}


/* INDIVIDUAL ITEM */

.home-quality-item {
    display: flex;
    min-width: 0;
    min-height: 38px;
    align-items: center;
    gap: 9px;

    padding: 5px 7px;

    border-bottom: 1px solid var(--line);

    color: var(--navy);

    font-family: var(--font-ui);
    font-size: 10px;
    line-height: 1.3;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


/* Vertical divider */

.home-quality-item:nth-child(odd) {
    border-right: 1px solid var(--line);
}


/* Remove bottom border from final row */

.home-quality-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}


/* Hover */

.home-quality-item:hover {
/*    background: var(--brand-soft);*/
background: var(--brand-hover);
/*    color: var(--brand-dark);*/
}


/* ICON */

.home-quality-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--navy);
    font-size: 12px;
    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}

.home-quality-item:hover .home-quality-icon {
    border-color: var(--brand-hover);
/*    color: var(--brand);*/
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 575.98px) {

    .home-quality-grid {
        grid-template-columns: 1fr;
    }

    .home-quality-item {
        min-height: 43px;
        border-right: 0 !important;
        border-bottom: 1px solid var(--line);
    }

    .home-quality-item:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .home-quality-item:last-child {
        border-bottom: 0;
    }
}


/* ==========================================================================
   HOMEPAGE - RESOURCES, SUBSCRIPTION & HEALTH BENEFITS
   ========================================================================== */

.home-resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.15fr 1.4fr;
    gap: 8px;
    margin-top: 8px;
    align-items: stretch;
}

.home-resources-grid > .panel {
    min-width: 0;
    margin: 0;
}

/* ==========================================================================
   RESOURCE CARDS
   ========================================================================== */

.home-resource-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
}

.home-resource-icon {
    display: flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 28px;
}

.home-resource-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.home-resource-content h2 {
    margin: 0 0 8px;
    color: var(--navy);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}

.home-resource-content p {
    margin: 0 0 12px;
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}

.home-resource-content a {
    margin-top: auto;
    color: var(--brand);
    font-family: var(--font-ui);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
}

.home-resource-content a:hover {
    color: var(--brand-dark);
}

/* ==========================================================================
   SUBSCRIBE CARD
   ========================================================================== */

.home-subscribe-card {
    display: flex;
    position: relative;
    align-items: flex-start;
    overflow: hidden;
    padding: 14px;
    background: var(--navy);
    color: #ffffff;
}

.home-subscribe-content {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
}

.home-subscribe-content h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}

.home-subscribe-content p {
    margin: 0 0 12px;
    color: #e4edf5;
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.5;
}

.home-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-subscribe-form input {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #ffffff;
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 12px;
}

.home-subscribe-form input:focus {
    outline: 2px solid var(--green);
    outline-offset: 1px;
}

.home-subscribe-form button {
    min-height: 36px;
    padding: 8px 12px;
    border: 0;
    border-radius: 5px;
    background: var(--green);
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.home-subscribe-form button:hover {
    background: var(--brand);
}

.home-subscribe-icon {
    position: absolute;
    right: -10px;
    bottom: -20px;
    color: rgba(255, 255, 255, 0.09);
    font-size: 100px;
    pointer-events: none;
}

/* ==========================================================================
   NUTRITION & HEALTH BENEFITS
   ========================================================================== */

.home-health-card {
    padding: 14px;
}

.home-health-card .section-heading {
    margin-bottom: 12px;
}

.home-health-card .section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}

.home-health-card .section-heading a {
    color: var(--brand);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
}

.home-health-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.home-health-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    padding: 12px 4px;
    border-right: 1px solid var(--line);
    text-align: center;
}

.home-health-item:last-child {
    border-right: 0;
}

.home-health-item i {
    color: var(--navy);
    font-size: 25px;
}

.home-health-item span {
    color: var(--navy);
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    overflow-wrap: break-word;
}

/* ==========================================================================
   RESPONSIVE - SMALL DESKTOP
   ========================================================================== */

@media (max-width: 1399.98px) {

    .home-resources-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-subscribe-card,
    .home-health-card {
        grid-column: span 1;
    }
}

/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */

@media (max-width: 991.98px) {

    .home-resources-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-health-card {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */

@media (max-width: 575.98px) {

    .home-resources-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-resource-card,
    .home-subscribe-card,
    .home-health-card {
        padding: 14px;
    }

    .home-health-card {
        grid-column: auto;
    }

    .home-health-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-health-item:nth-child(2) {
        border-right: 0;
    }

    .home-health-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}


/* ==========================================================================
   WEEKLY PRICES - LATEST WEEK & PRICE CHANGE
   ========================================================================== */

/* Highlight only latest reporting week rows */

.price-market-table tbody tr.weekly-current-row > td {
    background-color: #f2f8f4;
}

.price-market-table tbody tr.weekly-current-row > td:first-child {
    border-left: 3px solid var(--green);
}

/* Price change colours */

.weekly-change-cell {
    white-space: nowrap;
    font-weight: 700;
}

.weekly-change-up {
    color: var(--green);
}

.weekly-change-down {
    color: var(--red);
}

.weekly-change-neutral {
    color: var(--navy);
}

/* Maintain change colours inside latest week rows */

.price-market-table .weekly-change-up {
    color: var(--green);
}

.price-market-table .weekly-change-down {
    color: var(--red);
}

.price-market-table .weekly-change-neutral {
    color: var(--navy);
}


/* ==========================================================================
   QUALITY & FOOD SAFETY - COMPACT EDITORIAL ARTICLE LAYOUT
   ========================================================================== */

.price-page-main .quality-article-list {
    display: block;
    width: 100%;
    padding: 8px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

/* ARTICLE ROWS */

.price-page-main .quality-article-list > .quality-article-item {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 16px 8px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: background 0.2s ease;
}

.price-page-main .quality-article-list > .quality-article-item:last-of-type {
    border-bottom: 0;
}

.price-page-main .quality-article-list > .quality-article-item:hover {
    background: var(--page);
}

/* DATE */

.quality-article-item .meta {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 11px;
    line-height: 1.4;
}

/* ARTICLE TITLE */

.quality-article-item h3 {
    margin: 0 0 6px;
    color: var(--navy);
    font-family: var(--font-ui);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}

.quality-article-item h3 a {
    color: inherit;
    text-decoration: none;
}

.quality-article-item h3 a:hover {
    color: var(--brand);
}

/* DESCRIPTION */

.quality-article-item p {
    margin: 0 0 8px;
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1.6;
}

/* READ MORE */

.quality-article-link {
    display: inline-block;
    color: var(--brand);
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
}

.quality-article-link:hover {
    color: var(--navy);
    text-decoration: underline;
}

/* ARTICLE IMAGE */

.quality-article-item > img {
    display: block;
    width: 100%;
    max-height: 180px;
    margin-bottom: 10px;
    border-radius: 5px;
    object-fit: cover;
}

/* EMPTY STATE */

.price-page-main .quality-article-list > .empty-state {
    padding: 16px 0;
    border: 0;
    box-shadow: none;
}

/* RESPONSIVE */

@media (max-width: 767.98px) {
    .price-page-main .quality-article-list {
        padding: 6px 14px;
    }

    .price-page-main .quality-article-list > .quality-article-item {
        padding: 14px 5px;
    }

    .quality-article-item h3 {
        font-size: 16px;
    }

    .quality-article-item p {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .price-page-main .quality-article-list {
        padding: 5px 10px;
    }

    .price-page-main .quality-article-list > .quality-article-item {
        padding: 12px 4px;
    }

    .quality-article-item h3 {
        font-size: 15px;
    }
}


/* ==========================================================================
   HEADER SEARCH
   ========================================================================== */

.header-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    overflow: hidden;
}

.header-search-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--navy);
    font-size: 12px;
}

.header-search-button {
    padding: 8px 13px;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 15px;
    cursor: pointer;
}

.header-search-button:hover {
    color: var(--brand);
}

/* ==========================================================================
   SEARCH RESULTS PAGE
   ========================================================================== */
.peanut-search-results {
  padding: 20px 24px;
}
.peanut-search-count {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.peanut-search-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.peanut-search-item:last-of-type {
  border-bottom: 0;
}
.peanut-search-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
}
.peanut-search-meta span {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
}
.peanut-search-item h2 {
  margin: 0 0 7px;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}
.peanut-search-item h2 a {
  color: var(--navy);
  text-decoration: none;
}
.peanut-search-item h2 a:hover {
  color: var(--brand);
}
.peanut-search-item p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.65;
}
.peanut-search-view {
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.peanut-search-view:hover {
  text-decoration: underline;
}
.peanut-search-empty {
  padding: 24px 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
@media (max-width: 575.98px) {
  .peanut-search-results {
    padding: 12px 14px;
  }
  .peanut-search-item {
    padding: 13px 0;
  }
  .peanut-search-item h2 {
    font-size: 14px;
  }
}


/* PEANUTINFO — WEEKLY REPORT PAGE (append to existing stylesheet) */
.weekly-page {
  padding-bottom: 35px;
}
.weekly-hero {
  margin-bottom: 20px;
}
.weekly-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.weekly-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 14px;
  align-items: start;
}

.weekly-main,
.weekly-sidebar {
  min-width: 0;
}

.weekly-main {
  display: grid;
  gap: 18px;
}

.weekly-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.weekly-feature,
.weekly-archive,
.weekly-sidebar-panel {
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.weekly-archive {
  margin: 0;
}

.weekly-sidebar .price-navigation-panel {
  padding: 0;
  overflow: hidden;
}

.weekly-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.weekly-section-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}
.weekly-section-title h2 i {
  margin-right: 7px;
  color: var(--green);
}
.weekly-archive-heading > span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.weekly-feature-grid {
  display: grid;
  grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.weekly-feature-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f7f9fb;
}
.weekly-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
}
.weekly-feature-copy {
  min-width: 0;
}
.weekly-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}
.weekly-date i {
  color: var(--green);
}
.weekly-feature-copy h3 {
  margin: 12px 0 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.4;
}
.weekly-feature-copy > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.weekly-highlight-label {
  margin: 15px 0 7px !important;
  font-weight: 800;
  color: var(--navy) !important;
}
.weekly-highlights {
  margin: 0 0 20px;
  padding-left: 18px;
}
.weekly-highlights li {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.55;
}
.weekly-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 37px;
  padding: 9px 12px;
  border: 1px solid var(--brand);
  border-radius: 5px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.weekly-download:hover {
  background: var(--brand);
  color: #fff;
}
.weekly-download-primary {
  background: var(--brand);
  color: #fff;
}
.weekly-download-primary:hover {
  background: #0c6e37;
}
.weekly-disabled {
  border-color: var(--line);
  color: var(--muted);
}

/* ================================================
   WEEKLY REPORT ARCHIVE - HORIZONTAL CARD DESIGN
   ================================================ */

.weekly-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.weekly-report-card {
  display: grid;
  grid-template-columns: 35% minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  min-height: 240px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  transition: box-shadow 0.15s, transform 0.15s;
}

.weekly-report-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* LEFT - REPORT IMAGE */

.weekly-report-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 220px;
  height: 100%;
  overflow: hidden;
  background: #f6f8fa;
  border-radius: 4px;
}

.weekly-report-cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
}

/* RIGHT - REPORT DETAILS */

.weekly-report-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
  padding: 10px 8px 7px 0;
}

.weekly-report-details .weekly-date,
.weekly-report-date {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.weekly-report-details .weekly-date i,
.weekly-report-date i {
  color: var(--green);
  font-size: 13px;
}

.weekly-report-details h3,
.weekly-report-title {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  overflow-wrap: anywhere;
}


/* WEEKLY REPORT DOWNLOAD BUTTON */
.weekly-report-details .weekly-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
/*    width: 100%;*/
    width: 75%;
    margin-top: auto;
    text-align: center;
    text-decoration: none;
}

.weekly-report-details .weekly-download i {
    font-size: 13px;
}


/* IMAGE PLACEHOLDER */

.weekly-image-placeholder,
.weekly-report-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 160px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.weekly-image-placeholder i,
.weekly-report-placeholder i {
  font-size: 35px;
  color: var(--green);
}


/* Tablet and mobile */
@media (max-width: 767.98px) {
    .weekly-report-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .weekly-report-card {
        grid-template-columns: 38% minmax(0, 1fr);
        min-height: 200px;
    }

    .weekly-report-cover {
        min-height: 180px;
    }

    .weekly-report-cover img {
        max-height: 220px;
    }
}

/* Small mobile screens */
@media (max-width: 420px) {
    .weekly-report-card {
        grid-template-columns: 1fr;
    }

    .weekly-report-cover {
        height: 230px;
    }
}


/* ================================================
   SIDEBAR - HANDBOOK AND PROCEEDINGS
   ================================================ */

.weekly-resource-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.weekly-resource-link:last-child {
  border-bottom: 0;
}

.weekly-resource-link > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.weekly-resource-link strong {
  display: block;
  font-size: 12px;
}

.weekly-resource-link small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.weekly-resource-link > .bi-chevron-right {
  font-size: 12px;
  color: var(--muted);
}

.weekly-resource-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 18px;
}

.weekly-resource-link:hover strong {
  color: var(--brand);
}

/* SUBSCRIPTION SECTION */

.weekly-subscribe > i {
  font-size: 27px;
  color: var(--green);
}

.weekly-subscribe h2 {
  margin: 9px 0;
  color: var(--navy);
  font-size: 15px;
}

.weekly-subscribe p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.weekly-subscribe a {
  font-size: 11px;
  overflow-wrap: anywhere;
  color: var(--brand);
}

/* EMPTY STATE AND PAGINATION */

.weekly-empty {
  padding: 20px;
  color: var(--muted);
  font-size: 12px;
}


.weekly-main > .news-main-pagination {
  margin: 18px 0 0;
}



/* WEEKLY REPORT STATISTICS */
.weekly-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    margin: 0 0 18px;
    padding: 22px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.weekly-stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 0 22px;
    border-right: 1px solid var(--line);
}

.weekly-stat-item:first-child {
    padding-left: 0;
}

.weekly-stat-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.weekly-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff4f0;
    color: #7e5141;
    font-size: 30px;
}

.weekly-stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.weekly-stat-content strong {
    color: var(--navy);;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.weekly-stat-item:first-child .weekly-stat-content strong {
    font-size: 27px;
}

.weekly-stat-content span,
.weekly-stat-content small {
    color: var(--navy);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .weekly-stats {
        padding: 18px 15px;
    }

    .weekly-stat-item {
        gap: 10px;
        padding: 0 12px;
    }

    .weekly-stat-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 23px;
    }
}

@media (max-width: 575.98px) {
    .weekly-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 16px;
    }

    .weekly-stat-item,
    .weekly-stat-item:first-child,
    .weekly-stat-item:last-child {
        padding: 0 0 15px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .weekly-stat-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .weekly-stat-content strong {
        font-size: 17px;
    }

    .weekly-stat-item:first-child .weekly-stat-content strong {
        font-size: 23px;
    }
}


/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Medium desktop / tablet */

@media (max-width: 1199.98px) {
  .weekly-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .weekly-report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weekly-report-card {
    grid-template-columns: 40% minmax(0, 1fr);
  }
}

@media (max-width: 991.98px) {
  .weekly-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .weekly-sidebar {
    display: flex;
    flex-direction: column;
  }
}


/* Small tablet */

@media (max-width: 767.98px) {
  .weekly-report-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .weekly-report-card {
    grid-template-columns: 38% minmax(0, 1fr);
    min-height: 200px;
  }

  .weekly-report-cover {
    min-height: 185px;
  }

  .weekly-report-cover img {
    max-height: 215px;
  }
}

/* Mobile */

@media (max-width: 575.98px) {
  .weekly-feature,
  .weekly-archive,
  .weekly-sidebar-panel {
    padding: 14px;
  }

  .weekly-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .weekly-feature-media img {
    max-height: 350px;
  }

  .weekly-report-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .weekly-report-card {
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 10px;
    min-height: 185px;
    padding: 6px;
  }

  .weekly-report-cover {
    min-height: 170px;
  }

  .weekly-report-cover img {
    max-height: 195px;
  }

  .weekly-report-details {
    padding: 8px 5px 6px 0;
    gap: 8px;
  }

  .weekly-report-details h3 {
    font-size: 12px;
    line-height: 1.45;
  }

  .weekly-report-details .weekly-date,
  .weekly-report-date {
    font-size: 10px;
  }

  .weekly-report-details .weekly-download {
    min-height: 32px;
    padding: 7px 5px;
    font-size: 10px;
  }

  .weekly-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .weekly-section-title h2 {
    font-size: 14px;
  }
}

/* Very small mobile */

@media (max-width: 370px) {
  .weekly-report-card {
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 7px;
  }

  .weekly-report-cover {
    min-height: 160px;
  }

  .weekly-report-details h3 {
    font-size: 11px;
  }

  .weekly-report-details .weekly-download {
    font-size: 9px;
    padding: 6px 3px;
  }
}

/* Contact page only; move into the main stylesheet when ready. */
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 14px;
  align-items: start;
}
.contact-page-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.contact-section-heading {
  margin-bottom: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.contact-section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}
.contact-section-heading h2 i {
  color: var(--brand);
  font-size: 18px;
}
.contact-section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.contact-page .form-label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}
.contact-page .form-control {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 14px;
}
.contact-page .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(126, 81, 65, 0.1);
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 17px;
}
.contact-detail strong {
  display: block;
  margin: 2px 0 7px;
  color: var(--navy);
  font-size: 14px;
}
.contact-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.contact-detail a {
  color: var(--brand);
  text-decoration: none;
}
.contact-detail a:hover {
  text-decoration: underline;
}
.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-page-aside {
  min-width: 0;
}

.contact-page-aside .contact-detail > div:last-child {
  min-width: 0;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .contact-page-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
}

@media (max-width: 991.98px) {
  .contact-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-page-aside {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .contact-page-panel {
    padding: 15px;
  }
  .contact-section-heading {
    margin-bottom: 16px;
  }
}


/* =====================================================
   CONTACT FORM - FULL PAGE LOADING OVERLAY
===================================================== */

.contact-page-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 39, 70, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-page-loader.active {
    display: flex;
}

.contact-loader-box {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 14px;
    text-align: center;
    width: min(90%, 400px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.contact-loader-spinner {
    width: 58px;
    height: 58px;
    border: 5px solid #e6eaf0;
    border-top-color: var(--brand, #7e5141);
    border-radius: 50%;
    animation: contactLoaderSpin 0.8s linear infinite;
    margin: 0 auto 22px;
}

.contact-loader-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy, #082746);
    margin-bottom: 8px;
}

.contact-loader-box p {
    font-size: 14px;
    color: var(--muted, #667587);
    margin: 0;
}

@keyframes contactLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 575px) {
    .contact-loader-box {
        padding: 32px 22px;
    }

    .contact-loader-box h3 {
        font-size: 18px;
    }
}

/* =========================================================
   PEANUTINFO VIDEO LIBRARY
========================================================= */

.videos-page {
    padding-bottom: 30px;
}

.video-library-panel {
    padding: 24px;
}

.video-library-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line, #dfe6ed);
}

.video-library-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 7px;
    color: var(--navy, #082746);
    font-size: 20px;
    font-weight: 700;
}

.video-library-heading h2 i {
    color: var(--brand, #7e5141);
}

.video-library-heading p {
    margin: 0;
    color: var(--muted, #667587);
    font-size: 13px;
}

.video-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 290px;
    max-width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line, #dfe6ed);
    border-radius: 8px;
    background: #ffffff;
}

.video-search-box i {
    color: var(--muted, #667587);
}

.video-search-box input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
    color: var(--navy, #082746);
}

.video-library-summary {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 18px 0 26px;
    color: var(--muted, #667587);
    font-size: 12px;
}

.video-library-summary span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.video-library-summary i {
    color: var(--brand, #7e5141);
}

.video-group {
    margin-bottom: 36px;
}

.video-group:last-of-type {
    margin-bottom: 0;
}

.video-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
    margin-top: 17px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line, #dfe6ed);
}

.video-group-heading h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy, #082746);
}

.video-group-heading span {
    font-size: 12px;
    color: var(--muted, #667587);
}

.video-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.video-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line, #dfe6ed);
    border-radius: 10px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(8, 39, 70, 0.08);
}

.video-card-extra {
    display: none;
}

.video-group.is-expanded .video-card-extra {
    display: flex;
}

.video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    background: #10243e;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-no-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    font-size: 36px;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(126, 81, 65, 0.95);
    color: #ffffff;
    font-size: 30px;
    transform: translate(-50%, -50%);
    transition: background 0.2s ease;
}

.video-thumbnail:hover .video-play-icon {
    background: #082746;
}

.video-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: 15px;
}

.video-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--muted, #667587);
}

.video-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.video-type {
    padding: 4px 8px;
    border-radius: 5px;
    background: var(--brand-soft, #fff3ec);
    color: var(--brand, #7e5141);
}

.video-card-content h4 {
    margin: 0;
    color: var(--navy, #082746);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.video-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 8px;
}

.video-watch-btn,
.video-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand, #7e5141);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.video-watch-btn:hover,
.video-pdf-btn:hover {
    color: var(--navy, #082746);
}

.video-group-footer {
    text-align: center;
    margin-top: 22px;
}

.video-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 20px;
    border: 1px solid var(--brand, #7e5141);
    border-radius: 7px;
    background: var(--brand);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.video-view-all:hover {
    background: var(--brand-dark, #fff3ec);
}

.video-empty {
    padding: 55px 20px;
    text-align: center;
}

.video-empty > i {
    display: block;
    margin-bottom: 15px;
    color: var(--brand, #7e5141);
    font-size: 40px;
}

.video-empty h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--navy, #082746);
}

.video-empty p {
    margin: 0;
    font-size: 13px;
    color: var(--muted, #667587);
}

#videoNoResults[hidden] {
    display: none;
}

/* =========================================================
   VIDEO MODAL
========================================================= */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(0, 0, 0, 0.85);
}

.video-modal.active {
    display: flex;
}

.video-modal-inner {
    position: relative;
    width: 100%;
    max-width: 950px;
}

.video-modal-close {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

.video-modal-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #000000;
}

.video-modal-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

body.video-modal-open {
    overflow: hidden;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199.98px) {
    .video-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .video-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-library-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .video-search-box {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .video-library-panel {
        padding: 16px;
    }

    .video-card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .video-group-heading h3 {
        font-size: 16px;
    }

    .video-modal {
        padding: 15px;
    }
}


/* Conference official website button */

.video-conference-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 24px;
    border: 1px solid var(--brand);
    border-radius: 5px;
    background: var(--brand);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.video-conference-link:hover {
    background: var(--brand);
    color: #ffffff;
}

.video-conference-link i {
    font-size: 15px;
}

.conference-page {
    padding-bottom: 36px;
}

.conference-main-panel {
    width: 100%;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line, #dfe6ed);
    border-radius: 10px;
    box-shadow: var(--shadow, 0 6px 24px rgba(8,39,70,.06));
}

.conference-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.conference-column {
    min-width: 0;
}

.conference-column-title {
    color: var(--navy, #082746);
    font-size: 20px;
    font-weight: 750;
    margin: 0 0 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line, #dfe6ed);
    position: relative;
}

.conference-column-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 3px;
    width: 52px;
    background: var(--brand, #7e5141);
}

.conference-list {
    display: grid;
    gap: 24px;
}

.conference-card {
    background: #fff;
    border: 1px solid var(--line, #dfe6ed);
    border-radius: 8px;
    padding: 15px;
    box-shadow: none;
    min-width: 0;
}

.conference-card:hover {
    box-shadow: 0 5px 18px rgba(8,39,70,.06);
}

.conference-banner {
    display: block;
    width: 100%;
    aspect-ratio: 3.8 / 1;
    object-fit: cover;
    border-radius: 6px;
    background: #eaf0f5;
    margin-bottom: 14px;
}

.conference-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    color: var(--navy, #082746);
    font-weight: 700;
    text-align: center;
}

.conference-placeholder i {
    font-size: 27px;
    color: var(--brand, #7e5141);
}

.conference-card h3 {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--navy, #082746);
}

.conference-date, .conference-venue {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--muted, #667587);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 9px;
}

.conference-date i, .conference-venue i {
    color: var(--brand, #7e5141);
}

.conference-date-to {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand, #7e5141);
    padding: 0 5px;
}

.conference-learn-more, .conference-website {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 18px;
    margin-top: 8px;
    border: 1px solid var(--brand, #7e5141);
    border-radius: 5px;
    background: var(--brand, #7e5141);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.conference-learn-more:hover, .conference-website:hover {
    background: var(--brand-dark, #5a3a2e);
    color: #fff;
}

.conference-empty {
    padding: 28px 20px;
    border: 1px dashed var(--line, #dfe6ed);
    border-radius: 8px;
    color: var(--muted, #667587);
    font-size: 13px;
}

.conference-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(6,22,38,.78);
    padding: 25px;
    align-items: center;
    justify-content: center;
}

.conference-modal.is-open {
    display: flex;
}

.conference-modal-panel {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
}

.conference-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #eef2f5;
    color: #10243e;
    cursor: pointer;
}

.conference-modal-event-image img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 6px;
}

#conferenceModalContent h3 {
    font-size: 21px;
    font-weight: 750;
    color: var(--navy, #082746);
    margin: 10px 0 12px;
    padding-right: 30px;
}

#conferenceModalContent p {
    font-size: 14px;
    color: var(--muted, #667587);
    line-height: 1.7;
}

#conferenceModalContent .conference-description {
    color: var(--ink, #10243e);
    white-space: normal;
    margin-top: 15px;
}

body.conference-modal-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .conference-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 575.98px) {
    .conference-main-panel {
        padding: 14px;
    }
}

@media (max-width: 767.98px) {
    .conference-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .conference-card {
        padding: 13px;
    }
    .conference-modal {
        padding: 14px;
    }
    .conference-modal-panel {
        padding: 20px;
    }
}

/* Smart suggestions are inside the existing full-width search panel. */
.peanut-smart-search {
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line, #dfe6ed);
}
.peanut-smart-heading h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 7px;
    color: var(--navy, #082746);
    font-size: 18px;
    font-weight: 700;
}
.peanut-smart-heading h2 i { color: var(--brand, #7e5141); }
.peanut-smart-heading p {
    margin: 0 0 16px;
    color: var(--muted, #667587);
    font-size: 13px;
    line-height: 1.6;
}
.peanut-smart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.peanut-smart-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--line, #dfe6ed);
    border-radius: 8px;
    background: #fff;
    color: var(--navy, #082746);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}
.peanut-smart-card:hover {
    border-color: var(--brand, #7e5141);
    box-shadow: 0 4px 16px rgba(8, 39, 70, .07);
    color: var(--navy, #082746);
    text-decoration: none;
}
.peanut-smart-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--brand-soft, #fff3ec);
    color: var(--brand, #7e5141);
    font-size: 19px;
}
.peanut-smart-copy { display: grid; gap: 5px; min-width: 0; }
.peanut-smart-copy strong { font-size: 14px; line-height: 1.4; }
.peanut-smart-copy small { color: var(--muted, #667587); font-size: 12px; line-height: 1.5; }
.peanut-smart-arrow { margin-left: auto; flex: 0 0 auto; color: var(--brand, #7e5141); }
@media (max-width: 767.98px) {
    .peanut-smart-grid { grid-template-columns: minmax(0, 1fr); }
    .peanut-smart-card { padding: 12px; }
}