/* ==================================================
FILE : /assets/01-mstr-tmplet/04-jz-mobile/css-v2/mobile-w08-footer.css
LINK : <link rel="stylesheet" href="/assets/01-mstr-tmplet/04-jz-mobile/css-v2/mobile-w08-footer.css">
PURPOSE : MOBILE WIDGET 08 - The Footer (Grid Links & Socials)
VERSION: v1.0 - DATE CREATED : 2026-04-07 - Rebuild - New Typography Architecture
==================================================== */

/* ==================================================
   🛠️ BRAT TWEAKS: LOCAL OVERRIDES & WIRING
   ================================================== */
.jz-mob-w08-wrapper {
  /* --- INTERNAL LAYOUT CONTROLS --- */
  --mob-w08-master-pad: 25px 15px 15px 15px; /* Compacted side/bottom padding */

  /* --- ACCENT COLORS --- */
  --mob-w08-accent: var(--jzn-hover, #38bdf8); 
  --mob-w08-link-idle: var(--mob-subtext-color); 
  --mob-w08-divider: rgba(255, 255, 255, 0.1); 

  /* --- HOVER CONTROLS --- */
  --mob-w08-btn-bg-hover: #0502ab; /* Deep Blue Hover matching W07 */

  /* --- ISOLATED SOCIAL BORDER --- */
  --mob-w08-social-border: 1px solid rgba(255, 255, 255, 0.9);

  /* --- MASTER CONTAINER RGB --- */
  --active-mob-rgb-speed: var(--mob-w08-rgb-speed, 16s);
  --active-mob-rgb-colors: var(--mob-w08-rgb-colors);
}

/* ==================================================
   SECTION 1: THE MASTER GLASS WRAPPER & INSET
   ================================================== */
.jz-mob-w08-wrapper {
  width: 100%;
  max-width: var(--mob-max-width) !important;
  box-sizing: border-box;
  display: block !important;

  /* 🎯 THE SLEDGEHAMMER: Forces Master Margins */
  margin-top: var(--mob-w08-margin-top, 25px) !important;
  margin-bottom: var(--mob-w08-margin-bottom, 25px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.jz-mob-w08-rgb-box {
  width: 100%;
  padding: var(--mob-w08-master-pad) !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ==================================================
   SECTION 2: TOP GRID (2-Column Links)
   ================================================== */
.jz-mob-w08-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px; /* Tightened gap */
  margin-bottom: 20px; /* Reduced margin */
  border-bottom: 1px dashed var(--mob-w08-divider);
  padding-bottom: 20px;
  text-align: left;
}

.jz-mob-w08-col-header {
  font-family: var(--jzn-active-font);
  font-size: var(--jzn-size-sub); /* Wired to Fluid Engine */
  font-weight: 800;
  color: var(--mob-w08-accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.jz-mob-w08-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jz-mob-w08-item {
  font-family: var(--jzn-active-font);
  font-size: var(--jzn-size-micro); /* Ultra compact list items */
  font-weight: 600;
  color: var(--mob-w08-link-idle);
  margin-bottom: 8px;
  display: block;
  text-decoration: none;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.jz-mob-w08-item:active {
  color: var(--mob-w08-accent);
  padding-left: 3px;
}

/* ==================================================
   SECTION 3: MIDDLE SECTION (Contact & Social)
   ================================================== */
.jz-mob-w08-middle {
  text-align: center;
  margin-bottom: 20px; /* Tightened space */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jz-mob-w08-contact-link {
  display: inline-block;
  font-family: var(--jzn-active-font);
  font-size: var(--jzn-size-sub);
  font-weight: 700;
  color: var(--mob-heading-color);
  text-decoration: none;
  border: 1px solid var(--mob-w08-divider);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 1px;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

/* 🎯 BRAT REQUEST: Support-style hover for Contact Link */
.jz-mob-w08-contact-link:hover,
.jz-mob-w08-contact-link:active {
  background: var(--mob-w08-btn-bg-hover);
  color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 0 10px rgba(5, 2, 171, 0.4);
}

.jz-mob-w08-social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.jz-mob-w08-social-btn {
  width: 34px; /* Slightly smaller socials */
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: var(--mob-w08-social-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--jzn-active-font);
  color: var(--mob-heading-color);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

/* 🎯 BRAT REQUEST: Hover color takes Master Modal Hover Accent */
.jz-mob-w08-social-btn:hover,
.jz-mob-w08-social-btn:active {
  background: var(--jzn-hover); /* Studio Accent Color */
  color: #000000;
  transform: translateY(-2px);
  border-color: transparent;
}

/* ==================================================
   SECTION 4: BOTTOM (Legal & Copyright)
   ================================================== */
.jz-mob-w08-bottom {
  text-align: center;
  padding-top: 15px; /* Tightened */
  border-top: 1px solid var(--mob-w08-divider);
}

.jz-mob-w08-legal-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.jz-mob-w08-legal-link,
.jz-mob-w08-copyright {
  font-family: var(--jzn-active-font);
  font-size: var(--jzn-size-micro);
  font-weight: 600;
  color: var(--mob-w08-link-idle);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.jz-mob-w08-legal-link:active {
  color: var(--mob-heading-color);
}

/* ==================================================
   SECTION 5: THE GLOBAL OVERRIDE BRIDGE (LIGHT/DARK)
   ================================================== */
html[data-palette='13'] .jz-mob-w08-wrapper,
html[data-palette='14'] .jz-mob-w08-wrapper,
html[data-palette='15'] .jz-mob-w08-wrapper,
html[data-palette='16'] .jz-mob-w08-wrapper,
html[data-palette='17'] .jz-mob-w08-wrapper,
html[data-palette='18'] .jz-mob-w08-wrapper {
  --mob-w08-social-border: 1px solid rgba(0, 0, 0, 0.9); 
}