/*
 * The main socials section.
 *
 * Edit this file. It is served as it is — nothing compiles it, and the
 * order it loads in is set in resources/css/order.php.
 */

.main-social {
  padding-top:192px;
  width:100%;
}

@media screen and (max-width:1440px) {

  .main-social {
    padding-top:129px;
  }
}

@media screen and (max-width:1199px) {

  .main-social {
    padding-top:133px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .main-social {
    padding-top:80px;
  }
}

.main-social__heading {
  align-items:center;
  display:flex;
  justify-content:flex-start;
  padding-inline:var(--offset-x);
  width:100%;
}

.main-social__heading-title {
  margin-left:0;
}

.main-social__heading-btn {
  align-items:center;
  border:1px solid #18181833;
  display:flex;
  height:48px;
  justify-content:center;
  overflow:hidden;
  position:relative;
  width:calc(var(--grid-column-width)*1 + var(--grid-gap)*0);
}

.main-social__heading-btn:after {
  background-color:#181818;
  content:"";
  inset:0;
  position:absolute;
  transform:translateY(100%);
  transition:transform .3s ease-in-out;
  z-index:1;
}

@media screen and (max-width:1440px) {

  .main-social__heading-btn {
    height:32px;
  }
}

@media screen and (max-width:1199px) {

  .main-social__heading-btn {
    height:40px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .main-social__heading-btn {
    width:calc(var(--grid-column-width)*5 + var(--grid-gap)*4);
  }
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .main-social__heading-btn:not(:disabled):hover:after {
    transform:translateY(0);
  }

  .main-social__heading-btn:not(:disabled):hover .main-video-feed__heading-btn-text {
    color:#fff;
  }
}

.main-social__list {
  display:grid;
  gap:12px;
  grid-template-columns:repeat(4,1fr);
  margin-top:115px;
  padding-inline:var(--offset-x);
}

@media screen and (max-width:1440px) {

  .main-social__list {
    gap:8px;
  }
}

@media screen and (max-width:1199px) {

  .main-social__list {
    gap:10px;
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .main-social__list {
    gap:6px;
    grid-template-columns:repeat(1,1fr);
  }
}

.main-social__list-item {
  aspect-ratio:1;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  padding:19px 24px;
  position:relative;
}

@media screen and (max-width:1440px) {

  .main-social__list-item {
    padding:12px 16px;
  }
}

.main-social__list-item picture {
  height:100%;
  inset:0;
  position:absolute;
  width:100%;
  z-index:-1;
}

.main-social__list-item__bottom-container {
  align-items:center;
  display:flex;
  justify-content:space-between;
  width:100%;
}

.main-social__list-item__image {
  aspect-ratio:1/1;
  height:100%;
  inset:0;
  position:absolute;
  width:100%;
  z-index:-1;
}

.main-social__list-item__label {
  align-items:center;
  background-color:#e1251b;
  color:#fff;
  display:flex;
  gap:6px;
  height:24px;
  justify-content:flex-start;
  overflow:hidden;
  padding-inline:5px;
  position:relative;
}

@media screen and (max-width:1440px) {

  .main-social__list-item__label {
    height:20px;
  }
}

.main-social__list-item__label:after {
  background-color:#181818;
  content:"";
  inset:0;
  position:absolute;
  transform:translateY(100%);
  transition:transform .3s ease-in-out;
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .main-social__list-item__label:not(:disabled):hover:after {
    transform:translateY(0);
  }
}

.main-social__list-item__label-text {
  position:relative;
  z-index:2;
}

.main-social__list-item__label-text svg {
  --size:12px;
  height:var(--size);
  margin-top:-.2em;
  width:var(--size);
}

@media screen and (max-width:1440px) {

  .main-social__list-item__label-text svg {
    --size:10px;
  }
}

.menu-socials__btn {
  align-items:center;
  align-self:center;
  align-self:flex-end;
  border:1px solid #18181833;
  display:flex;
  height:48px;
  justify-content:center;
  margin-inline:auto;
  margin-top:64px;
  overflow:hidden;
  position:relative;
  width:calc(var(--grid-column-width)*1.75 + var(--grid-gap)*.75);
}

.menu-socials__btn span {
  position:relative;
  z-index:2;
}

.menu-socials__btn:after {
  background-color:#181818;
  content:"";
  inset:0;
  position:absolute;
  transform:translateY(100%);
  transition:transform .3s ease-in-out;
  z-index:1;
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .menu-socials__btn:not(:disabled):hover:after {
    transform:translateY(0);
  }

  .menu-socials__btn:not(:disabled):hover span {
    color:#fff;
  }
}

@media screen and (max-width:1440px) {

  .menu-socials__btn {
    height:32px;
    margin-top:42px;
    width:calc(var(--grid-column-width)*2 + var(--grid-gap)*1);
  }
}

@media screen and (max-width:1199px) {

  .menu-socials__btn {
    height:40px;
    margin-top:64px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .menu-socials__btn {
    margin-top:32px;
    width:calc(var(--grid-column-width)*10 + var(--grid-gap)*9);
  }
}
