/* =========================================================
   UNTAMED TRIBE — DARK FIELD MANUAL / GEAR STANDARDS CSS
   Paste into: Appearance → Customize → Additional CSS
   ========================================================= */

.ut-gear-page {
  --ut-bg: #0b0c09;
  --ut-bg-2: #11120e;
  --ut-card: #151611;
  --ut-card-2: #1b1c16;
  --ut-text: #f1eadc;
  --ut-muted: #bdb49f;
  --ut-dim: #8f8776;
  --ut-line: rgba(241, 234, 220, 0.12);

  --ut-orange: #b7632a;
  --ut-orange-soft: rgba(183, 99, 42, 0.16);
  --ut-orange-line: rgba(183, 99, 42, 0.52);
  --ut-orange-bright: #d4833b;

  --ut-green: #6f7f52;
  --ut-radius: 14px;
  --ut-radius-lg: 22px;
  --ut-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);

  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(circle at 12% 4%, rgba(183, 99, 42, 0.10), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(111, 127, 82, 0.08), transparent 25%),
    var(--ut-bg);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  color: var(--ut-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  margin: 0;
  padding: 0;
}

.ut-gear-page * {
  box-sizing: border-box;
}

.ut-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ut-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 58px;
  border-bottom: 1px solid var(--ut-line);
  background: linear-gradient(180deg, rgba(11, 12, 9, 0.96), rgba(11, 12, 9, 0.88));
}

.ut-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ut-orange-line), transparent);
}

.ut-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ut-orange-bright);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.ut-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--ut-orange);
  display: inline-block;
}

.ut-hero h1 {
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  max-width: 980px;
  margin: 0 0 24px;
  text-transform: uppercase;
  color: var(--ut-text);
}

.ut-hero p {
  max-width: 860px;
  color: var(--ut-muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  margin: 0 0 26px;
}

.ut-hero-grid,
.ut-module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.ut-stat,
.ut-module,
.ut-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ut-line);
  background: linear-gradient(180deg, rgba(27, 28, 22, 0.94), rgba(15, 16, 12, 0.94));
  border-radius: var(--ut-radius);
  padding: 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.ut-stat::before,
.ut-module::before,
.ut-card::before {
  content: "";
  display: block;
  height: 2px;
  width: 48px;
  margin-bottom: 14px;
  background: var(--ut-orange);
  opacity: 0.75;
}

.ut-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--ut-text);
  margin-bottom: 6px;
}

.ut-stat span,
.ut-card p,
.ut-module p,
.ut-section-intro {
  color: var(--ut-muted);
}

.ut-section {
  padding: 58px 0;
  border-bottom: 1px solid var(--ut-line);
}

.ut-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 0 16px;
  text-transform: uppercase;
  color: var(--ut-text);
}

.ut-section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 13px;
  border-radius: 999px;
  background: var(--ut-orange);
  opacity: 0.85;
}

.ut-section-intro {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: 1.05rem;
}

.ut-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.ut-card h3,
.ut-module h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ut-text);
}

.ut-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ut-orange-line);
  color: var(--ut-orange-bright);
  background: rgba(183, 99, 42, 0.08);
  border-radius: 4px;
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.ut-rule {
  border-left: 3px solid var(--ut-orange);
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(183, 99, 42, 0.12), rgba(183, 99, 42, 0.035));
  border-radius: 8px;
  color: var(--ut-text);
  margin-top: 22px;
}

.ut-rule strong {
  color: var(--ut-orange-bright);
}

.ut-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ut-line);
  border-radius: var(--ut-radius);
  background: var(--ut-card);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
  margin-top: 20px;
}

.ut-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.ut-table th,
.ut-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ut-line);
  vertical-align: top;
}

.ut-table th {
  background: rgba(183, 99, 42, 0.10);
  color: var(--ut-orange-bright);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
}

.ut-table td {
  color: var(--ut-muted);
}

.ut-table td:first-child {
  color: var(--ut-text);
  font-weight: 750;
}

.ut-table tr:last-child td {
  border-bottom: none;
}

.ut-module ul,
.ut-card ul {
  padding-left: 20px;
  margin: 12px 0 0;
  color: var(--ut-muted);
}

.ut-module li,
.ut-card li {
  margin-bottom: 8px;
}

.ut-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ut-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.ut-btn-primary {
  color: #15100b;
  background: var(--ut-orange-bright);
  border: 1px solid var(--ut-orange-bright);
}

