/* Top landing page layout */

:root {
    --top-bg-dark: #0b0f1a;
    --top-accent: #ff650f;
    --top-yellow: #f6e86d;
    --top-snow: #f9f9fb;
    --top-navy: #101438;
    --top-sticky-offset: 120px;
}

body.page-template-page-top {
    color: #2c2a28;
}

body.page-template-page-top .ctaHeader {
    display: none !important;
}

.top-hero {
    background: #fff;
    padding: 3.5rem 0 0;
    overflow: visible;
}

.top-hero__container {
    max-width: 1920px;
    padding: 0 !important;
}

.top-hero__eyebrow {
    font-size: 15px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: 7px;
    text-align: center;
    color: #0f172a;
}

.top-hero__logo picture,
.top-hero__logo img {
    max-width: 900px;
    height: auto;
}

.top-hero__heading {
    letter-spacing: 0.32em;
    color: #0f172a;
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
}

.top-hero__cta .btn-primary {
    background: #2e3b75;
    border: none;
    padding: 0.85rem 2.75rem;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    transition: opacity 0.2s ease;
}

.top-hero__cta .btn-primary:hover {
    opacity: 0.8;
}

.top-hero__cta-text p a,
.top-hero__cta-text p {
    color: #272a62;
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    transition: opacity 0.2s ease;
}

.top-hero__cta-text p a {
    font-weight: 700;
}

.top-hero__cta-text p a:hover {
    opacity: 0.8;
}

.top-hero__hashtag {
    letter-spacing: 0.2em;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.85rem;
}

.top-hero__cta-links {
    margin-bottom: 0.75rem;
}

.top-hero__cta-link {
    font-weight: 600;
    color: #111827;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    font-size: 0.9rem;
}

.top-hero__cta-link:hover,
.top-hero__cta-link:focus-visible {
    color: #303dff;
}

.top-hero__nav {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1310px;
    z-index: 8;
}

.top-hero__nav-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}

.top-hero__nav-list {
    grid-column: 1 / -1;
    list-style: none;
    display: grid;
    grid-template-columns: inherit;
    padding: 0;
    margin: 0;
}

.top-hero__nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.4rem 1rem 1.2rem;
    border-radius: 0;
    background: transparent;
    font-family: Paralucent;
    font-size: 20px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    transform: translate3D(-10px, 0, 0);
}

.top-hero__nav-link:hover,
.top-hero__nav-link:focus-visible,
.top-hero__nav-link--active {
    background: #fff;
    color: #272a62;
    border-bottom-color: transparent;
    transform: translate3D(0, 0, 0);
}

.top-hero__nav-link--active:hover,
.top-hero__nav-link--active:focus-visible {
    color: #272a62;
}


.top-sticky {
    position: sticky;
    top: var(--top-sticky-offset);
}

body.admin-bar .top-sticky {
    top: calc(var(--top-sticky-offset) + 32px);
}

.top-hero__visual {
    position: relative;
    z-index: 0;
    margin-top: 2.5rem;
}

