/* Gostliery Newsroom — Hostinger newsroom carbon */
.nr-body {
    margin: 0;
    background: #fff;
}
.nr-page-wrap {
    min-height: 100vh;
    background: #fff;
}
.nr-page {
    color: #1d1e20;
    font-family: "Google Sans Flex", system-ui, sans-serif;
}

.nr-hero {
    background: #110c29;
    color: #f8f9fa;
    padding: 96px 24px 72px;
    text-align: center;
}
.nr-hero__inner {
    width: min(100%, 760px);
    margin: 0 auto;
}
.nr-hero__title {
    margin: 0 0 16px;
    color: #f8f9fa;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.nr-hero__desc {
    margin: 0 auto;
    max-width: 34em;
    color: rgba(248, 249, 250, 0.72);
    font-size: 18px;
    line-height: 1.55;
}

.nr-feed {
    background: #000;
    color: #fff;
    padding: 40px 24px 96px;
}
.nr-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 40px;
    width: min(100%, 1120px);
}
.nr-tab {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nr-tab:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}
.nr-tab.is-active {
    background: #fff;
    border-color: #fff;
    color: #110c29;
}

.nr-panel[hidden],
.nr-panel:not(.is-active) {
    display: none;
}

.nr-grid {
    width: min(100%, 1120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}
.nr-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}
.nr-card__media {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    background: #1a152e;
    margin-bottom: 14px;
}
.nr-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.nr-card:hover .nr-card__media img {
    transform: scale(1.03);
}
.nr-card__date {
    display: block;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 500;
}
.nr-card__title {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}
.nr-card:hover .nr-card__title {
    color: #fff;
}
.nr-card__excerpt {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.5;
}

.nr-card--news {
    padding: 24px;
    border-radius: 16px;
    background: #141218;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.nr-card__logo {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin-bottom: 18px;
}
.nr-card__logo img {
    display: block;
    max-width: 140px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.nr-card__outlet {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 500;
}

.nr-contact {
    background: #fff;
    padding: 88px 24px;
}
.nr-contact__inner {
    width: min(100%, 1120px);
    margin: 0 auto;
    text-align: center;
}
.nr-contact__inner h2 {
    margin: 0 0 40px;
    color: #1d1e20;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    letter-spacing: -0.02em;
}
.nr-contact__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    max-width: 720px;
    margin: 0 auto;
}
.nr-contact__item h3 {
    margin: 0 0 10px;
    color: #727586;
    font-size: 14px;
    font-weight: 600;
}
.nr-contact__item a {
    color: var(--gs-brand);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}
.nr-contact__item a:hover {
    text-decoration: underline;
}

