/* College of Education Social Media Hub
   All selectors are scoped to the hub so FAU's CMS template remains unchanged. */

.coe-social-hub {
  --hub-fau-blue: #003366;
  --hub-fau-red: #cc0000;
  --hub-ink: #202020;
  --hub-line: #d7d7d7;
  --hub-row: #f6f6f6;
  background: #fff;
  color: var(--hub-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  width: 100%;
}

.coe-social-hub,
.coe-social-hub * {
  box-sizing: border-box;
}

.coe-social-hub .hub-page-image {
  border: 0;
  display: block;
  height: 265px;
  margin: 0 0 30px;
  max-width: none;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.coe-social-hub .hub-content {
  margin: 0 auto;
  max-width: 940px;
  padding: 0 18px 56px;
}

.coe-social-hub .hub-content h1 {
  color: var(--hub-fau-blue);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 14px;
  padding: 0;
  text-transform: none;
}

.coe-social-hub .hub-lead {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 24px;
}

.coe-social-hub .hub-callout {
  margin: 0 0 24px;
}

.coe-social-hub .hub-callout h2 {
  border: 0;
  color: var(--hub-fau-blue);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
  padding: 0;
  text-transform: none;
}

.coe-social-hub .hub-divider {
  border: 0;
  border-top: 1px solid var(--hub-line);
  height: 0;
  margin: 26px 0;
}

.coe-social-hub .hub-account-groups {
  display: block;
}

.coe-social-hub .hub-group + .hub-group {
  margin-top: 36px;
}

.coe-social-hub .hub-group h2 {
  border: 0;
  border-bottom: 3px solid var(--hub-fau-red);
  color: var(--hub-fau-blue);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  padding: 0 0 8px;
  text-transform: none;
}

.coe-social-hub .hub-table-wrap {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  width: 100%;
}

.coe-social-hub table.hub-table {
  background: transparent;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  min-width: 860px;
  table-layout: fixed;
  width: 100%;
}

.coe-social-hub .hub-table th,
.coe-social-hub .hub-table td {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hub-line);
  box-shadow: none;
  height: 58px;
  padding: 12px 14px;
  vertical-align: middle;
}

.coe-social-hub .hub-table tbody th {
  color: var(--hub-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  width: 34.2%;
}

.coe-social-hub .hub-table tbody tr:nth-child(even) th,
.coe-social-hub .hub-table tbody tr:nth-child(even) td {
  background: transparent;
}

.coe-social-hub .hub-table tbody tr:hover th,
.coe-social-hub .hub-table tbody tr:hover td {
  background: var(--hub-row);
}

.coe-social-hub .hub-table td {
  font-size: 16px;
  text-align: center;
  width: 9.4%;
}

.coe-social-hub a.platform-link {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  min-height: 34px;
  min-width: 34px;
  padding: 0;
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
  vertical-align: middle;
  width: 34px;
}

.coe-social-hub a.platform-link:hover,
.coe-social-hub a.platform-link:focus {
  background: transparent;
  opacity: .82;
  text-decoration: none;
  transform: translateY(-1px);
}

.coe-social-hub a.platform-link:focus-visible {
  outline: 2px solid var(--hub-fau-blue);
  outline-offset: 2px;
}

.coe-social-hub img.platform-logo {
  border: 0;
  display: block;
  height: 26px;
  margin: 0;
  max-height: 26px;
  max-width: 26px;
  padding: 0;
  width: 26px;
}

.coe-social-hub .platform-empty {
  color: transparent;
}

@media (max-width: 720px) {
  .coe-social-hub .hub-page-image {
    height: 190px;
  }

  .coe-social-hub .hub-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .coe-social-hub .hub-content h1 {
    font-size: 36px;
  }

  .coe-social-hub .hub-callout h2 {
    font-size: 25px;
  }

  .coe-social-hub table.hub-table {
    min-width: 650px;
  }

  .coe-social-hub .hub-table tbody th {
    background: #fff;
    left: 0;
    position: sticky;
    width: 210px;
    z-index: 1;
  }

  .coe-social-hub .hub-table td {
    padding-left: 10px;
    padding-right: 10px;
    width: 63px;
  }

  .coe-social-hub .hub-table tbody tr:hover th {
    background: var(--hub-row);
  }
}

@media (prefers-reduced-motion: reduce) {
  .coe-social-hub a.platform-link {
    transition: none;
  }
}
