/* =========================================================
   RIVELUM TRADECOM — INDUSTRIAL EDITORIAL DESIGN SYSTEM
   Loaded after main.css. Keeps the original Bootstrap and
   template components while applying one consistent brand.
========================================================= */

:root {
  --rv-paper: #f4f2ee;
  --rv-paper-deep: #eae6df;
  --rv-ink: #191919;
  --rv-muted: #6b6964;
  --rv-copper: #b87552;
  --rv-copper-dark: #9e5f40;
  --rv-line: rgba(25, 25, 25, 0.14);
  --rv-dark: #20201e;
  --rv-dark-soft: #292825;

  --background-color: var(--rv-paper);
  --default-color: var(--rv-ink);
  --heading-color: var(--rv-ink);
  --accent-color: var(--rv-copper);
  --accent-color2: var(--rv-copper-dark);
  --surface-color: #fbfaf7;
  --contrast-color: #ffffff;
  --nav-color: #5c5a56;
  --nav-hover-color: var(--rv-ink);
  --nav-mobile-background-color: var(--rv-paper);
  --nav-dropdown-background-color: #fbfaf7;
  --nav-dropdown-color: var(--rv-ink);
  --nav-dropdown-hover-color: var(--rv-copper-dark);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--rv-paper);
  color: var(--rv-ink);
  font-family: var(--default-font);
  line-height: 1.7;
}

body,
p,
li {
  color: var(--rv-muted);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title h2,
.navmenu a {
  color: var(--rv-ink);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.035em;
}

a {
  color: var(--rv-copper-dark);
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

a:hover {
  color: var(--rv-ink);
}

/* Header and navigation */
#header.header {
  --background-color: rgba(244, 242, 238, 0.97);
  --heading-color: var(--rv-ink);
  position: fixed;
  inset: 0 0 auto;
  min-height: 96px;
  padding: 10px 0;
  background: var(--rv-paper);
  border-bottom: 1px solid rgba(25, 25, 25, 0.07);
  box-shadow: none;
  backdrop-filter: blur(14px);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.scrolled #header.header {
  --background-color: rgba(244, 242, 238, 0.97);
  background: rgba(244, 242, 238, 0.97);
  box-shadow: 0 8px 24px rgba(25, 25, 25, 0.05);
}

#header .container-xl {
  max-width: 1440px;
  padding-left: clamp(22px, 4vw, 64px);
  padding-right: clamp(22px, 4vw, 64px);
}

#header .logo img,
#header .rivelum-logo {
  display: block;
  width: auto;
  max-width: 250px;
  max-height: 56px;
  object-fit: contain;
}

#header .navmenu a,
#header .navmenu a:focus {
  color: #5c5a56;
  padding: 16px 12px;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

#header .navmenu a:hover,
#header .navmenu .active,
#header .navmenu .active:focus,
#header .navmenu li:hover > a {
  color: var(--rv-ink);
}

#header .navmenu > ul > li > a::before {
  background-color: var(--rv-copper);
  height: 2px;
}

#header .navmenu .dropdown ul {
  padding: 10px;
  background: #fbfaf7;
  border: 1px solid var(--rv-line);
  box-shadow: 0 18px 40px rgba(25, 25, 25, 0.1);
}

#header .navmenu .dropdown ul a {
  padding: 10px 14px;
  color: var(--rv-muted);
}

#header .navmenu .dropdown ul a:hover {
  color: var(--rv-copper-dark);
  background: rgba(184, 117, 82, 0.07);
}

#header .mobile-nav-toggle {
  color: var(--rv-ink);
  font-size: 30px;
}

@media (max-width: 1199px) {
  #header.header {
    min-height: 82px;
  }
  #header .logo img,
  #header .rivelum-logo {
    max-width: 210px;
    max-height: 48px;
  }
  #header .navmenu {
    color: var(--rv-ink);
  }
  #header .navmenu ul {
    background: var(--rv-paper);
    border: 1px solid var(--rv-line);
  }
  #header .navmenu a,
  #header .navmenu a:focus {
    color: var(--rv-ink);
  }
}

/* Shared section rhythm and editorial headings */
section.section:not(.hero) {
  padding: clamp(68px, 8vw, 112px) 0;
  scroll-margin-top: 90px;
}

