.hero--cgi .hero__container.header-hero-container {
    justify-content: flex-start;
}

.hero--cgi .hero__content.header-hero-content {
    max-width: 720px;
    margin-top: -360px;
}

.hero--cgi .hero__title.header-hero-title {
    margin-bottom: 75px;

    @media (max-width: 768px) {
        margin-top: 60px;
    }
}

.hero--cgi .hero__title-main.header-hero-title-main {
    color: #1D2D3A;
    font-size: 26px;
    font-family: Agenda;
    font-weight: 400;
    line-height: normal;
    text-shadow: none;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--color-charchol, #1D2D3A);
}

.hero--cgi .hero__title-sub.header-hero-title-sub {
    font-family: Tilt Neon;
    font-size: 48px;
    font-weight: 400;
    line-height: 54px;
    text-shadow: none;
    margin-bottom: 0;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--color-charchol, #1D2D3A);

    .spacial-not {
      -webkit-text-stroke-width: 1px;
      -webkit-text-stroke-color: var(--color-charcol);
      opacity: 1;
      animation: blinkThreeTimes 6s ease-in-out forwards;
    }
}

@keyframes blinkThreeTimes {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  } /* Blink 1 */
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  } /* Blink 2 */
  50% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  } /* Blink 3 */
  70% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    color: transparent;
  }
}

.header-hero-img img {
    object-fit: contain;
    height: 100%;
}


.hero,
.section {
    padding: 0;
}

.attack-reduction-container {
    padding: 40px 32px 60px 32px ;
    background: #f8f9fa;
}

.attack-reduction-inner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.attack-reduction-top-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
}

.section-label .label-text{
    background: #F16B50;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 1.25rem;
    font-weight: 700;
}

.headline-text {
    color:#1D2D3A;
    font-family: Agenda;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 0;
    @media (max-width: 768px) {
        margin-bottom: 4px;
    }
}

.headline {
    color: #1D2D3A;
    font-family: Tilt Neon;
    font-size:40px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0;
}

.description {
    color: #1D2D3A;
    font-family: Agenda;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0;
}

.attack-reduction-mid-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chart-heading-container {
    max-width: 886px;
    width: 100%;
}

.chart-heading {
    color: #1D2D3A;
    text-align: center;
    font-family: Agenda;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
}

.chart-container {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    max-width: 800px;
}

.desktop-img {
    display: block;
}

.mobile-img {
    display: none;
}

.chart-footnote {
    display: flex;

    .footnote{
        color: #1D2D3A;
        font-family: Agenda;
        font-size: 16px;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 0;
    }
}

.star-sup {
    top: 10px;
    font-size: 100%;
}

.button-container {
    background: #fff;
    border-radius: 999px;
    border: 3px solid #F16B50;
    padding: 12px 16px 12px 24px;
    max-width: 230px;
}