.ut-btn-secondary {
  color: var(--ut-text);
  border: 1px solid var(--ut-line);
  background: rgba(241, 234, 220, 0.04);
}

.ut-btn:hover {
  transform: translateY(-1px);
}

.ut-btn-secondary:hover,
.ut-page-nav a:hover {
  border-color: var(--ut-orange-line);
  background: rgba(183, 99, 42, 0.09);
}

.ut-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ut-page-nav a {
  color: var(--ut-text);
  border: 1px solid var(--ut-line);
  background: rgba(241, 234, 220, 0.05);
  border-radius: 4px;
  padding: 9px 12px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 750;
}

.ut-hero-media {
  position: relative;
  margin-top: 34px;
  border: 1px solid rgba(241, 234, 220, 0.13);
  border-radius: var(--ut-radius-lg);
  overflow: hidden;
  box-shadow: var(--ut-shadow);
  background: #080906;
  min-height: 320px;
}

.ut-hero-media img {
  display: block;
  width: 100%;
  height: clamp(300px, 38vw, 500px);
  object-fit: cover;
  filter: grayscale(0.12) saturate(0.72) contrast(1.12) brightness(0.72);
}

.ut-hero-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, rgba(11, 12, 9, 0.88), rgba(11, 12, 9, 0.28), rgba(11, 12, 9, 0.72)),
    linear-gradient(0deg, rgba(11, 12, 9, 0.94), transparent 48%),
    radial-gradient(circle at 18% 82%, rgba(183, 99, 42, 0.18), transparent 28%);
  pointer-events: none;
}

.ut-hero-media::before {
  content: "FIELD STANDARD";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  border: 1px solid rgba(183, 99, 42, 0.58);
  color: var(--ut-orange-bright);
  background: rgba(11, 12, 9, 0.74);
  padding: 7px 10px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
}

.ut-photo-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 4;
  max-width: 760px;
  padding: 14px 16px;
  border-left: 3px solid var(--ut-orange);
  background: rgba(11, 12, 9, 0.78);
  color: var(--ut-text);
  border-radius: 8px;
}

.ut-photo-caption strong {
  display: block;
  color: var(--ut-orange-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.ut-photo-caption span {
  color: var(--ut-muted);
  font-size: 0.94rem;
}

.ut-image-card {
  margin-top: 28px;
  border-radius: var(--ut-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.12);
  background: var(--ut-card);
  box-shadow: var(--ut-shadow);
}

.ut-image-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: grayscale(0.15) saturate(0.72) contrast(1.1) brightness(0.76);
}

.ut-image-card-content {
  padding: 20px;
  border-top: 2px solid var(--ut-orange);
}

.ut-image-card-content h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--ut-text);
}

.ut-image-card-content p {
  margin: 0;
  color: var(--ut-muted);
}

.ut-footer-standard {
  padding: 48px 0 70px;
}

.ut-standard-box {
  border: 1px solid rgba(183, 99, 42, 0.30);
  border-radius: 24px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(183, 99, 42, 0.08), rgba(15, 16, 12, 0.96));
  box-shadow: var(--ut-shadow);
}

.ut-standard-box h2 {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  color: var(--ut-text);
}

.ut-standard-box p {
  color: var(--ut-muted);
  margin: 0 0 14px;
  font-size: 1.08rem;
}

.ut-standard-box .ut-final {
  color: var(--ut-text);
  font-weight: 850;
  font-size: 1.2rem;
  margin-top: 18px;
}

@media (max-width: 920px) {
  .ut-hero-grid,
  .ut-two-col,
  .ut-module-grid {
    grid-template-columns: 1fr;
  }

  .ut-hero {
    padding-top: 56px;
  }
}