.section-title {
  max-width: 880px;
  margin: 0 auto;
  padding-bottom: 48px;
  text-align: center;
}

.section-title h2 {
  margin: 0 0 18px;
  padding: 0 0 20px;
  color: var(--rv-ink);
  font-family: var(--heading-font);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  display: block;
  width: 46px;
  height: 3px;
  margin: 0;
  background: linear-gradient(
    to right,
    var(--rv-copper) 0 72%,
    var(--rv-ink) 72% 100%
  );
  transform: translateX(-50%);
}

.section-title p {
  max-width: 760px;
  margin: 10px auto 0;
  color: var(--rv-muted);
  font-size: 16px;
  line-height: 1.85;
}

.section-title p b,
.section-title p strong {
  color: var(--rv-ink);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

/* Hero — retain the existing editorial composition */
#hero.hero-editorial {
  --hero-paper: var(--rv-paper);
  --hero-ink: var(--rv-ink);
  --hero-muted: var(--rv-muted);
  --hero-copper: var(--rv-copper);
  padding-top: 96px;
  background: var(--rv-paper);
}

#hero .hero-editorial__content h1 {
  font-family: var(--heading-font);
  font-weight: 700;
}

#hero .hero-editorial__description {
  color: var(--rv-muted);
}

#hero .hero-editorial__button {
  background: var(--rv-ink);
  border-color: var(--rv-ink);
  color: #fff;
}

#hero .hero-editorial__button:hover {
  background: var(--rv-copper-dark);
  border-color: var(--rv-copper-dark);
}

#hero .hero-editorial__button-secondary {
  border-color: rgba(25, 25, 25, 0.28);
  color: var(--rv-ink);
}

#hero .hero-editorial__button-secondary:hover {
  background: var(--rv-ink);
  border-color: var(--rv-ink);
  color: #fff;
}

/* About — spacious, image-led editorial layout */
#about.about {
  margin-top: 0 !important;
  background: var(--rv-paper);
}

#about .content {
  margin-top: 0 !important;
  padding: clamp(4px, 1.5vw, 24px) clamp(0px, 2vw, 30px) 0 0;
}

#about .content h3,
#partnerships h3 {
  margin: 0 0 22px;
  color: var(--rv-copper-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

#about .content > p {
  margin-bottom: 24px;
  color: var(--rv-ink);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

#about .content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#about .content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--rv-line);
  color: var(--rv-muted);
  line-height: 1.75;
}

#about .content ul li:first-child {
  border-top: 0;
}

#about .content ul li i {
  flex: 0 0 auto;
  margin-top: 5px;
  color: var(--rv-copper) !important;
  font-size: 15px;
}

#about img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  max-height: 580px;
  object-fit: cover;
  border-radius: 0 !important;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 18%);
}

/* Core activities — graphite panel and copper details */
#activities.why-us {
  padding: 0;
  background: var(--rv-dark);
  color: #f4f2ee;
}

#activities .container {
  max-width: 1440px;
}

#activities .img-bg {
  min-height: 600px;
  overflow: hidden;
}

#activities .img-bg::after {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 26px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

#activities .img-bg img {
  filter: saturate(0.72);
  transition: transform 0.8s ease;
}

#activities:hover .img-bg img {
  transform: scale(1.025);
}

#activities .slides {
  display: flex;
  align-items: center;
  background: var(--rv-dark);
  color: #f4f2ee;
}

#activities .swiper {
  width: 100%;
  margin: 90px clamp(45px, 7vw, 110px) 78px;
}

#activities .item h3 {
  color: var(--rv-copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

#activities .item h5 {
  color: #f4f2ee;
  font-size: clamp(25px, 2.7vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

#activities .item p {
  color: rgba(244, 242, 238, 0.72);
  font-size: 16px !important;
  line-height: 1.85;
}

#activities .swiper-button-prev,
#activities .swiper-button-next {
  top: auto;
  bottom: 54px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(244, 242, 238, 0.25);
  color: var(--rv-copper);
}