.top-hero__figure {
    max-width: 100%;
    margin-inline: auto;
    background-image: linear-gradient(to bottom, #000 67%, #272a62);
}

.top-hero__figure img {
    border-radius: 0;
    width: 100%;
    height: auto;
}

.top-partners__group {
    border-radius: 0;
    border: none;
    padding: 12px 20px;
    min-height: 100%;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.top-partners__title {
    font-family: Inter;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 3px;
    font-weight: 300 !important;
    text-align: center;
    color: #2c2a28;
}

.top-partners__desc {
    color: #6b7280;
    font-size: 0.9rem;
}

.top-partners__logos {
    gap: 2rem;
    justify-content: center;
}

.top-partners__logos img {
    max-height: 62px;
    width: auto;
    opacity: 1;
    filter: none;
    transition: opacity 0.2s ease;
}

.partners-inner {
    justify-content: center;
}

.top-partners__logos img.bigger-size {
    max-height: 84px;
}

.top-block {
    background: #fff;
    padding: 5rem 0;
}

.top-block--nonpatron,
.top-block--patron {
    position: relative;
    overflow: visible;
}


.top-block--patron > .container-xl,
.top-block--nonpatron > .container-xl {
    position: relative;
    z-index: 1;
}

.top-block__panel {
    border-radius: 0;
    padding: 3.5rem 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.top-block__panel--soft {
    border: none;
}

.top-block__subheading {
    font-family: Paralucent;
    font-size: 28px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    color: #2c2a28;
    text-transform: uppercase;
}

.top-block__kv-asset {
    position: absolute;
    left: -20%;
    top: 0;
    width: 58%;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.top-step__title-line2,
.top-step__title-line1 {
    font-size: 28px;
}

.top-step__number {
    font-size: 96px;
}

.top-block__kv-bg {
    width: 100%;
    height: auto;
}

.top-block__panel--dark {
    background: linear-gradient(145deg, #0b1237, #121b52);
    color: #fff;
}

.top-block__panel .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff650f;
}

.top-block--patron .eyebrow {
    color: var(--top-yellow);
}

.top-block__heading {
    font-family: Paralucent;
    font-size: 42px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    color: #2c2a28;
    text-transform: uppercase;
}

.top-block__description > * {
    align-self: stretch;
    flex-grow: 0;
    font-family: Paralucent;
    font-size: 20px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: left;
    color: #2c2a28;
}

.top-block__media img {
    width: 100%;
    height: auto;
    display: block;
}

.top-steps-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    height: auto;
}

.top-step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    margin-bottom: 5rem;
    border-radius: 0;
    box-shadow: none;
    border-left: none;
}

.top-cta-highlight {
    margin: 1rem 0 5rem 0;
}

.top-step.has-highlights-block {
    margin-bottom: 0 !important;
}

.top-step:last-child {
    margin-bottom: 0;
}

.top-step__header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.top-step__number {
  font-family: Paralucent;
  font-size: 96px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 0.8;
  letter-spacing: normal;
  text-align: left;
  color: #2c2a28;
}

.top-step__title {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.top-step__title-line2,
.top-step__title-line1 {
font-family: Paralucent;
  font-size: 36px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-align: left;
  color: #2c2a28;
  text-transform: uppercase;
}

.top-step__title-line2 {
    color: #272a62;
}

.top-step__text {
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    color: #2c2a28;
}

.top-step__text strong {
    font-weight: 600;
}

.top-step .top-block__apps {
    padding-left: 0;
}

.top-block__apps .btn-dark:hover {
    background: #1a1918;
}

.top-cta-highlight__note {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c2a28;
    text-align: center;
    margin-bottom: 1rem;
}

.top-cta-highlight__box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding: 32px;
    border-radius: 4px;
    background-color: #edebb9;
}

.top-cta-highlight__title {
  font-family: Paralucent;
  font-size: 12px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 3px;
  text-align: left;
  color: #272a62;
}

.top-cta-highlight__button {
    display: inline-block;
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    color: #fff;
    gap: 8px;
  padding: 12px 40px;
  border-radius: 32px;
  background-color: #272a62;
    transition: background 0.2s ease;
}

.top-cta-highlight__button:hover {
    opacity: 0.8;
}

.top-cta-highlight__description {
    font-family: Inter;
  font-size: 11px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: normal;
  text-align: center;
  color: #2c2a28;
}

.top-cta-highlight__link p,
.top-cta-highlight__link a {
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    color: #272a62;
}

.top-cta-highlight__link p a {
    font-weight: 700;
}

.top-cta-highlight__link p a:hover {
    color: #1a1d42;
}

.top-block__panel.top-sticky {
    position: sticky;
    top: 74px;
    padding-top: 0;
}

.top-block__panel .btn-lg {
    border-radius: 999px;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.top-block img.rounded-4 {
    border-radius: 42px !important;
}

.top-patron-stats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.top-patron-stats__item {
    position: relative;
    padding-bottom: 0.75rem;
    text-align: center;
}

.top-patron-stats__item:last-child::after {
    background: #2c2a28;
}

.top-patron-stats__label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    margin: 16px 0 10px 0;
    line-height: 1.2;
    letter-spacing: 3px;
    text-align: center;
}

.top-patron-stats__value {
    font-family: Paralucent;
    font-size: 136px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 0.9;
    letter-spacing: normal;
    text-align: center;
    position: relative;
    z-index: 1;
}

.top-patron-stats__item:first-child:after {
    position: absolute;
    top: 10%;
    right: 0;
    content: "";
    height: 80%;
    width: 1px;
    background-color: #e1e1e1;
}

.top-patron-stats__item:first-child .top-patron-stats__value {
    color: #272a62;
}

.top-patron-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-patron-links__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: #2c2a28;
    text-decoration: none;
    font-family: Inter;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    transition: opacity 0.2s ease;
    border-bottom: solid 1px #e1e1e1;
    padding-bottom: 6px;
}

.top-patron-links__item:last-of-type {
    border-bottom: none !important
}

.top-patron-links__item:hover {
    opacity: 0.7;
    color: #2c2a28;
}

.top-patron-links__item svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.top-vote-panel {
    background: #fff;
    border-radius: 0;
    padding: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border: none;
}

.top-vote-panel__search {
    position: relative;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
}

.top-vote-panel__search-icon {
    position: absolute;
    width: 16px;
    height: 16px;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    fill: #9ca3af;
    pointer-events: none;
}

.top-vote-panel__search-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    font-size: 0.95rem;
    color: #111827;
    background: transparent;
}