@media (max-width: 700px) {
  .ut-hero-media img {
    height: 300px;
  }

  .ut-photo-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .ut-hero-media::before {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 560px) {
  .ut-wrap {
    width: min(100% - 22px, 1180px);
  }

  .ut-card,
  .ut-module,
  .ut-standard-box {
    padding: 18px;
  }

  .ut-table {
    min-width: 680px;
  }
}
/* =========================================================
   UNTAMED TRIBE — STICKY START HERE SIDEBAR
   Applies to all expedition gear system pages
   ========================================================= */

.ut-sticky-start {
  position: sticky;
  top: 115px;
  align-self: flex-start;
  z-index: 20;
}

/* Keeps sticky behavior from being blocked by common WP containers */
.wp-block-columns,
.wp-block-column,
.entry-content,
.site-content,
.content-area,
.ast-container,
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap {
  overflow: visible;
}

/* Optional: match dark field-manual styling */
.ut-start-here-card {
  border: 1px solid rgba(241, 234, 220, 0.14);
  background: rgba(10, 10, 8, 0.94);
  padding: 24px;
  color: #f1eadc;
}

.ut-start-here-card h3 {
  color: #f1eadc;
  font-size: 1.5rem;
  margin: 0 0 14px;
}

.ut-start-here-card p {
  color: #bdb49f;
  margin: 0 0 18px;
  line-height: 1.55;
}

.ut-start-here-card a {
  display: block;
  color: #f1eadc;
  text-decoration: none;
  padding: 14px 0;
  border-top: 1px solid rgba(241, 234, 220, 0.13);
}

.ut-start-here-card a:hover {
  color: #d4833b;
}

/* Disable sticky on mobile */
@media (max-width: 900px) {
  .ut-sticky-start {
    position: static;
    top: auto;
  }
}
/* =========================================================
   UNTAMED TRIBE — NO-SCROLL TABLE READABILITY FIX
   Applies to all gear-system tables
   ========================================================= */

/* Desktop/tablet table behavior */
.ut-gear-page .ut-table-wrap {
  width: 100%;
  overflow-x: visible;
  -webkit-overflow-scrolling: auto;
}

.ut-gear-page .ut-table {
  width: 100%;
  min-width: 0 !important;
  table-layout: auto;
  border-collapse: collapse;
}

.ut-gear-page .ut-table th,
.ut-gear-page .ut-table td {
  padding: 20px 22px;
  line-height: 1.6;
  vertical-align: top;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Prevent narrow first-column stacking */
.ut-gear-page .ut-table th:first-child,
.ut-gear-page .ut-table td:first-child {
  width: 24%;
  min-width: 150px;
  font-weight: 800;
}

/* Give content columns breathing room */
.ut-gear-page .ut-table th:nth-child(2),
.ut-gear-page .ut-table td:nth-child(2) {
  width: 40%;
}

.ut-gear-page .ut-table th:nth-child(3),
.ut-gear-page .ut-table td:nth-child(3) {
  width: 36%;
}

/* Four-column duration tables */
.ut-gear-page .ut-table th:nth-child(4),
.ut-gear-page .ut-table td:nth-child(4) {
  width: auto;
}

/* Cleaner table headers */
.ut-gear-page .ut-table th {
  font-size: 0.76rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

/* =========================================================
   NARROW LAYOUT: STACK ROWS INTO READABLE CARDS
   No horizontal scrolling required
   ========================================================= */

@media (max-width: 900px) {
  .ut-gear-page .ut-table-wrap {
    overflow-x: visible;
    border-radius: 14px;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .ut-gear-page .ut-table,
  .ut-gear-page .ut-table thead,
  .ut-gear-page .ut-table tbody,
  .ut-gear-page .ut-table th,
  .ut-gear-page .ut-table td,
  .ut-gear-page .ut-table tr {
    display: block;
    width: 100%;
    min-width: 0 !important;
  }

  .ut-gear-page .ut-table thead {
    display: none;
  }

  .ut-gear-page .ut-table tr {
    margin: 0 0 18px;
    border: 1px solid rgba(241, 234, 220, 0.12);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(27, 28, 22, 0.96), rgba(15, 16, 12, 0.96));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    overflow: hidden;
  }

  .ut-gear-page .ut-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(241, 234, 220, 0.10);
    line-height: 1.55;
  }

  .ut-gear-page .ut-table td:last-child {
    border-bottom: none;
  }

  .ut-gear-page .ut-table td:first-child {
    width: 100%;
    min-width: 0;
    color: #f1eadc;
    background: rgba(183, 99, 42, 0.10);
    border-left: 3px solid #b7632a;
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .ut-gear-page .ut-table td:nth-child(2)::before {
    content: "Standard: ";
    display: block;
    margin-bottom: 5px;
    color: #d4833b;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .ut-gear-page .ut-table td:nth-child(3)::before {
    content: "Purpose: ";
    display: block;
    margin-bottom: 5px;
    color: #d4833b;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .ut-gear-page .ut-table td:nth-child(4)::before {
    content: "Additional Requirement: ";
    display: block;
    margin-bottom: 5px;
    color: #d4833b;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

/* Phone refinement */
@media (max-width: 560px) {
  .ut-gear-page .ut-table td {
    padding: 15px 16px;
  }

  .ut-gear-page .ut-table td:first-child {
    font-size: 1rem;
  }
}
/* Untamed Tribe — WPForms Form 3606 Styling */
#wpforms-3606,
#wpforms-form-3606 {
  background: #0f120d;
  color: #f4efe4;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(199, 99, 43, 0.35);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  max-width: 760px;
  margin: 0 auto;
}

/* Labels */
#wpforms-3606 .wpforms-field-label,
#wpforms-form-3606 .wpforms-field-label {
  color: #f4efe4 !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

/* Sublabels / descriptions */
#wpforms-3606 .wpforms-field-sublabel,
#wpforms-3606 .wpforms-field-description,
#wpforms-form-3606 .wpforms-field-sublabel,
#wpforms-form-3606 .wpforms-field-description {
  color: #cfc6b8 !important;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Inputs, textareas, dropdowns */
#wpforms-3606 input[type="text"],
#wpforms-3606 input[type="email"],
#wpforms-3606 input[type="tel"],
#wpforms-3606 input[type="number"],
#wpforms-3606 input[type="url"],
#wpforms-3606 input[type="date"],
#wpforms-3606 textarea,
#wpforms-3606 select,
#wpforms-form-3606 input[type="text"],
#wpforms-form-3606 input[type="email"],
#wpforms-form-3606 input[type="tel"],
#wpforms-form-3606 input[type="number"],
#wpforms-form-3606 input[type="url"],
#wpforms-form-3606 input[type="date"],
#wpforms-form-3606 textarea,
#wpforms-form-3606 select {
  background: #f7f2e8 !important;
  color: #11140f !important;
  border: 1px solid rgba(244, 239, 228, 0.45) !important;
  border-radius: 10px !important;
  min-height: 48px;
  padding: 12px 14px !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
}

/* Placeholder text */
#wpforms-3606 ::placeholder,
#wpforms-form-3606 ::placeholder {
  color: #5f5b52 !important;
  opacity: 1;
}

/* Focus state */
#wpforms-3606 input:focus,
#wpforms-3606 textarea:focus,
#wpforms-3606 select:focus,
#wpforms-form-3606 input:focus,
#wpforms-form-3606 textarea:focus,
#wpforms-form-3606 select:focus {
  outline: 3px solid rgba(199, 99, 43, 0.45) !important;
  border-color: #c7632b !important;
  box-shadow: none !important;
}

/* Radio / checkbox text */
#wpforms-3606 .wpforms-field-checkbox li label,
#wpforms-3606 .wpforms-field-radio li label,
#wpforms-form-3606 .wpforms-field-checkbox li label,
#wpforms-form-3606 .wpforms-field-radio li label {
  color: #f4efe4 !important;
  font-size: 1rem;
  line-height: 1.45;
}