#activities .swiper-button-prev {
  left: auto;
  right: 94px;
}
#activities .swiper-button-next {
  right: 42px;
}
#activities .swiper-button-prev::after,
#activities .swiper-button-next::after {
  font-size: 14px;
}
#activities .swiper-pagination {
  text-align: left;
}
#activities .swiper-pagination-bullet {
  background: rgba(244, 242, 238, 0.4);
  opacity: 1;
}
#activities .swiper-pagination-bullet-active {
  background: var(--rv-copper);
}

/* Commodities — three-card editorial grid */
#commodities.service-cards {
  background: var(--rv-paper-deep);
}

#commodities .container-fluid {
  max-width: 1600px;
  padding-left: clamp(18px, 4vw, 64px);
  padding-right: clamp(18px, 4vw, 64px);
}

#commodities .section-title {
  max-width: 820px;
  padding-bottom: 42px;
}

#commodities .commodity-grid {
  --bs-gutter-x: 22px;
  --bs-gutter-y: 22px;
  align-items: stretch;
}

#commodities .commodity-card {
  height: 100%;
  background: #f8f6f2;
  border: 1px solid rgba(25, 25, 25, 0.1);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

#commodities .commodity-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 117, 82, 0.7);
}

#commodities .commodity-card__image {
  position: relative;
  height: clamp(210px, 20vw, 290px);
  overflow: hidden;
  background: #d8d5cf;
}

#commodities .commodity-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0) 45%,
    rgba(20, 20, 20, 0.32) 100%
  );
  pointer-events: none;
}

#commodities .commodity-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.78);
  transition: transform 0.7s ease;
}

#commodities .commodity-card:hover .commodity-card__image img {
  transform: scale(1.045);
}

#commodities .commodity-card__number {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

#commodities .commodity-card__body {
  flex: 1;
  padding: clamp(24px, 2.5vw, 34px);
}

#commodities .commodity-card__eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--rv-copper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

#commodities .commodity-card h3 {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 17px;
  color: var(--rv-ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

#commodities .commodity-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--rv-copper) 0 72%,
    var(--rv-ink) 72% 100%
  );
}

#commodities .commodity-card p {
  margin: 0;
  color: var(--rv-muted);
  font-size: 14px;
  line-height: 1.85;
}

#commodities .commodity-note {
  max-width: 850px;
  margin: 30px auto 0;
  color: var(--rv-muted);
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
}

/* Global operations — dark statement section */
#operations.call-to-action {
  padding: clamp(90px, 11vw, 150px) 0;
  overflow: hidden;
  background: var(--rv-dark);
  color: var(--rv-paper);
  clip-path: none;
}

#operations.call-to-action > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: grayscale(1);
}

#operations.call-to-action::before {
  background: linear-gradient(
    110deg,
    rgba(25, 25, 25, 0.96),
    rgba(32, 32, 30, 0.88)
  );
  z-index: 2;
}

#operations .container {
  max-width: 1000px;
}

#operations h2 {
  display: inline-block;
  margin-bottom: 32px !important;
  color: var(--rv-copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

#operations h4 {
  color: var(--rv-paper);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

#operations p {
  max-width: 820px;
  margin: 0 auto 14px;
  color: rgba(244, 242, 238, 0.72);
  font-size: 16px;
  line-height: 1.9;
}

/* Logistics and industry expertise — two editorial columns */
#logistics.blog-posts {
  background: var(--rv-paper);
}

#logistics .row {
  --bs-gutter-x: clamp(24px, 4vw, 58px);
  --bs-gutter-y: 44px;
}

#logistics article {
  height: 100%;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#logistics .section-title {
  margin: 0;
  padding-bottom: 28px;
  text-align: left;
}

#logistics .section-title h2 {
  display: inline-block;
  padding-bottom: 17px;
}

#logistics .section-title h2::after {
  left: 0;
  transform: none;
}

#logistics .post-img {
  height: clamp(230px, 27vw, 360px);
  max-height: none;
  margin: 0 0 28px;
  overflow: hidden;
  background: var(--rv-paper-deep);
}

#logistics .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78);
  transition: transform 0.7s ease;
}

#logistics article:hover .post-img img {
  transform: scale(1.035);
}

#logistics .title {
  margin: 0 0 18px;
  color: var(--rv-ink);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