.nr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Top news alert + newsletter option */
.nr-alert {
    background: #0b0a14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}
.nr-alert[hidden] { display: none !important; }
.nr-alert__inner {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
}
.nr-alert__copy {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.nr-alert__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #475bff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.nr-alert__link {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.nr-alert__link:hover .nr-alert__title { text-decoration: underline; }
.nr-alert__date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.nr-alert__title {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nr-alert__subscribe {
    flex-shrink: 0;
}
.nr-alert__form {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 4px 4px 4px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}
.nr-alert__form input {
    width: 150px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 13px;
    outline: none;
}
.nr-alert__form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.nr-alert__form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: #475bff;
    color: #fff;
    cursor: pointer;
}
.nr-alert__form button:hover { background: #5f72ff; }
.nr-alert__ok {
    margin: 0;
    color: #7ddea5;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.nr-alert__err {
    margin: 6px 0 0;
    color: #e5484d;
    font-size: 12px;
}
.nr-alert__close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.nr-alert__close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Spaceship webinars carbon (inside Webinar tab) */
.nr-panel--webinar {
    margin: 0 -24px;
}
.nr-webinars {
    background: #1d1e20;
    color: #b3b3b4;
    padding: 8px 0 48px;
    border-radius: 24px;
}
.nr-wh-hero {
    padding: 0 24px;
}
.nr-wh-hero__shell {
    position: relative;
    width: min(100%, 1440px);
    margin: 0 auto;
    min-height: clamp(280px, 36vw, 536px);
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(105deg, #d8c8f0 0%, #8b7fd6 28%, #3a4fd4 62%, #283497 100%);
}
.nr-wh-hero__background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.nr-wh-hero__container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: inherit;
    padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
    box-sizing: border-box;
}
.nr-wh-hero__content {
    max-width: 720px;
    text-align: left;
}
.nr-wh-hero__title {
    margin: 0 0 16px;
    color: rgba(29, 30, 32, 0.98);
    font-size: clamp(40px, 6vw, 88px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.nr-wh-hero__desc {
    margin: 0;
    color: rgba(29, 30, 32, 0.98);
    font-size: clamp(18px, 2.4vw, 32px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.nr-wh-latest {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 96px 72px 40px;
    box-sizing: border-box;
}
.nr-wh-latest__header {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px 48px;
    align-items: start;
    margin-bottom: 56px;
}
.nr-wh-latest__heading {
    margin: 0;
    color: #f9f9f9;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.nr-wh-latest__intro {
    margin: 0;
    color: #b3b3b4;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 400;
    line-height: 1.3;
}
.nr-wh-latest__content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px 56px;
    align-items: center;
}
.nr-wh-latest__media {
    display: flex;
    justify-content: center;
}
.nr-wh-latest__media img {
    display: block;
    width: min(100%, 420px);
    height: auto;
}
.nr-wh-latest__title {
    margin: 0 0 16px;
    color: #f9f9f9;
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.nr-wh-latest__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin: 0 0 20px;
}
.nr-wh-latest__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b3b3b4;
    font-size: 16px;
    font-weight: 500;
}
.nr-wh-latest__meta-item svg {
    flex-shrink: 0;
    opacity: 0.85;
}
.nr-wh-latest__excerpt {
    margin: 0 0 32px;
    color: #b3b3b4;
    font-size: clamp(16px, 1.5vw, 22px);
    line-height: 1.4;
}
.nr-wh-latest__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 8px;
    background: #475bff;
    color: #f9f9f9;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}
.nr-wh-latest__cta:hover {
    background: #5f72ff;
    transform: translateY(-1px);
}

/* Newsletter */
.nr-newsletter {
    background: #363739;
    color: #b3b3b4;
    padding: 48px 24px;
}
.nr-newsletter__inner {
    width: min(100%, 1120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px 40px;
    align-items: center;
}
.nr-newsletter__copy h2 {
    margin: 0 0 10px;
    color: #f9f9f9;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
}
.nr-newsletter__copy p {
    margin: 0;
    max-width: 34em;
    color: #b3b3b4;
    font-size: 14px;
    line-height: 1.5;
}
.nr-newsletter__form {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding: 6px 6px 6px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(26, 26, 28, 0.88);
    box-sizing: border-box;
}
.nr-newsletter__form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 15px;
    outline: none;
}
.nr-newsletter__form input::placeholder { color: #8b8b8e; }
.nr-newsletter__form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #475bff;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.nr-newsletter__form button:hover {
    background: #5f72ff;
    transform: scale(1.04);
}
.nr-newsletter__ok { margin: 0; color: #7ddea5; font-weight: 600; }
.nr-newsletter__err { margin: 10px 0 0; color: #e5484d; font-size: 13px; }

@media (max-width: 980px) {
    .nr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .nr-alert__inner { flex-wrap: wrap; }
    .nr-alert__subscribe { width: 100%; }
    .nr-alert__form { width: 100%; }
    .nr-alert__form input { width: auto; flex: 1; }
    .nr-wh-latest {
        padding: 72px 28px 32px;
    }
    .nr-wh-latest__header,
    .nr-wh-latest__content,
    .nr-newsletter__inner {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 720px) {
    .nr-hero { padding: 72px 20px 56px; }
    .nr-feed { padding: 28px 20px 72px; }
    .nr-grid,
    .nr-contact__grid {
        grid-template-columns: 1fr;
    }
    .nr-contact { padding: 64px 20px; }
    .nr-wh-hero { padding: 0 16px; }
    .nr-wh-hero__shell { border-radius: 24px; min-height: 300px; }
    .nr-wh-latest { padding: 56px 20px 24px; }
    .nr-newsletter { padding: 36px 20px; }
}