.button {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-text {
    color: #F16B50;
    font-family: Agenda;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
}

.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin-bottom: 0;

    li {
        color: #1D2D3A;
        font-family: Agenda;
        font-size: 20px;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .sph-list {
        max-width: 308px;
    }
}

.bullet-list li::before {
    color: #C94808;
    content: '•';
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.patient-preference-container {
    padding: 60px 32px;
    box-shadow: 0 8px 24px -4px rgba(81, 88, 97, 0.16);
    position: relative;
    z-index: 10;

    .patient-preference-inner-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 40px;

        .patient-preference-top-section {
            display: flex;
            flex-direction: column;
            gap: 24px;
            margin: 0;

            .sub-heading-container {
                .sub-heading {
                    color: #1D2D3A;
                    font-family: "Tilt Neon";
                    font-size: 32px;
                    font-weight: 400;
                    line-height: normal;
                    margin-bottom: 0;
                }
            }
        }

        .patient-preference-bottom-section {
            display: flex;
            flex-direction: column;
            gap: 40px;

            .patient-preference-chart-heading {
                text-align: left;
            }

            .graph-section {
                display: flex;
                gap: 60px;
                justify-content: center;
                align-items: center;

                .about-graph {
                    display: flex;
                    flex-direction: column;
                    gap: 24px;

                    .graph-description {
                        color: #1D2D3A;
                        font-family: Agenda;
                        font-size: 20px;
                        font-weight: 400;
                        line-height: normal;
                        margin-bottom: 0;
                    }

                    .points-container {
                        display: flex;
                        flex-direction: column;
                        gap: 16px;

                        .list-title {
                            color:#1D2D3A;
                            font-family: Agenda;
                            font-size: 20px;
                            font-weight: 400;
                            line-height: normal;
                            margin-bottom: 0;
                        }
                    }
                }
            }

            .section-footnote {
                display: flex;

                .asterisk {
                    top: 8px;
                }

                .footnote {
                    color: #1D2D3A;
                    font-family: Agenda;
                    font-size: 16px;
                    font-weight: 400;
                    line-height: normal;
                    margin-bottom: 0;
                }
            }
        }
    }
}

.disease-control-container {
    padding: 60px 32px 74px 32px;
    background: #f8f9fa;

    .disease-control-inner-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 60px;

        .disease-control-top-section {
            display: flex;
            flex-direction: column;
            gap: 24px;
            margin: 0;

            .bar-chart-heading-container {
                max-width: 859px;
            }

            .bar-chart-container {
                display: flex;
                align-items: center;
                gap: 24px;

                .percentag-wrapper {
                    padding: 24px;
                    border-radius: 24px;
                    background: #FEEEE6;
                    max-width: 296px;
                    @media (max-width: 768px) {
                        max-width: 327px;
                    }

                    .percentag-description {
                        color: #1D2D3A;
                        font-family: Agenda;
                        font-size: 26px;
                        font-weight: 400;
                        line-height: normal;
                        margin-bottom: 0;

                        .percentag-span {
                            display: block;
                            @media (max-width: 768px) {
                                display: inline-block;
                            }
                        }
                    }
                }
                @media (max-width: 768px) {
                    flex-direction: column;
                }
            }
        }
    }
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.circle-section,
.pipe-section {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.piping-asset {
  img {
    display: none;
  }
}

.circle-asset {
    background: unset;
    position: absolute;
    top: 100px;
    right: 0;
    z-index: 5;
}

@media (max-width: 1024px) {
    .circle-section {
        position: unset;
    }
    .circle-asset {
        background: unset;
        margin-bottom: 0;
        position: absolute;
        right: unset;
        top: unset;
        bottom: 0;
        width: 100%;
        z-index: 5;

        .circle-asset-with {
            margin-inline: auto;
        }
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

@media (min-width: 1400px) {
  .piping-asset {
    background: unset;
    margin-bottom: 50px;
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 5;

    img {
      display: block;
      height: 100%;
      max-width: 100%;
    }
  }
}

@media (max-width: 768px) {
    .hero--cgi .hero__content.header-hero-content {
        margin-top: -228px;
    }

    .hero--cgi .hero__title-main.header-hero-title-main {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .hero--cgi .hero__title-sub.header-hero-title-sub {
        font-size: 36px;
        line-height: normal;
    }

    .hero__title-sub.mobile-hide-br br {
        display: none;
    }

    .attack-reduction-container {
        padding: 40px 24px;
        background: #f8f9fa;
    }

    .headline {
        font-size: 28px;
    }

    .chart-heading {
        text-align: left;
        max-width: 327px;
        font-size: 22px;
        margin-bottom: 24px;
    }

    .chart-container {
        background: transparent;
        border-radius: 0;
        padding: 0;
    }

    .chart-image {
        margin-inline: auto;
    }

    .desktop-img {
        display: none;
    }

    .mobile-img {
        display: block;
    }

    .button-container {
        max-width: unset;
    }

    .bullet-list {
        padding-left: 18px;
    }

    .patient-preference-container {
        padding: 40px 24px 150px 24px;

        .patient-preference-inner-container {
            gap: 24px;

            .patient-preference-top-section {
                .sub-heading-container {
                    .sub-heading {
                        font-size: 24px;
                    }
                }
            }

            .patient-preference-bottom-section {
                gap: 24px;

                .patient-preference-chart-heading {
                    font-size: 22px;
                    margin-bottom: 16px;
                }

                .graph-section {
                    flex-direction: column;
                    gap: 40px;

                    .graph-container {
                        max-width: 250px;
                    }
                }

                .section-footnote {
                    .asterisk {
                        top: 8px;
                    }
                }
            }
        }
    }

    .disease-control-container {
        padding: 40px 24px;
    }
}

.event_3 {
  border-radius: 22px;
  border: 2px solid var(--color-primary-light);
  max-width: 792px;
  margin: 60px auto;
  background-color: #ffffff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.event_4 {
  border-radius: 20px;
  border: 2px solid #FDE5E0;
  background: #FFF;
}

.event_5 {
  border-radius: 18px;
  background: #FFF;
  box-shadow: 0 0 8px 0 #C94808 inset, 0 0 8px 0 #E08A67 inset;
}

.aect-practice-box {
  padding: 40px;
}

.aect-practice-title {
  font-family: var(--font-tilt-neon);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-coral);
  line-height: normal;
  margin-bottom: 24px;
  text-align: center;
}

.aect-practice-text {
  color: var(--color-charcoal);
  text-align: center;
  font-family: var(--font-agenda);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 32px;
}

.aect-practice-button {
  display: inline-flex;
  background-color: var(--color-coral);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-agenda);
  line-height: normal;
  height: 48px;
  padding: 12px 16px 10px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-bottom: 32px;
}

.aect-practice-footnote {
  color: var(--color-charcoal);
  font-family: var(--font-agenda);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 0;
  text-align: left;
  max-width: 708px;
  margin-left: auto;
  margin-right: auto;
}

.aect-disclaimer-text {
  font-family: var(--font-agenda);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-charcoal);
  line-height: normal;
  margin: 0px auto 24px;
  max-width: 1200px;
  text-align: left;
}

.aect-disclaimer-button {
  display: flex;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 16px 10px 24px;
  align-items: center;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  max-width: fit-content;
  height: 48px;
  gap: 8px;
}

.disclaimer-section {
    margin: 0 120px;
}

@media (max-width: 768px) {
  .aect-practice-box {
    padding: 32px;
  }

  .aect-practice-title {
    font-size: 24px;
  }

  .aect-practice-button {
    padding: 12px 16px 10px 24px;
    height: 70px;
    max-width: 251px;
    text-align: left;
    gap: 40px;
    border-radius: 999px;
  }

  .aect-practice-footnote {
    font-size: 16px;
    margin-bottom: 0px;
  }

  .event_3 {
    margin: 40px auto;
  }

  .aect-disclaimer-text {
    max-width: 327px;
  }

  .disclaimer-section {
    margin: 0px;
  }

  .aect-disclaimer-button {
    justify-content: center;
    max-width: 100%;
  }
}

.footnote-pipe {
    display: none;
    @media (max-width: 768px) {
        display: block;
        padding-left: 24px;
        width: 100%;
        height: 80px;
    }
}

.swp-sup {
   top: -0.46em;
   font-size: 60%;
}

/* Switch Patients Modal Styles */
.switch-patients-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  width: 90%;
  overflow-y: auto;
  max-height: 90vh;
  overscroll-behavior: contain;
  max-width: 1200px;


  .switch-modal-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 2.5rem;
    padding: 2.5rem;

    h2 {
      color: #1D2D3A;
      font-size: 40px;
      font-family: Tilt Neon;
      font-weight: 400;
      word-wrap: break-word;
      margin-block: 0;
    }

    p {
       color:  #1D2D3A;
       font-size: 20px;
       font-family: var(--font-agenda);
       font-weight: 400;
       word-wrap: break-word;
       margin-bottom: 0;
       line-height: normal;
       line-height: 1.4;
    }

    .switch-modal-header {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
    }

    .inner-chart-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;

        .inner-chart-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2.5rem;
            width: 100%;
            max-width: 823px;

            .chart-heading-container {
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: 0.5rem;

                .chart-heading {
                    align-self: stretch;
                    text-align: center;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: var(--color-coral, #f16b50);
                    font-size: 2rem;
                    font-family: Tilt Neon;
                    font-weight: 400;
                    word-wrap: break-word;
                    max-width: unset;

                    sup {
                        font-size: initial;
                        line-height: normal;
                        position: static;
                        vertical-align: super;
                        top: auto;
                    }

                    @media (max-width: 768px) {
                        margin-bottom: 0;
                    }
                }

                .horizontal-bar {
                   align-self: stretch;
                   height: 0.5rem;
                   background: var(--color-charcol);
                }
            }


            .modal-chart-container {
                background: #fff;
                border-radius: 24px;
                padding-inline: 24px;
                width: 100%;
                margin: 0 auto;

                .block-container {
                    display: flex;
                    flex-direction: row;
                    align-items: start;

                    .block-1 {
                        height: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        .block-1-inner {
                            padding: 2rem;
                            border-radius: 1.125rem;
                            background: #EEEEEE;
                            max-width: 223px;
                            margin-top: 36px;

                            @media (max-width: 768px) {
                                margin-top: 0;
                            }
                        }
                    }

                    .connector {
                        height: 100%;
                        margin-top: 129px;
                        .connector-inner {
                            width: 120px;
                            height: 2px;
                            background: var(--color-coral, #f16b50);
                        }
                    }

                    .block-2 {
                        height: 100%;

                        .block-2-inner {
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            gap: 1.5rem;

                            .block-2-content {
                                display: flex;
                                flex-direction: column;
                                align-items: center;

                                p {
                                    margin: 0;
                                }

                                .font-bold {
                                    font-weight: 700;
                                }
                            }

                            .block-2-cell {
                                min-width: min(279px, 100%);

                                .switch-patient-flow-chart-block-2 {
                                    align-self: stretch;
                                    padding: 2px;
                                    background:  white;
                                    box-shadow: 0px 0px 8px #e08a67;
                                    outline: 2px #e2422d solid;
                                    overflow: hidden;
                                    border-radius: 1.5rem;
                                    outline-offset: -2px;
                                    flex-direction: column;
                                    justify-content: flex-start;
                                    align-items: flex-start;
                                    display: flex;

                                    .common-chart-1 {
                                        align-self: stretch;
                                        padding: 2px;
                                        background: white;
                                        overflow: hidden;
                                        border-radius: 22px;
                                        outline: 2px #f59785 solid;
                                        outline-offset: -2px;
                                        justify-content: flex-start;
                                        align-items: flex-start;
                                        display: inline-flex;

                                        .common-chart-2 {
                                            flex: 1 1 0;
                                            padding: 2px;
                                            background:  white;
                                            overflow: hidden;
                                            border-radius: 1.25rem;
                                            outline: 2px #fde5e0 solid;
                                            outline-offset: -2px;
                                            justify-content: flex-start;
                                            align-items: flex-start;
                                            display: flex;

                                            .independent-4 {
                                                font-weight: 700;
                                                flex: 1 1 0;
                                                padding: 1.25rem 2rem 1.25rem 2rem;
                                                background:  #f16b50;
                                                box-shadow: 0px 0px 8px #e08a67 inset;
                                                overflow: hidden;
                                                border-radius: 1.125rem;
                                                flex-direction: column;
                                                justify-content: flex-start;
                                                align-items: flex-start;
                                                gap: 1.5rem;
                                                display: inline-flex;

                                                p {
                                                    font-weight: 700;
                                                    max-width: 400px;
                                                    text-align: center;
                                                    color: white;
                                                }
                                                @media (min-width: 1024px) {
                                                  p {
                                                    color: transparent;
                                                    user-select: none;
                                                    }

                                                  p::before {
                                                  content: "DAWNZERA 80 mg every 4 weeks";
                                                  display: block;
                                                  font-size: 1.25rem;
                                                  text-align: center;
                                                  color: white;
                                                }

                                                 p::after {
                                                  content: "(n=64)";
                                                  display: block;
                                                  font-size: 1.25rem;
                                                  text-align: center;
                                                  color: white;
                                                  margin-top: -2rem;
                                                }
                                              }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }

                    @media (max-width: 768px) {
                        flex-direction: column;
                        align-items: center;

                        .connector {
                            margin: 0;
                            .connector-inner {
                                width: 2px;
                                height: 40px;
                            }
                        }
                    }
                }
            }

            @media (max-width: 768px) {
                gap: 1.5rem;
                .chart-heading-container {
                    .chart-heading {
                        font-size: 1.5rem;
                    }
                }
            }
        }
    }


    .lower-content {
      ul {
        margin-bottom: 0;
        font-size: 20px;

        li {
          margin-bottom: 0.5rem;
          line-height: 1.4;
        }

        li::marker {
          color: var(--color-coral, #f16b50);;
        }
       }

       sup {
        font-size: smaller;
       }
    }

    @media (max-width: 768px) {
        gap: 1.5rem;
        padding: 1.5rem;

        h2 {
          font-size: 28px;
        }
    }
  }

  .font-bold {
    font-weight: 700;
  }

  @media (max-width: 768px) {
    padding: 0;
  }
}

.switch-patients-modal.open {
  display: block;
}

.switch-patients-backdrop {
  display: none;
  position: fixed;
  z-index: 1999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
}

.switch-patients-backdrop.open {
  display: block;
}

.switch-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.switch-modal-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  height: 40px;
  width: 40px;

  .cross-icon {
    width: 40px;
    height: 40px;

    @media(max-width: 768px) {
        height: 24px;
        width: 24px;
        max-width: unset;
    }
  }

  @media (max-width: 768px) {
    margin-top: -10px;
  }
}

.swp-title-sup {
    font-size: 50%;
}
