/* WiraNusa Brand Guidelines 2026 — companion plugin UI overrides. */
.wn-card,
.wn-product-card,
.wn-product-details > section,
.wn-product-details dl > div,
.wn-table-scroll,
.wn-map-panel dl > div,
.wn-rfq-form fieldset { border-color: rgba(32, 84, 118, 0.18); }
.wn-card { border-top: 4px solid #205476; }
.wn-card:nth-child(2n) { border-top-color: #f26c21; }
.wn-card-index,
.wn-kicker { color: #f26c21; }
.wn-text-link,
.wn-map-list button { color: #205476; }
.wn-card-media { background: #e3eaf0; }
.wn-card-media-placeholder { background: linear-gradient(135deg, #205476, #0e1a23); }
.wn-card-media-placeholder span { color: #fff; }
.wn-service-list article > span { color: #fff; }
.wn-empty-state,
.wn-export-map,
.wn-rfq-form,
.wn-catalog-filter { background: #faf7f1; }
.wn-inline-cta,
.wn-map-canvas,
.wn-table-scroll thead th,
.wn-pagination .current { background: #205476; }
.wn-table-scroll tbody th { background: #e3eaf0; }
.wn-map-marker circle:first-child { fill: #f26c21; }
.wn-map-marker .wn-map-pulse { stroke: #f26c21; }
.wn-map-marker text { stroke: #205476; }
.wn-map-marker:focus circle:first-child,
.wn-map-marker.is-active circle:first-child { stroke: #f26c21; }
.wn-map-route { fill: none; stroke: #f26c21; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; stroke-width: 3; }
.wn-map-route[hidden] { display: none; }
.wn-map-canvas.is-route-active .wn-map-route { animation: wn-draw-route 1.2s cubic-bezier(.6, 0, .25, 1) var(--wn-route-delay, 0s) forwards; }
.wn-map-origin circle:first-child { fill: #f26c21; stroke: #fff; stroke-width: 3; }
.wn-map-origin-pulse { fill: none; stroke: #ff9b61; stroke-width: 2; }
.wn-map-origin text { fill: #fff; font-size: 14px; font-weight: 700; paint-order: stroke; stroke: #205476; stroke-width: 4; }
.wn-map-canvas.is-route-active .wn-map-origin-pulse { animation: wn-origin-pulse 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.wn-map-replay { align-self: end; background: #fff; border: 1px solid #205476; color: #205476; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 700; min-height: 44px; padding: .6rem .8rem; text-transform: uppercase; }
.wn-map-replay:hover { background: #205476; color: #fff; }
@keyframes wn-draw-route { to { stroke-dashoffset: 0; } }
@keyframes wn-origin-pulse { 0% { opacity: .9; transform: scale(.7); } 75%, 100% { opacity: 0; transform: scale(1.8); } }
.wn-map-list button,
.wn-pagination a,
.wn-pagination span { border-color: #205476; }
.wn-rfq-form legend { color: #205476; }
.wn-filter-row select,
.wn-rfq-form input:not([type=checkbox]):not([type=file]),
.wn-rfq-form select,
.wn-rfq-form textarea,
.wn-catalog-filter select { border-color: #5a6876; }
.wn-table-scroll:focus,
.wn-rfq-form input:focus,
.wn-rfq-form select:focus,
.wn-rfq-form textarea:focus { outline-color: #f26c21; }
.wn-form-success { background: #e7f5ee; border-left-color: #2f9e6c; }
.wn-form-error { background: #fff0ed; border-left-color: #c43d3d; }
.wn-rfq-form .wn-field-invalid input:not([type=file]),
.wn-rfq-form .wn-field-invalid select,
.wn-rfq-form .wn-field-invalid textarea { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.wn-rfq-form .wn-field-invalid input[type=checkbox] { outline: 2px solid #b42318; outline-offset: 2px; }
.wn-rfq-form .wn-field-error { color: #8f1d14; display: block; font-size: .78rem; font-weight: 700; margin-top: .2rem; }
.wn-rfq-form .wn-consent.wn-field-invalid { grid-template-columns: auto minmax(0, 1fr); }
.wn-rfq-form .wn-consent .wn-field-error { grid-column: 2; }
.wn-rfq-more { border-top: 1px solid rgba(32, 84, 118, .18); margin: 0 0 1.5rem; padding-top: .9rem; }
.wn-rfq-more > summary { color: #205476; cursor: pointer; font-weight: 750; list-style-position: outside; margin-left: 1.1rem; min-height: 44px; padding: .7rem .2rem; }
.wn-rfq-more > summary::marker { color: #f26c21; }
.wn-rfq-more[open] > summary { margin-bottom: 1rem; }
.wn-rfq-more > .wn-form-grid { padding-bottom: .5rem; }
.wn-rfq-more > summary:focus-visible { outline: 3px solid #f26c21; outline-offset: 3px; }
@media(prefers-reduced-motion:reduce){.wn-map-route{stroke-dashoffset:0}.wn-map-canvas.is-route-active .wn-map-route,.wn-map-canvas.is-route-active .wn-map-origin-pulse{animation:none}}

/* Density pass for homepage cards, services, and the conditional shipment map. */
.wn-card-grid { align-items: start; }
.wn-card,
.wn-product-card { min-height: 0; }
.wn-card { padding: 1.2rem; }
.wn-card h3,
.wn-product-card h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin: .3rem 0 .55rem; }
.wn-card p,
.wn-product-card p { font-size: .9rem; line-height: 1.5; margin-block: .45rem; }
.wn-card-body { padding: 1.1rem 1.2rem 1.25rem; }
.wn-card-media img { filter: brightness(1.06) saturate(1.04); }

.wn-service-list article {
  align-items: start;
  gap: .7rem;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  padding: .85rem 0;
}
.wn-service-number { color: #f26c21; font: 600 .75rem/1.2 ui-monospace, monospace; padding-top: .25rem; }
.wn-service-heading { align-items: center; display: flex; gap: .75rem; justify-content: space-between; }
.wn-service-list h3.wn-service-heading { font-size: 1.05rem; line-height: 1.3; margin: 0; }
.wn-service-list .wn-service-arrow {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 2rem;
  height: 2rem;
  justify-content: center;
  text-decoration: none;
  width: 2rem;
}
.wn-services-section .wn-service-arrow { color: #205476; }
.wn-service-list article p { font-size: .88rem; line-height: 1.45; margin: .3rem 0 0; }

.wn-export-map.wn-map-section {
  margin-inline: auto;
  max-width: 1200px;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 1.5rem);
  width: calc(100% - clamp(2rem, 6vw, 3rem));
}

@media (min-width: 1100px) {
  .wn-category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 851px) and (max-width: 1099px) {
  .wn-category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wn-category-grid > .wn-card { grid-column: span 2; }
  .wn-category-grid > .wn-card:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
}

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

@media (max-width: 580px) {
  .wn-category-grid { grid-template-columns: 1fr; }
  .wn-service-list article { grid-template-columns: 1.45rem minmax(0, 1fr); }
  .wn-export-map.wn-map-section { width: calc(100% - 2rem); }
}

/* Dependency-free, progressively enhanced card carousels. */
.wn-carousel {
  margin-inline: auto;
  max-width: 1200px;
  position: relative;
  width: 100%;
}
.wn-carousel-viewport { position: relative; }
.wn-carousel-viewport::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9));
  bottom: 1rem;
  content: "";
  pointer-events: none;
  position: absolute;
  right: 0;
  top: .2rem;
  transition: opacity .2s ease;
  width: clamp(2rem, 5vw, 4rem);
}
.has-cream-background-color .wn-carousel-viewport::after { background: linear-gradient(90deg, rgba(245, 248, 250, 0), rgba(245, 248, 250, .94)); }
.wn-carousel.is-at-end .wn-carousel-viewport::after,
.wn-carousel.is-static .wn-carousel-viewport::after { opacity: 0; }
.wn-carousel-track.wn-card-grid {
  --wn-carousel-gap: 1.5rem;
  align-items: stretch;
  display: grid;
  gap: var(--wn-carousel-gap);
  grid-auto-columns: calc(33.333333% - 1rem);
  grid-auto-flow: column;
  grid-template-columns: none !important;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: .2rem .15rem 1rem;
  scroll-padding-inline: .15rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(32, 84, 118, .45) transparent;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}
.wn-carousel-track > .wn-card {
  border-top: 2px solid #f26c21;
  display: flex;
  flex-direction: column;
  grid-column: auto !important;
  height: 100%;
  min-height: 360px;
  position: relative;
  scroll-snap-align: start;
  transition: border-top-width .2s ease, box-shadow .2s ease, transform .2s ease;
}
.wn-carousel-track > .wn-card:hover,
.wn-carousel-track > .wn-card:focus-within {
  border-top-width: 2px;
  box-shadow: inset 0 3px #f26c21, 0 14px 30px rgba(14, 26, 35, .13);
  transform: translateY(-4px);
}
.wn-category-media {
  aspect-ratio: 16 / 7;
  margin: calc(clamp(1.4rem, 2.5vw, 2rem) * -1) calc(clamp(1.4rem, 2.5vw, 2rem) * -1) 1rem;
  overflow: hidden;
}
.wn-category-media img { height: 100%; object-fit: cover; width: 100%; }
.wn-carousel-track .wn-card-index,
.wn-carousel-track .wn-kicker {
  align-content: start;
  display: -webkit-box;
  line-height: 1.35;
  min-height: 2.7em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.wn-carousel-track h3 {
  display: -webkit-box;
  line-height: 1.25;
  min-height: 2.5em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.wn-carousel-track .wn-card-description {
  display: -webkit-box;
  line-height: 1.55;
  min-height: 4.65em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.wn-carousel-track .wn-card-action { margin-top: auto; }
.wn-carousel-controls { display: none; }
.wn-carousel-ready:not(.is-static) .wn-carousel-controls {
  align-items: center;
  display: flex;
  gap: .55rem;
  justify-content: flex-end;
  margin-bottom: .65rem;
  min-height: 46px;
}
.wn-carousel-status {
  color: #205476;
  font: 700 .72rem/1 ui-monospace, monospace;
  letter-spacing: .08em;
  margin-right: .25rem;
  min-width: 4.75rem;
  text-align: right;
}
.wn-carousel-arrow {
  align-items: center;
  background: #205476;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(14, 26, 35, .2);
  color: #fff;
  cursor: pointer;
  display: flex;
  font: 700 1.2rem/1 sans-serif;
  height: 46px;
  justify-content: center;
  padding: 0;
  position: static;
  transform: none;
  width: 46px;
}
.wn-carousel-arrow:hover { background: #f26c21; }
.wn-carousel-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1099px) {
  .wn-carousel-track.wn-card-grid { grid-auto-columns: calc(50% - .75rem); }
}

@media (max-width: 600px) {
  .wn-carousel-track.wn-card-grid { --wn-carousel-gap: 1rem; grid-auto-columns: 86.9565%; }
  .wn-carousel-arrow { height: 44px; width: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .wn-carousel-track > .wn-card { transition: none; }
  .wn-carousel-track > .wn-card:hover,
  .wn-carousel-track > .wn-card:focus-within { transform: none; }
  .wn-carousel-viewport::after { transition: none; }
}

/* Display-approved operational activity gallery and native-dialog viewer. */
.wn-activity-gallery { width: 100%; }
.wn-carousel-track > .wn-activity-card {
  background: #fff;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}
.wn-activity-open {
  appearance: none;
  background: #fff;
  border: 0;
  color: #0e1a23;
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  text-align: left;
  width: 100%;
}
.wn-activity-open:focus-visible { box-shadow: inset 0 0 0 3px #f26c21; outline: 0; }
.wn-activity-media { aspect-ratio: 4 / 3; background: #dce5ea; display: block; overflow: hidden; width: 100%; }
.wn-activity-image {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
  width: 100%;
}
.wn-activity-card:hover .wn-activity-image,
.wn-activity-card:focus-within .wn-activity-image { transform: scale(1.025); }
.wn-activity-caption { display: flex; flex-direction: column; gap: .28rem; min-height: 88px; padding: 1rem 1.1rem 1.1rem; }
.wn-activity-caption strong { color: #205476; font-size: 1rem; line-height: 1.35; }
.wn-activity-caption span { color: #52616b; font-size: .76rem; letter-spacing: .035em; text-transform: uppercase; }
.wn-activity-dialog {
  background: transparent;
  border: 0;
  height: 100%;
  margin: auto;
  max-height: 100%;
  max-width: 100%;
  padding: clamp(1rem, 3vw, 2rem);
  width: 100%;
}
.wn-activity-dialog::backdrop { background: rgba(7, 21, 31, .88); }
.wn-activity-dialog-inner { margin: auto; max-width: min(1100px, 94vw); position: relative; }
.wn-activity-dialog figure { margin: 0; }
.wn-activity-dialog img { background: #102b3d; display: block; max-height: 78vh; object-fit: contain; width: 100%; }
.wn-activity-dialog figcaption { background: #fff; color: #0e1a23; display: flex; flex-wrap: wrap; gap: .35rem 1rem; justify-content: space-between; padding: .9rem 1rem; }
.wn-activity-dialog figcaption strong { color: #205476; }
.wn-activity-dialog figcaption span { color: #52616b; font-size: .8rem; letter-spacing: .035em; text-transform: uppercase; }
.wn-activity-dialog-close {
  align-items: center;
  background: #f26c21;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: 700 1.45rem/1 sans-serif;
  height: 46px;
  justify-content: center;
  position: absolute;
  right: -14px;
  top: -14px;
  width: 46px;
  z-index: 2;
}
.wn-activity-dialog-close:focus-visible { box-shadow: 0 0 0 3px #205476, 0 0 0 5px #fff; outline: 0; }
@media (max-width: 600px) {
  .wn-activity-caption { min-height: 78px; }
  .wn-activity-dialog { padding: .75rem; }
  .wn-activity-dialog img { max-height: 72vh; }
  .wn-activity-dialog-close { right: -.25rem; top: -.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wn-activity-image { transition: none; }
  .wn-activity-card:hover .wn-activity-image,
  .wn-activity-card:focus-within .wn-activity-image { transform: none; }
}

/* Decorative, multi-origin export route map. */
.wn-export-map.wn-map-section { background: transparent; }
.wn-map-heading { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.wn-map-heading h2 { margin: .25rem 0 0; }
.wn-map-canvas {
  background: #205476;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(14, 26, 35, .16);
  min-height: 0;
  overflow: hidden;
  padding: clamp(.45rem, 1.4vw, .9rem);
}
.wn-map-canvas svg {
  display: block;
  height: auto;
  min-width: 0;
  overflow: visible;
  width: 100%;
}
.wn-map-ocean { fill: #205476; }
.wn-map-canvas .wn-land { fill: #dce5ea; opacity: .76; }
.wn-map-label-leader { stroke: rgba(255, 255, 255, .78); stroke-linecap: round; stroke-width: 1.2; }
.wn-map-route {
  animation: wn-route-loop 6s cubic-bezier(.45, 0, .3, 1) var(--wn-route-delay, 0s) infinite;
  fill: none;
  opacity: 0;
  stroke: #f26c21;
  stroke-dasharray: .045 .028;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-width: 2.8;
}
.wn-map-origin circle:not(.wn-map-origin-pulse) { fill: #fff; stroke: #f26c21; stroke-width: 3; }
.wn-map-origin-pulse {
  animation: wn-map-marker-pulse 3.2s ease-out infinite;
  fill: none;
  opacity: .5;
  stroke: #fff;
  stroke-width: 1.8;
  transform-box: fill-box;
  transform-origin: center;
}
.wn-map-origin text,
.wn-map-destination-code {
  fill: #fff;
  font: 700 12px/1 sans-serif;
  paint-order: stroke;
  stroke: #205476;
  stroke-width: 4px;
}
.wn-map-marker { cursor: help; outline: none; }
.wn-map-marker .wn-map-pulse {
  animation: wn-map-marker-pulse 3.2s ease-out var(--wn-marker-delay, 0s) infinite;
  fill: none;
  opacity: .55;
  stroke: #f26c21;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
}
.wn-map-marker .wn-map-destination-dot { fill: #f26c21; stroke: #fff; stroke-width: 2.5; }
.wn-map-marker:focus .wn-map-destination-dot { fill: #fff; stroke: #f26c21; stroke-width: 5; }
.wn-map-tooltip {
  fill: #fff;
  font: 700 15px/1 sans-serif;
  opacity: 0;
  paint-order: stroke;
  pointer-events: none;
  stroke: #205476;
  stroke-linejoin: round;
  stroke-width: 9px;
  transition: opacity .18s ease;
}
.wn-map-marker:hover .wn-map-tooltip,
.wn-map-marker:focus .wn-map-tooltip { opacity: 1; }
.wn-map-caption {
  color: #405463;
  font-size: .8rem;
  margin: .9rem 0 0;
  text-align: center;
}
.wn-screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}
@keyframes wn-route-loop {
  0%, 10% { opacity: 0; stroke-dashoffset: 1; }
  28%, 72% { opacity: .95; stroke-dashoffset: 0; }
  90%, 100% { opacity: 0; stroke-dashoffset: -1; }
}
@keyframes wn-map-marker-pulse {
  0% { opacity: .58; transform: scale(.55); }
  70%, 100% { opacity: 0; transform: scale(1.35); }
}
@media (max-width: 580px) {
  .wn-map-canvas { overflow: hidden; }
  .wn-map-canvas svg { min-width: 0; }
  .wn-map-caption { font-size: .73rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wn-map-route { animation: none; opacity: .9; stroke-dashoffset: 0; }
  .wn-map-origin-pulse,
  .wn-map-marker .wn-map-pulse { animation: none; opacity: .35; }
  .wn-map-tooltip { transition: none; }
}

/* Verified shipment proof: grouped countries and optional loading-photo strip. */
.wn-loading-marquee {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  overflow-x: hidden;
  position: relative;
}
.wn-loading-marquee-track {
  animation: wn-loading-marquee 34s linear infinite;
  display: flex;
  width: max-content;
}
.wn-loading-marquee-group {
  display: flex;
  flex: none;
  gap: .8rem;
  padding-right: .8rem;
}
.wn-loading-photo {
  flex: 0 0 auto;
  height: 180px;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: min(28vw, 310px);
}
.wn-loading-photo img { height: 100%; object-fit: cover; width: 100%; }
.wn-loading-photo figcaption {
  background: linear-gradient(transparent, rgba(14, 26, 35, .82));
  bottom: 0;
  color: #fff;
  font-size: .72rem;
  left: 0;
  padding: 1.6rem .7rem .55rem;
  position: absolute;
  right: 0;
}
.wn-loading-marquee:hover .wn-loading-marquee-track,
.wn-loading-marquee:focus .wn-loading-marquee-track,
.wn-loading-marquee:focus-within .wn-loading-marquee-track { animation-play-state: paused; }
.wn-export-proof-grid { align-items: stretch; }
.wn-export-proof-card { display: flex; flex-direction: column; min-width: 0; }
.wn-export-proof-card h3 { margin-bottom: .65rem; }
.wn-export-shipments { border-top: 1px solid rgba(32, 84, 118, .16); }
.wn-export-shipment-row { padding: .8rem 0; }
.wn-export-shipment-row + .wn-export-shipment-row { border-top: 1px solid rgba(32, 84, 118, .16); }
.wn-export-shipment-row h4 { color: #0e1a23; font-family: Inter, sans-serif; font-size: .95rem; margin: 0 0 .3rem; }
.wn-export-shipment-row p { font-size: .82rem; line-height: 1.45; margin: .35rem 0 0; }
.wn-export-shipment-row > p:not(.wn-export-shipment-meta) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wn-export-shipment-meta { display: flex; flex-wrap: wrap; gap: .35rem .8rem; }
.wn-export-shipment-meta span { color: #405463; }
.wn-export-shipment-meta span + span::before { color: #f26c21; content: "•"; margin-right: .8rem; }
.wn-export-origins { border-top: 1px solid rgba(32, 84, 118, .16); font-size: .78rem; margin: auto 0 0; padding-top: .75rem; }
@keyframes wn-loading-marquee { to { transform: translateX(-50%); } }
@media (max-width: 580px) {
  .wn-loading-marquee { margin-inline: -1rem; padding-inline: 1rem; }
  .wn-loading-photo { height: 120px; width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .wn-loading-marquee { overflow-x: auto; }
  .wn-loading-marquee-track { animation: none; }
  .wn-loading-marquee-group[aria-hidden="true"] { display: none; }
}
