/* Universal breakpoints */
@keyframes from-right {
  0% {
    opacity: 0;
    transform: translateX(40rem); }
  100% {
    opacity: 1;
    transform: translateX(0); } }

.portfolio-hero {
  height: 600px;
  box-sizing: border-box;
  background: linear-gradient(260deg, rgba(59, 61, 73, 0) 1.3%, #3b3d49 99.64%), url("../img/SYF_Portfolio-Page-Hero.jpg") lightgray 50%/contain no-repeat;
  background-size: cover;
  background-position: 55% 25%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px; }
  @media (max-width: 767px) {
    .portfolio-hero {
      padding: 16px;
      padding-bottom: 88px;
      justify-content: end; } }
  .portfolio-hero__content-wrapper {
    width: 100%;
    max-width: 1118px;
    margin: 0 auto; }
  .portfolio-hero__content {
    max-width: 655px; }
    .portfolio-hero__content .subcopy {
      font-size: 24px;
      line-height: 28px;
      margin-top: 16px; }
      @media (max-width: 991px) {
        .portfolio-hero__content .subcopy {
          font-size: 16px;
          line-height: 22px; } }
    .portfolio-hero__content .fine-print {
      font-size: 18px;
      font-weight: 500;
      line-height: 28px;
      margin-top: 24px; }
      @media (max-width: 991px) {
        .portfolio-hero__content .fine-print {
          font-size: 16px;
          line-height: 22px; } }
    .portfolio-hero__content a {
      color: inherit;
      outline-color: #fbc600 }
      .portfolio-hero__content a:focus{
        outline-color: #fbc600 !important;
      }
    .portfolio-hero__content .button-outlined-white {
      display: grid;
      place-items: center;
      width: -moz-fit-content;
      width: fit-content;
      margin-top: 24px;
      border-radius: 8px;
      width: 240px;
      height: 56px;
      box-sizing: border-box; }
      @media (max-width: 479px) {
        .portfolio-hero__content .button-outlined-white {
          width: 100%; } }
  .portfolio-hero__featured-card {
    background-color: white;
    color: #3b3d49;
    width: 1118px;
    margin: -60px 46px 0 46px;
    border-radius: 24px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas: "a c d" "b c d"; }
    @media (max-width: 991px) {
      .portfolio-hero__featured-card {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas: "a d" "c d" "b d"; } }
    @media (max-width: 767px) {
      .portfolio-hero__featured-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        grid-template-areas: "d" "a" "c" "b";
        margin-left: 16px;
        margin-right: 16px; } }
    .portfolio-hero__featured-card .a {
      grid-area: a;
      display: flex;
      flex-direction: column;
      justify-content: end;
      padding: 40px 34px 16px 32px;
      position: relative; }
      @media (max-width: 991px) {
        .portfolio-hero__featured-card .a {
          padding-left: 32px; } }
      @media (max-width: 767px) {
        .portfolio-hero__featured-card .a {
          padding-left: 16px;
          padding-right: 16px; } }
      .portfolio-hero__featured-card .a > div {
        font-size: 32px;
        font-weight: 300;
        line-height: 50px; }
    .portfolio-hero__featured-card .b {
      padding: 0 34px 40px 32px; }
      @media (max-width: 767px) {
        .portfolio-hero__featured-card .b {
          padding-left: 16px;
          padding-right: 16px; } }
      .portfolio-hero__featured-card .b a {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 18px;
        border-radius: 8px;
        height: 56px; }
    .portfolio-hero__featured-card .c {
      grid-area: c;
      padding: 40px 32px 40px 0px; }
      @media (max-width: 991px) {
        .portfolio-hero__featured-card .c {
          padding-top: 0;
          padding-left: 34px;
          padding-bottom: 24px; } }
      @media (max-width: 767px) {
        .portfolio-hero__featured-card .c {
          padding-left: 16px;
          padding-right: 16px; } }
      .portfolio-hero__featured-card .c__content {
        height: 100%;
        padding-left: 32px;
        border-left: 2px solid #b7bdc9; }
        @media (max-width: 991px) {
          .portfolio-hero__featured-card .c__content {
            border-left: none;
            border-bottom: 2px solid #b7bdc9;
            padding-left: 0; } }
        .portfolio-hero__featured-card .c__content p:first-of-type {
          font-size: 24px;
          font-weight: 700;
          line-height: 32px;
          margin-bottom: 16px; }
        .portfolio-hero__featured-card .c__content p:not(:first-of-type) {
          font-size: 18px;
          font-weight: 500;
         /* line-height: 40px;*/ 
         line-height: 25px;
         padding: 10px 0;}
        @media (max-width: 991px) {
          .portfolio-hero__featured-card .c__content p:last-of-type {
            margin-bottom: 8px; } }
    .portfolio-hero__featured-card .d {
      grid-area: d;
      display: grid;
      place-items: center;
      padding-right: 60px; }
      @media (max-width: 991px) {
        .portfolio-hero__featured-card .d {
          padding-right: 40px; } }
      @media (max-width: 767px) {
        .portfolio-hero__featured-card .d {
          padding-right: 0; } }
          .portfolio-hero__featured-card .d img {
            width: auto;
            height: auto;
            max-width:220px;
            max-height:200px;
            transform: rotate(-10deg);
            }
            @media (max-width: 991px) {
              .portfolio-hero__featured-card .d img {
               
                max-width: 300px;
                height: 400px; } }
            @media (max-width: 767px) {
              .portfolio-hero__featured-card .d img {
                padding-top: 50px;
                padding-bottom: 16px;
                max-width: 90%;
                max-height: 200px; } }

.cards-list {
  padding: 0 44px;
  color: #3b3d49; }
  @media (max-width: 767px) {
    .cards-list {
      padding: 0 16px; } }
  .cards-list h2 {
    margin-bottom: 9px;
    font-size: 42px;
    line-height: 48px; }
    @media (max-width: 991px) {
      .cards-list h2 {
        font-size: 32px;
        line-height: 38px; } }
  .cards-list > p {
    font-size: 24px;
    line-height: 28px;
    max-width: 768px;
    margin-bottom: 32px; }
    @media (max-width: 991px) {
      .cards-list > p {
        font-size: 18px;
        line-height: 24px; } }
  .cards-list__filter-tools {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between; }
    @media (max-width: 767px) {
      .cards-list__filter-tools {
        flex-direction: column; } }
    .cards-list__filter-tools .category-dropdown {
      align-items: center;
      box-sizing: border-box;
      display: flex;
      flex-wrap: wrap;
      gap: 20px; }
      @media (max-width: 767px) {
        .cards-list__filter-tools .category-dropdown {
          align-self: flex-end; } }
      .cards-list__filter-tools .category-dropdown__wrapper {
        width: 300px;
        max-width: 100%;
        display: flex;
        justify-content: flex-end; }
      .cards-list__filter-tools .category-dropdown__toggle {
        font-family: inherit;
        background-color: white;
        color: #3b3d49;
        border: 2px solid #b7bdc9;
        border-radius: 8px;
        padding: 6px 12px;
        gap: 8px;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.2s ease-in-out; }
        .cards-list__filter-tools .category-dropdown__toggle[aria-expanded="true"] {
          background-color: #b7bdc9; }
      .cards-list__filter-tools .category-dropdown__menu {
        position: absolute;
        top: calc(100% + 4px);
        right: 0;
        width: 100%;
        max-width: calc(100vw - 48px);
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        border: 2px solid #b7bdc9;
        border-radius: 8px;
        background-color: white;
        z-index: 10;
        overflow: hidden;
        /* Start collapsed */
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease; }
        .cards-list__filter-tools .category-dropdown__menu.open {
          transform: scaleY(1);
          opacity: 1;
          pointer-events: auto; }
        .cards-list__filter-tools .category-dropdown__menu .checkboxes {
          display: flex;
          flex-direction: column;
          gap: 6px;
          padding-top: 32px;
          padding-left: 24px;
          max-height: 380px;
          overflow-y: auto; }
          .cards-list__filter-tools .category-dropdown__menu .checkboxes label {
            display: flex;
            align-items: center;
            gap: 8px;
            height: 36px;
            flex-shrink: 0; }
          .cards-list__filter-tools .category-dropdown__menu .checkboxes input[type="checkbox"] {
            -moz-appearance: none;
            appearance: none;
            -webkit-appearance: none;
            width: 16px;
            height: 16px;
            border: 1px solid #62657b;
            border-radius: 4px;
            position: relative;
            cursor: pointer;
            margin: 0; }
            .cards-list__filter-tools .category-dropdown__menu .checkboxes input[type="checkbox"]:checked {
              background-color: #b7bdc9; }
              .cards-list__filter-tools .category-dropdown__menu .checkboxes input[type="checkbox"]:checked::after {
                content: "";
                position: absolute;
                top: 1px;
                left: 4px;
                width: 3px;
                height: 7px;
                border: solid #3b3d49;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg); }
        .cards-list__filter-tools .category-dropdown__menu .button-gold {
          border-radius: 0 0 8px 8px;
          font-size: 18px;
          font-weight: 500;
          padding: 6px 12px; }
          .cards-list__filter-tools .category-dropdown__menu .button-gold:disabled {
            background-color: #e8e9ec;
            border-color: #e8e9ec;
            color: #62657b;
            cursor: not-allowed; }
    .cards-list__filter-tools .results {
      margin-top: 28px;
      font-size: 18px; }
  .cards-list .portfolio-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
    -moz-column-gap: 20px;
    column-gap: 20px; }
    @media (max-width: 991px) {
      .cards-list .portfolio-cards {
        grid-template-columns: 1fr; } }
    .cards-list .portfolio-cards .portfolio-card__wrapper {
      border-radius: 24px;
      padding: 18px;
      padding-right: 24px;
      box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
      height: 100%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column; }
      .cards-list .portfolio-cards .portfolio-card__wrapper .a {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
        flex: 1; }
        .cards-list .portfolio-cards .portfolio-card__wrapper .a img {
          height: auto;
          max-height: 175px;
          width: auto;
          max-width: 280px;
          -o-object-fit: contain;
          object-fit: contain; }
          @media (max-width: 479px) {
            .cards-list .portfolio-cards .portfolio-card__wrapper .a img {
              max-width: 100%;
              height: auto; } }
        .cards-list .portfolio-cards .portfolio-card__wrapper .a__text {
          flex: 1; }
          @media (min-width: 480px) {
            .cards-list .portfolio-cards .portfolio-card__wrapper .a__text {
              min-width: 250px; } }
          .cards-list .portfolio-cards .portfolio-card__wrapper .a__text .card-name {
            font-size: 24px;
            font-weight: 500;
            line-height: 30px; }
          .cards-list .portfolio-cards .portfolio-card__wrapper .a__text p{
            font-size: 16px; }
            .cards-list .portfolio-cards .portfolio-card__wrapper .a__text p:first-of-type {
              margin-top: 16px; }
            .cards-list .portfolio-cards .portfolio-card__wrapper .a__text p:not(:first-of-type) {
              margin-top: 8px; }
            .cards-list .portfolio-cards .portfolio-card__wrapper .a__text p sup {
              font-size: 12px; }
      .cards-list .portfolio-cards .portfolio-card__wrapper .b {
        display: flex;
        margin-top: 24px;
        gap: 8px;
        flex-wrap: wrap; }
        .cards-list .portfolio-cards .portfolio-card__wrapper .b a {
          width: 200px;
          border-radius: 8px;
          text-align: center; }
          @media (max-width: 479px) {
            .cards-list .portfolio-cards .portfolio-card__wrapper .b a {
              width: 100%;
              min-width: auto; } }
      .cards-list .portfolio-cards .portfolio-card__wrapper .c {
        display: flex;
        justify-content: end;
        margin-top: 24px; }
        .cards-list .portfolio-cards .portfolio-card__wrapper .c button {
          font-size: 16px;
          font-weight: 500;
          text-decoration: underline;
          color: #3f647c; }
  .cards-list .portfolio-cards__no-results {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
    gap: 20px;
    background-color: #e8e9ec;
    padding: 16px; }
    .cards-list .portfolio-cards__no-results button {
      width: -moz-fit-content;
      width: fit-content;
      font-size: 18px;
      border-radius: 8px; }

.disclosure-modal {
  pointer-events: all; }
  .disclosure-modal [role="dialog"] {
    background-color: white;
    max-width: 600px;
    height: -moz-fit-content;
    height: fit-content;
    max-height: 90vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 16px 24px 40px 24px;
    box-sizing: border-box; }
    @media (max-width: 767px) {
      .disclosure-modal [role="dialog"] {
        padding: 16px;
        padding-bottom: 24px; } }
    .disclosure-modal [role="dialog"] .close-button-container {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 8px; }
      .disclosure-modal [role="dialog"] .close-button-container button {
        height: -moz-fit-content;
        height: fit-content;
        background: transparent;
        border: 0;
        cursor: pointer;
        padding: 0; }
    .disclosure-modal [role="dialog"] .disclosure-modal-content {
       padding-right: 8px;
      font-size: 10px;
      line-height: 12px;
      flex-grow: 1;
      overflow: auto;
      /* Scrollbar styles */ }
      .disclosure-modal [role="dialog"] .disclosure-modal-content::-webkit-scrollbar {
        width: 12px;
        height: 12px;
        cursor: pointer; }
      .disclosure-modal [role="dialog"] .disclosure-modal-content::-webkit-scrollbar-track {
        background: #e8e9ec;
        opacity: 0.7;
        border-radius: 12px; }
      .disclosure-modal [role="dialog"] .disclosure-modal-content::-webkit-scrollbar-thumb {
        border-radius: 12px;
        background: #62657b; }
      .disclosure-modal [role="dialog"] .disclosure-modal-content::-webkit-scrollbar-thumb:hover {
        background: #62657b; }
      .disclosure-modal [role="dialog"] .disclosure-modal-content p:not(:first-of-type) {
        margin-top: 16px; }
  .disclosure-modal sup {
    vertical-align: super;
    font-size: 10px; }
    .portfolio-hero__content .button-outlined-white:hover{
      border: 2px solid white;
      background-color: white;
      color: #3b3d49;
    }
    #portfolio-cards{
      scroll-margin-top: unset;
    }
   