.top-vote-panel__search-input::placeholder {
    color: #9ca3af;
}

.top-vote-panel__list-wrapper {
    flex: 1;
    overflow-y: visible;
}

.top-vote-panel__artist-group {
    border-bottom: 1px solid #e5e7eb;
}

.top-vote-panel__artist-group:last-child {
    border-bottom: none;
}

.top-vote-panel__artist-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    padding: 1.5rem 1.5rem;
    line-height: 1.2;
    border-bottom: 1px solid #e5e7eb;
}

.top-vote-panel__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-vote-panel__item {
    border-bottom: 1px solid #e5e7eb;
}

.top-vote-panel__item:last-child {
    border-bottom: none;
}

.top-vote-panel__item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.5rem;
    gap: 1rem;
    transition: background 0.15s ease;
}

.top-vote-panel__item-content:hover {
    background: #f9fafb;
}

.top-vote-panel__item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.top-vote-panel__song {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    display: block;
    line-height: 1.4;
}

.top-vote-panel__year {
    font-size: 0.875rem;
    color: #6b7280;
    display: block;
    line-height: 1.4;
}

.top-vote-panel__checkbox-wrapper {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.top-vote-panel__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.top-vote-panel__checkbox-box {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: block;
    background: #fff;
    transition: all 0.15s ease;
    position: relative;
}

.top-vote-panel__checkbox:checked + .top-vote-panel__checkbox-box {
    background: #ff650f;
    border-color: #ff650f;
}

.top-vote-panel__checkbox:checked + .top-vote-panel__checkbox-box::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.top-vote-panel__checkbox-wrapper:hover .top-vote-panel__checkbox-box {
    border-color: #9ca3af;
}

.top-vote-panel__checkbox:focus + .top-vote-panel__checkbox-box {
    outline: 2px solid #ff650f;
    outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--top-accent);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 9;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

.container-xxxl {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

/** RWD **/
@media (min-width: 1199px) {
    .top-steps-card {
        margin-top: 246px;
    }

    .col-lg-auto .top-partners__group {
        padding-left: 0;
        padding-right: 0;
    }

    .partners-inner > .col-12 {
        max-width: 50%;
    }
}

@media only screen and (min-width: 1300px) {
  .container-xxxl {
    max-width: 1200px;
  }

  .top-hero__content {
    position: relative;
    z-index: 1;
    margin-bottom: -7rem;
  }

  .top-hero {
    padding: 0;
  }
}

@media only screen and (min-width: 1400px) {
    .top-hero {
        padding: 2rem 0 0;
    }

    .top-hero__content {
        margin-bottom: -8rem;
    }
}

@media only screen and (min-width: 1600px) {
    .top-hero__content {
        margin-bottom: -9rem;
    }
}

@media (max-width: 1440px) {
    .top-hero__logo picture,
    .top-hero__logo img {
        max-width: 48%;
    }

    .top-block__panel {
        padding-top: 0;
    }
}

@media (max-width: 991px) {
    .top-hero__content > *:not(.top-hero__visual) {
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
    }

    .top-block .h-100 {
        height: auto !important;
    }

    .top-vote-panel__list-wrapper {
        overflow-y: visible;
    }

    .top-block__panel.top-sticky {
        position: relative;
        margin-bottom: 45px;
        top: 0
    }

    .top-block__panel {
        padding: 0;
    }

    .top-hero__logo picture,
    .top-hero__logo img {
        max-width: 60%;
    }

    .top-hero__content {
        position: relative;
        z-index: 1;
    }

    .top-hero__visual {
        margin-top: 0;
    }

    .top-sticky {
        position: static;
    }
}

@media (max-width: 767px) {
    .top-hero__eyebrow {
        font-size: 12px;
        font-weight: 600;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.2;
        letter-spacing: 1.44px;
    }

    .top-hero__logo picture,
    .top-hero__logo img {
        max-width: 70%;
    }

    .top-hero__nav-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .top-hero__nav-inner {
        display: block;
    }

    .top-hero__nav-link {
        white-space: nowrap;
        font-size: 12px;
        padding: 1.4rem 1.4rem 1rem;
    }

    .top-hero__content {
        margin-bottom: 2rem;
    }

    .top-block__subheading {
        font-size: 20px;
    }

    .top-partners .partners-inner > div {
        margin: 34px 0 0;
    }

    .top-partners .col-12:last-child {
        margin-top: 0;
    }

    .top-partners .col-12:first-child .top-partners__group {
        padding: 0;
    }

    .top-partners .col-12:last-child .top-partners__group {
        padding: 2rem 0 0;
    }

    .top-block__heading {
        font-size: 28px;
        line-height: 1;
    }

    .top-block__description > * {
        font-size: 16px;
    }

    .top-block__kv-asset {
        top: 9%;
        width: 85%;
    }

    .top-patron-stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .top-partners__title {
        font-size: 8px;
        font-weight: 600;
    }

    .top-block__heading {
        text-align: left;
    }

    .top-step__text {
        font-size: 15px;
    }

    .top-step__number {
    font-size: 56px;
    }


    body.admin-bar .top-sticky {
        top: calc(var(--top-sticky-offset) + 46px);
    }

    .partners-inner .col-12.col-lg-6:last-child .top-partners__logos {
        gap: 1rem !important
    }

    .partners-inner .col-12.col-lg-6:last-child .top-partners__logos img {
        max-height: 48px;
    }

    .top-patron-stats__item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        background-color: #f5f5f5;
        padding: 12px 12px;
        gap: 0;
    }

    .top-patron-stats__item:first-child:after {
        display: none;
    }

    .top-patron-stats__label {
        font-family: Inter;
        font-size: 8px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.2;
        letter-spacing: 3px;
        margin: 0;
        flex: 0 0 80%;
        text-transform: uppercase;
        word-break: break-word;
        text-align: left;
        max-width: 78px;
    }

    .top-patron-stats__value {
        font-size: 24px;
        line-height: 1;
        flex: 0 0 20%;
        text-align: right;
    }

    .top-patron-stats__item:first-child .top-patron-stats__value {
        color: #272a62;
    }

    .top-patron-links__item span:first-child {
        max-width: 70%;
    }

    .top-cta-highlight__box {
        padding: 22px;
    }

    .top-cta-highlight__title {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .top-cta-highlight__button {
        padding: 12px 30px;
        width: 100%;
        text-align: center;
    }

    .top-cta-highlight__link p, .top-cta-highlight__link a {
        text-align: center;
        font-size: 15px;
    }

     /* Ukryj iOS app na Androidzie */
    body.is-android .ios-app,
    body.is-ios .android-app {
        display: none !important;
    }

}

@media (max-width: 575px) {
    .top-hero {
        padding: 1.75rem 0 1rem;
    }

    .top-hero__nav .nav-link {
        width: 100%;
        text-align: center;
    }
}