#logistics .post-category {
  margin-bottom: 13px;
  color: var(--rv-muted);
  font-size: 15px;
  line-height: 1.85;
  text-align: left !important;
}

/* Our approach — dark principles panel */
#approach.call-to-action {
  padding: clamp(80px, 9vw, 116px) 0;
  background: var(--rv-dark);
  color: var(--rv-paper);
  clip-path: none;
}

#approach.call-to-action > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
  filter: grayscale(1);
}

#approach.call-to-action::before {
  background: rgba(25, 25, 25, 0.86);
  z-index: 2;
}

#approach .section-title h2 {
  color: var(--rv-copper);
}
#approach .section-title p {
  color: rgba(244, 242, 238, 0.68);
}
#approach .section-title p b {
  color: var(--rv-paper);
}
#approach .service-item {
  position: relative;
  z-index: 3;
}
#approach .service-item > div {
  width: 100%;
  min-height: 220px;
  padding: 30px 25px;
  border-top: 1px solid rgba(244, 242, 238, 0.24);
  text-align: left;
}
#approach .service-item .icon i {
  color: var(--rv-copper) !important;
  font-size: 28px;
}
#approach .service-item .title {
  margin-bottom: 14px;
  color: var(--rv-paper);
  font-size: 23px;
  font-weight: 500;
}
#approach .service-item .description {
  color: rgba(244, 242, 238, 0.68);
  font-size: 15px;
  line-height: 1.85;
}
#approach .container.section-title.mt-3 {
  padding: 20px 0 0;
}
#approach .container.section-title.mt-3 p b {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

/* Partnerships — image and partner list */
#partnerships.features {
  background: var(--rv-paper-deep);
}

#partnerships .container > .row {
  align-items: center;
  --bs-gutter-x: clamp(30px, 5vw, 76px);
}

#partnerships h3 {
  margin-bottom: 18px;
}

#partnerships h5 {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--rv-ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.22;
}

#partnerships p {
  color: var(--rv-muted);
  line-height: 1.8;
}

#partnerships .icon-list {
  align-items: flex-start;
  gap: 12px;
  min-height: 54px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rv-line);
}

#partnerships .icon-list i {
  margin: 3px 0 0;
  color: var(--rv-copper) !important;
  font-size: 18px;
}

#partnerships .icon-list span {
  color: var(--rv-ink);
  font-size: 14px;
  line-height: 1.6;
}

#partnerships .phone-wrap {
  position: relative;
  inset: auto;
  padding: 0;
  text-align: right;
}

#partnerships .phone-wrap img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 0;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 0 18%);
}

/* Contact — clean form and strong copper action */
#contact.contact {
  background: var(--rv-paper);
}

#contact.contact::before {
  display: none;
}

#contact .container.position-relative {
  z-index: 1;
  max-width: 1240px;
}

#contact .section-title {
  max-width: 850px;
}

#contact .section-title p b {
  font-size: 18px;
  letter-spacing: 0;
}

#contact .php-email-form {
  padding: clamp(22px, 3vw, 38px);
  background: #fbfaf7;
  border: 1px solid var(--rv-line);
  box-shadow: none;
}

#contact .php-email-form input[type="text"],
#contact .php-email-form input[type="email"],
#contact .php-email-form textarea {
  padding: 14px 15px;
  color: var(--rv-ink);
  background: #fff;
  border: 1px solid rgba(25, 25, 25, 0.16);
  border-radius: 0;
  font-size: 14px;
  box-shadow: none;
}

#contact .php-email-form input:focus,
#contact .php-email-form textarea:focus {
  border-color: var(--rv-copper);
  box-shadow: 0 0 0 3px rgba(184, 117, 82, 0.1);
}

#contact .php-email-form textarea {
  min-height: 170px;
  resize: vertical;
}

#contact .php-email-form button[type="submit"] {
  padding: 14px 28px;
  color: #fff;
  background: var(--rv-ink);
  border: 1px solid var(--rv-ink);
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

#contact .php-email-form button[type="submit"]:hover {
  background: var(--rv-copper-dark);
  border-color: var(--rv-copper-dark);
}

#contact .row > .col-lg-6 > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 620px;
  object-fit: cover;
  border-radius: 0 !important;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 18%);
}

