:root {
  --main-font: "Gotham SSm A", "Gotham SSm B", "Century Gothic", "Helvetica", "Arial", "San-serif";

  --body-text-color: #000000;
  --light-color: #FFFFFF;
  --gray-bg: #F7F7F7;
  --gray-border: #EBEBEB;

  --primary-color: #007D79;
  --secondary-color: #007D7980;
  --link-hover: #004644;

  --body-font-size: 13px;
  --body-line-height: 22px;

  --heading-1-font-size: 60px;
  --heading-1-line-height: 60px;
  --heading-2-font-size: 26px;
  --heading-2-line-height: 31px;
  --heading-3-font-size: 20px;
  --heading-3-line-height: 24px;
  --heading-small-font-size: 17px;
  --heading-small-line-height: 20px;

  --card-font-size: 28px;
  --card-line-height: 32px;
  --table-header-font-size: 16px;

  --hero-card-box-shadow: 0px 3px 6px #00000026;
  --card-box-shadow: 0px 3px 6px #00000029;
}

/* Base Typography */
body,
p {
  font-family: var(--main-font);
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  color: var(--body-text-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--main-font);
  font-weight: 600;
  color: var(--body-text-color);
}

h1,
.h1 {
  font-size: var(--heading-1-font-size);
  line-height: var(--heading-1-line-height);
  margin-bottom: 30px;
}

h2,
.h2 {
  font-size: var(--heading-2-font-size);
  line-height: var(--heading-2-line-height);
}

h3,
.h3 {
  font-size: var(--heading-3-font-size);
  line-height: var(--heading-3-line-height);
}

h1 small,
h2 small,
h3 small,
.h1 small,
.h2 small,
.h3 small {
  display: block;
  font-size: var(--heading-small-font-size);
  line-height: var(--heading-small-line-height);
  font-weight: 600;
  letter-spacing: -0.25px;
  color: inherit;
}

a {
  color: var(--primary-color);
}

/* Utility / Layout Helpers */
.cca-transfer__repeatable-bg,
.cca-transfer__hero-bg {
  position: relative;
}

.container-fluid.cca-transfer__repeatable-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(/sites/all/themes/swarm/images/cca-transfer/texture-pattern-cca.jpg);
}

.cca-transfer__offset {
  padding-top: 500px;
}

.cca-transfer__questions-offset {
  padding-bottom: 250px;
}

/* Hero */
.container-fluid.cca-transfer__hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#0000001a, #0000001a),
    url(/sites/all/themes/swarm/images/cca-transfer/Color-bg-blur.jpg);
  background-size: cover;
}

.cca-transfer__hero-card {
  position: relative;
  z-index: 2;
  background-color: var(--light-color);
  box-shadow: var(--hero-card-box-shadow);
  border-radius: 10px;
  margin-bottom: -450px;
}