/* Required asterisk */
#wpforms-3606 .wpforms-required-label,
#wpforms-form-3606 .wpforms-required-label {
  color: #c7632b !important;
}

/* Submit button */
#wpforms-3606 button[type="submit"],
#wpforms-form-3606 button[type="submit"] {
  background: #c7632b !important;
  color: #ffffff !important;
  border: 1px solid #c7632b !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem !important;
  transition: all 0.2s ease;
}

/* Submit hover */
#wpforms-3606 button[type="submit"]:hover,
#wpforms-form-3606 button[type="submit"]:hover {
  background: #ffffff !important;
  color: #11140f !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
}

/* Errors */
#wpforms-3606 label.wpforms-error,
#wpforms-form-3606 label.wpforms-error {
  color: #ff6b5e !important;
  font-weight: 700;
  margin-top: 6px;
}

#wpforms-3606 .wpforms-error,
#wpforms-form-3606 .wpforms-error {
  border-color: #ff6b5e !important;
}

/* Confirmation message */
#wpforms-confirmation-3606 {
  background: #151910 !important;
  color: #f4efe4 !important;
  border: 1px solid rgba(199, 99, 43, 0.45) !important;
  border-radius: 14px;
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Mobile readability */
@media (max-width: 600px) {
  #wpforms-3606,
  #wpforms-form-3606 {
    padding: 20px;
    border-radius: 14px;
  }

  #wpforms-3606 button[type="submit"],
  #wpforms-form-3606 button[type="submit"] {
    width: 100%;
    text-align: center;
  }
}