/* Compact editorial footer */
#footer.footer {
  color: var(--rv-ink);
  background: var(--rv-paper);
  font-size: 14px;
}

#footer .footer-top {
  padding: 26px 0;
}

#footer .footer-editorial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

#footer .footer-editorial__brand .logo {
  margin: 0 0 8px;
  line-height: 1;
}

#footer .footer-editorial__brand .logo img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 48px;
  object-fit: contain;
}

#footer .footer-editorial__brand p {
  margin: 0;
  color: var(--rv-muted);
  font-size: 13px;
  line-height: 1.6;
}

#footer .footer-editorial__links {
  display: flex;
  align-items: center;
  gap: 26px;
}

#footer .footer-editorial__links a {
  color: var(--rv-ink);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.25s ease;
}

#footer .footer-editorial__links a:hover {
  color: var(--rv-copper);
}

#footer .copyright {
  padding: 13px 0;
  background: #191918;
  border-top: 1px solid rgba(244, 242, 238, 0.1);
}

#footer .copyright p {
  margin: 0;
  color: rgba(244, 242, 238, 0.6);
  font-size: 11px;
  letter-spacing: 0.04em;
}

#footer .copyright strong {
  color: var(--rv-paper);
  font-weight: 600;
}

/* Legal pages share the same visual identity */
body.about-page {
  background: var(--rv-paper);
}

.about-page .page-title {
  margin-top: 96px;
  padding: 76px 0 54px;
  background: var(--rv-dark);
  color: var(--rv-paper);
}

.about-page .page-title h1,
.about-page .page-title p {
  color: var(--rv-paper);
}

.about-page .page-title h1 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
}

.about-page .about.section {
  padding-top: 64px;
  background: var(--rv-paper);
}

.about-page .about .content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-page .about .content h2,
.about-page .about .content h3,
.about-page .about .content h4 {
  margin-top: 30px;
  color: var(--rv-ink);
  letter-spacing: -0.02em;
}

.about-page .about .content p,
.about-page .about .content li {
  color: var(--rv-muted);
  line-height: 1.85;
}

/* Scroll-to-top control */
.scroll-top {
  color: #fff;
  background: var(--rv-copper);
  border-radius: 0;
}

.scroll-top:hover {
  color: #fff;
  background: var(--rv-ink);
}

/* Responsive refinements */
@media (max-width: 991px) {
  #commodities .commodity-card__image {
    height: 250px;
  }
  #commodities .section-title {
    padding-bottom: 30px;
  }

  #about .content {
    padding-right: 0;
  }
  #about img {
    min-height: 360px;
    margin-top: 12px;
  }
  #activities .img-bg {
    min-height: 360px;
  }
  #activities .swiper {
    margin: 60px 48px 75px;
  }
  #activities .swiper-button-prev {
    right: 82px;
    bottom: 30px;
  }
  #activities .swiper-button-next {
    right: 32px;
    bottom: 30px;
  }
  #partnerships .phone-wrap {
    margin-top: 24px;
  }
  #contact .row > .col-lg-6 > img {
    min-height: 340px;
    margin-top: 10px;
  }
}

@media (max-width: 575px) {
  #header.header {
    min-height: 74px;
    padding: 8px 0;
  }
  #header .logo img,
  #header .rivelum-logo {
    max-width: 176px;
    max-height: 42px;
  }
  #hero.hero-editorial {
    padding-top: 74px;
  }
  #hero .hero-editorial__main {
    min-height: auto;
  }
  #hero .hero-editorial__content {
    padding-top: 54px;
    padding-bottom: 48px;
  }
  #hero .hero-editorial__visual {
    min-height: 300px;
  }
  #hero .hero-editorial__bottom {
    gap: 10px;
  }
  #hero .hero-editorial__bottom-note {
    display: none;
  }
  #about img {
    min-height: 280px;
    clip-path: none;
  }
  #activities .img-bg {
    min-height: 270px;
  }
  #activities .swiper {
    margin: 42px 28px 70px;
  }
  #activities .item h5 {
    font-size: 26px;
  }
  #activities .item p {
    font-size: 14px !important;
  }
  #commodities .commodity-card__image {
    height: 220px;
  }
  #commodities .commodity-card__body {
    padding: 24px;
  }
  #operations h4 {
    font-size: 29px;
  }
  #logistics .post-img {
    height: 240px;
  }
  #approach .service-item > div {
    min-height: 0;
    padding: 24px 12px;
  }
  #partnerships .phone-wrap img,
  #contact .row > .col-lg-6 > img {
    clip-path: none;
  }
  #contact .php-email-form {
    padding: 20px;
  }
  #footer .footer-top {
    padding: 24px 0;
  }
  #footer .footer-editorial {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }
  #footer .footer-editorial__brand .logo {
    justify-content: center;
  }
  #footer .footer-editorial__links {
    justify-content: center;
    gap: 20px;
  }
  #footer .footer-editorial__brand .logo img {
    max-width: 170px;
    max-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile navigation fix — keep the menu panel anchored to the viewport */