.cca-transfer__hero-card img {
  min-height: 400px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.cca-transfer__hero-card p:first-child {
  margin-bottom: 0;
}

.cca-transfer__hero-card-inner {
  padding: 50px 100px 0;
}

.cca-transfer__hero-card-inner p {
  margin-bottom: 30px;
}

.cca-transfer__hero-card-inner p:nth-child(2) {
  margin-bottom: 50px;
}

.cca-transfer__hero-card-inner p:last-child {
  margin-bottom: 0;
}

.cca-transfer__hero-card-inner p:last-child span:has(a) {
  display: flex;
}

.cca-transfer__hero-card-inner a {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 38px 85px;
  margin: auto;
  border-radius: 5px 5px 0 0;
  transition: background-color 200ms ease-in-out;
}

.cca-transfer__hero-card-inner a:hover {
  background-color: var(--link-hover);
  text-decoration: none;
}


/* Shared Card Styling */
.cca-transfer__card .panel-panel,
.cca-transfer__step-card .panel-panel {
  background-color: var(--light-color);
  box-shadow: var(--card-box-shadow);
  padding: 30px;
  margin-inline: 15px;
  margin-bottom: 10px;
}

.cca-transfer__card .panel-panel {
  border-radius: 3px;
}

.cca-transfer__step-card .panel-panel {
  border-radius: 10px;
}

.cca-transfer__card .pane-content p:last-child,
.cca-transfer__card .panel-pane,
.cca-transfer__step-card .pane-content p:last-child,
.cca-transfer__step-card .panel-pane {
  margin-bottom: 0;
}

.cca-transfer__step-card h3 span {
  display: block;
  color: var(--secondary-color);
  line-height: 77px;
  margin-bottom: 10px;
}

/* Gray Cards */
.cca-transfer__gray-card,
.cca-transfer__gray-card--flex .panel-panel {
  background-color: var(--gray-bg);
  padding: 30px;
  border-radius: 10px;
}

/* .cca-transfer__gray-card--flex .panel-panel {
  margin-inline: 15px;
  margin-bottom: 15px;
} */

.cca-transfer__gray-card .pane-content p:last-child,
.cca-transfer__gray-card .panel-pane,
.cca-transfer__gray-card--flex .pane-content p:last-child,
.cca-transfer__gray-card--flex .panel-pane {
  margin-bottom: 0;
}


/* Alternate Cards */
.cca-transfer__alt-card {
  margin-bottom: 30px;
}

.cca-transfer__alt-card .pane-content {
  display: grid;
  align-items: center;
  background-color: var(--light-color);
  box-shadow: var(--card-box-shadow);
  border-radius: 10px;
  overflow: hidden;
}

.cca-transfer__alt-card:nth-child(odd) .pane-content {
  grid-template-columns: 258px 1fr;
}

.cca-transfer__alt-card:nth-child(even) .pane-content {
  grid-template-columns: 1fr 258px;
}

.cca-transfer__alt-card .pane-content p:has(img) {
  margin-bottom: 0;
  height: 100%;
}

.cca-transfer__alt-card .pane-content img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

.cca-transfer__alt-card .pane-content div {
  padding: 20px 50px;
}

.cca-transfer__alt-card .pane-content div p:last-child {
  margin-bottom: 0;
}

/* Tables */
.cca-transfer__table {
  width: 100%;
  font-weight: bold;
  border-collapse: separate;
  border-spacing: 0;
}

.cca-transfer__table th {
  font-size: var(--table-header-font-size);
}

.cca-transfer__table th,
.cca-transfer__table td {
  padding: 20px;
  border-top: 1px solid var(--gray-border);
  border-left: 1px solid var(--gray-border);
}

.cca-transfer__table tr > *:last-child {
  border-right: 1px solid var(--gray-border);
}

.cca-transfer__table tbody tr:last-child > * {
  border-bottom: 1px solid var(--gray-border);
}

.cca-transfer__table tbody tr:nth-child(odd) {
  background-color: var(--gray-bg);
}

.cca-transfer__table thead tr:first-child th:first-child {
  border-top-left-radius: 12px;
}

.cca-transfer__table thead tr:first-child th:last-child {
  border-top-right-radius: 12px;
}

.cca-transfer__table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.cca-transfer__table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.pane-content:has(.cca-transfer__table) {
  overflow-x: auto;
  padding-bottom: 10px;
}

.pane-content:has(.cca-transfer__table)::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.pane-content:has(.cca-transfer__table)::-webkit-scrollbar-track {
  background: var(--gray-border);
}

.pane-content:has(.cca-transfer__table)::-webkit-scrollbar-thumb {
  background-color: var(--body-text-color);
  border-radius: 999px;
}

/* Sections / Buttons */
.cca-transfer__upcoming-sessions img:first-child {
  display: block;
  margin: -205px auto 0;
  border-radius: 50%;
}

.cca-transfer__btn a:last-child {
  display: inline-block;
  width: 100%;
  max-width: 468px;
  padding: 23px 20px;
  background-color: var(--primary-color);
  color: var(--light-color);
  font-size: var(--heading-3-font-size);
  border-radius: 5px;
  transition: background-color 200ms ease-in-out;
}

.cca-transfer__btn a:last-child:hover {
  background-color: var(--link-hover);
  text-decoration: none;
}

.cca-transfer__why-scad h2 {
  font-size: 36px;
  line-height: 38px;
}

.cca-transfer__why-scad h3 {
  font-size: var(--heading-2-font-size);
}


/* Header / Footer Overrides */
#top-main-nav {
  background: #000 !important;
  text-align: center;
}

.no-hero nav#top-main-nav,
#main-content-region {
  margin: 0;
}

#header-logo,
#header-desktop-nav {
  float: initial !important;
  display: flex;
  justify-content: center;
  text-align: center;
}

#top-main-nav > *:not(a),
div#footer-top,
.hero-container.container-fluid {
  display: none;
}

footer#swarm-footer {
  padding-top: 0px;
}

/* Media Queries */
@media (min-width: 768px) {
  .panel-cards--flex .outer-region.panel-row {
    display: flex;
  }

  .panel-cards--flex .inner-region {
    display: contents;
  }
}

@media (max-width: 1198px) {
  .cca-transfer__step-card {
    width: 100%;
  }
}

@media (max-width: 990px) {
  .cca-transfer__hero-card-inner {
    padding: 50px 30px 0;
  }
}

@media (max-width: 767px) {
  :root {
    --heading-1-font-size: 38px;
    --heading-1-line-height: 38px;
  }

  .padding-top-sm-0 {
    padding-top: 0 !important;
  }

  .cca-transfer__hero-card-inner p:last-child span:has(a) {
    margin: 0 -30px;
  }

  .cca-transfer__hero-card-inner a {
    width: 100%;
    text-align: center;
    border-radius: 0 0 10px 10px;
  }

  .cca-transfer__alt-card .pane-content {
    display: flex;
  }

  .cca-transfer__alt-card:nth-child(odd) .pane-content {
    flex-direction: column;
  }

  .cca-transfer__alt-card:nth-child(even) .pane-content {
    flex-direction: column-reverse;
  }

  .cca-transfer__alt-card .pane-content div {
    padding: 30px;
  }

  .cca-transfer__card .panel-panel, .cca-transfer__step-card .panel-panel {
    margin-bottom: 15px;
  }

  .cca-transfer__table th, .cca-transfer__table td {
    padding: 15px;
  }
}

@media (max-width: 575px) {
  .cca-transfer__hero-card img {
    min-height: 350px;
    object-position: left;
  }

  .cca-transfer__hero-card-inner {
    padding: 50px 15px 0;
  }

  .cca-transfer__hero-card-inner p:last-child span:has(a) {
    margin: 0 -15px;
  }

  .cca-transfer__hero-card-inner a {
    padding-inline: 15px;
  }

  .cca-transfer__card .panel-panel {
    padding: 15px;
  }

  .cca-transfer__upcoming-sessions img:first-child {
    width: 300px;
    margin-top: -170px;
  }

  .cca-transfer__alt-card .pane-content div {
    padding: 15px;
  }

  .cca-transfer__questions-offset {
    padding-bottom: 200px;
  }
}