@media (max-width: 1199px) {
  body.mobile-nav-active {
    overflow: hidden !important;
  }

  body.mobile-nav-active #header.header {
    z-index: 9998;
  }

  body.mobile-nav-active #header .navmenu {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw;
    height: 100dvh;
    overflow: hidden !important;
    z-index: 10000 !important;
    background: rgba(23, 23, 23, 0.42) !important;
    backdrop-filter: blur(3px);
  }

  body.mobile-nav-active #header .mobile-nav-toggle {
    position: fixed !important;
    top: 18px !important;
    right: 20px !important;
    z-index: 10002 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    padding: 0;
    color: var(--rv-ink) !important;
    background: var(--rv-paper);
    border: 1px solid var(--rv-line);
    border-radius: 0;
    line-height: 1;
  }

  body.mobile-nav-active #header .navmenu > ul {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: fixed !important;
    top: 76px !important;
    right: 16px !important;
    bottom: 16px !important;
    left: 16px !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100dvh - 92px);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 18px 0 24px !important;
    background: var(--rv-paper) !important;
    border: 1px solid var(--rv-line) !important;
    border-radius: 2px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18) !important;
    z-index: 10001 !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.mobile-nav-active #header .navmenu > ul > li {
    display: block;
    width: 100%;
  }

  body.mobile-nav-active #header .navmenu > ul > li > a,
  body.mobile-nav-active #header .navmenu > ul > li > a:focus {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px !important;
    color: var(--rv-ink) !important;
    background: transparent;
    font-size: 16px !important;
    line-height: 1.4;
    white-space: normal;
  }

  body.mobile-nav-active #header .navmenu > ul > li > a:hover,
  body.mobile-nav-active #header .navmenu > ul > li > a.active {
    color: var(--rv-copper-dark) !important;
    background: rgba(184, 117, 82, 0.07);
  }

  body.mobile-nav-active #header .navmenu .dropdown ul {
    position: static !important;
    display: none;
    width: auto;
    max-height: none;
    margin: 0 18px 10px !important;
    padding: 6px 0 !important;
    background: #ebe7e0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.mobile-nav-active #header .navmenu .dropdown > .dropdown-active {
    display: block !important;
  }

  body.mobile-nav-active #header .navmenu .dropdown ul a {
    min-height: 42px;
    padding: 10px 16px !important;
    color: var(--rv-ink) !important;
    font-size: 14px !important;
    white-space: normal;
  }
}

@media (max-width: 575px) {
  body.mobile-nav-active #header .navmenu > ul {
    top: 70px !important;
    right: 10px !important;
    bottom: 10px !important;
    left: 10px !important;
    max-height: calc(100dvh - 80px);
  }

  body.mobile-nav-active #header .mobile-nav-toggle {
    top: 13px !important;
    right: 14px !important;
  }
}
/* RIVELUM — Swiper carousel navigation */
.swiper-button-prev,
.swiper-button-next {
  color: #b87552 !important;
  border: 1px solid #b87552 !important;
  background: transparent;
  transition: all 0.25s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: #f4f2ee !important;
  background: #b87552 !important;
  border-color: #b87552 !important;
}

/* Keep the arrow icons copper-colored */
.swiper-button-prev::after,
.swiper-button-next::after {
  color: inherit !important;
  font-size: 16px !important;
  font-weight: 600;
}
