:root {
    --bs-primary: #1a3066;
    --bs-secondary: #6c757d;
    --bs-danger: #d32f2f;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
}

body {
    background-color: var(--bs-light);
    color: var(--bs-dark);
    font-family: "Source Sans 3", sans-serif;
}

.headline-font {
    font-family: "Lora", serif;
}

.newsroom-navbar {
    background-color: var(--bs-primary);
}

.newsroom-navbar .navbar-brand,
.newsroom-navbar .nav-link,
.newsroom-navbar .navbar-toggler {
    color: #ffffff;
}

.brand-wordmark {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.newsroom-search input {
    min-width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.newsroom-search input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.featured-story-card {
    min-height: clamp(420px, 38vw, 540px);
    background:
        radial-gradient(circle at 18% 22%, rgba(211, 47, 47, 0.28), transparent 22%),
        radial-gradient(circle at 84% 14%, rgba(104, 149, 255, 0.24), transparent 20%),
        linear-gradient(132deg, #091327 0%, #10244d 44%, #1a3066 100%);
    position: relative;
}

.featured-story-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 11, 22, 0.9), rgba(10, 20, 42, 0.3));
    z-index: 1;
}

.featured-story-card .card-img-overlay {
    z-index: 2;
}

.featured-story-content {
    max-width: 960px;
}

.featured-story-title {
    font-size: clamp(2rem, 3.8vw, 3.45rem);
    line-height: 1.08;
}

.featured-story-summary {
    max-width: 920px;
}

.featured-story-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.featured-story-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.85;
}

.featured-story-orb-primary {
    width: 280px;
    height: 280px;
    top: -70px;
    right: 7%;
    background: radial-gradient(circle, rgba(81, 128, 255, 0.55), rgba(81, 128, 255, 0));
}

.featured-story-orb-accent {
    width: 240px;
    height: 240px;
    bottom: -70px;
    left: 4%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.5), rgba(211, 47, 47, 0));
}

.featured-story-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(135deg, transparent 5%, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.9) 85%, transparent 100%);
}

.feed-image {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: cover;
}

.release-card {
    border-bottom: 1px solid #d9dfe5;
    padding-bottom: 0.75rem;
}

.sidebar-panel {
    background: #ffffff;
    border: 1px solid #e5e9ef;
}

.tag-cloud .badge {
    font-weight: 500;
    color: var(--bs-primary);
}

.newsroom-note {
    background: #e9f2ff;
    color: #0f254f;
}

.lead-body {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.1rem;
}

.media-kit-btn {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.media-kit-btn:hover,
.media-kit-btn:focus {
    background-color: #14254e;
    border-color: #14254e;
}

.adsense-placeholder {
    border: 1px solid #d7e1f1;
    background: linear-gradient(135deg, #f4f8ff 0%, #eef4ff 52%, #fff4f4 100%);
    color: #1f2f4d;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.6rem;
    min-height: 110px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.adsense-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.adsense-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a3066;
    font-weight: 700;
}

.adsense-title {
    font-size: 1rem;
    line-height: 1.35;
}

.adsense-size {
    color: #4f6080;
    font-size: 0.83rem;
}

.adsense-cta {
    align-self: flex-start;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.adsense-banner {
    min-height: 120px;
}

.adsense-rectangle {
    min-height: 260px;
}

.adsense-inline {
    min-height: 170px;
}

.newsroom-footer {
    background: #ffffff;
}

.footer-shell {
    background: linear-gradient(180deg, #ffffff, #f6f8fc);
    border: 1px solid #e2e8f2;
    border-radius: 1rem;
}

.footer-links-title {
    color: #5b6b85;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.footer-credit-card {
    background: #ffffff;
    border: 1px solid #dfe5ef;
    border-radius: 0.85rem;
}

.footer-credit-title {
    font-weight: 700;
    color: #263a60;
    letter-spacing: 0.01em;
}

.footer-credit-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: #6f7f99;
}

.help-hero {
    background:
        radial-gradient(circle at top right, rgba(211, 47, 47, 0.12), transparent 30%),
        linear-gradient(135deg, #102753 0%, #1a3066 55%, #264588 100%);
    color: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
}

.help-hero-kicker,
.help-section-kicker {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 700;
}

.help-hero-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
}

.help-checklist {
    padding-left: 1.2rem;
}

.help-checklist li + li {
    margin-top: 0.55rem;
}

.help-step-card,
.help-rule-card,
.help-faq-card {
    height: 100%;
    border: 1px solid #dfe6f1;
    border-radius: 1rem;
    background: #ffffff;
}

.help-step-number {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e9f2ff;
    color: #1a3066;
    font-weight: 700;
}

.help-rule-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.help-rule-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: #1a3066;
    color: #ffffff;
    font-size: 1.1rem;
}

.help-aside-card {
    border: 1px solid #dce5f1;
    border-radius: 1rem;
    background: #ffffff;
}

.help-aside-list {
    padding-left: 1.1rem;
}

.help-aside-list li + li {
    margin-top: 0.45rem;
}

.plan-hero {
    background:
        radial-gradient(circle at top left, rgba(211, 47, 47, 0.16), transparent 26%),
        radial-gradient(circle at right center, rgba(41, 78, 157, 0.28), transparent 30%),
        linear-gradient(135deg, #0c1831 0%, #132a56 48%, #1a3066 100%);
    color: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
}

.plan-hero-panel {
    background: #ffffff;
    color: #212529;
    border-radius: 1rem;
    border: 1px solid #dce5f1;
    box-shadow: 0 20px 45px rgba(7, 19, 40, 0.18);
}

.plan-hierarchy-card {
    border: 1px solid #dfe6f1;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.plan-hierarchy-upgrade {
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #fff5f5 0%, #fff9f2 100%);
    border: 1px solid #ffd5d5;
}

.plan-card {
    background: #ffffff;
    border-radius: 1.1rem;
    overflow: hidden;
}

.plan-card-plus {
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
    box-shadow: 0 16px 40px rgba(186, 39, 39, 0.1);
}

.plan-card-popular {
    position: relative;
    border: 1px solid rgba(211, 47, 47, 0.24);
    box-shadow: 0 22px 55px rgba(16, 36, 77, 0.18);
}

.plan-card-popular::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1.1rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.9), rgba(26, 48, 102, 0.7));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.plan-popular-badge {
    border-radius: 999px;
    background: #d32f2f;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.5rem 0.85rem;
}

.plan-price-block {
    padding-bottom: 1.1rem;
    border-bottom: 1px solid #e2e8f2;
}

.plan-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.plan-metric-box {
    border-radius: 0.9rem;
    background: #f5f8fd;
    border: 1px solid #dce5f1;
    padding: 0.85rem 0.95rem;
}

.plan-metric-label {
    display: block;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #687891;
    margin-bottom: 0.25rem;
}

.provider-hero {
    background:
        radial-gradient(circle at top left, rgba(211, 47, 47, 0.18), transparent 28%),
        radial-gradient(circle at 85% 22%, rgba(109, 153, 255, 0.22), transparent 24%),
        linear-gradient(135deg, #091327 0%, #12274f 46%, #1a3066 100%);
    color: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
}

.provider-kicker {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 700;
}

.provider-hero-panel,
.provider-register-aside {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
}

.provider-feature-card,
.provider-step-card {
    height: 100%;
    border: 1px solid #dfe6f1;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.provider-feature-icon {
    width: 2.9rem;
    height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    background: #1a3066;
    color: #ffffff;
    font-size: 1.1rem;
}

.provider-aside-card,
.provider-register-shell,
.provider-summary-card,
.provider-dns-card {
    border: 1px solid #dce5f1;
    border-radius: 1rem;
    background: #ffffff;
}

.provider-register-shell {
    background: linear-gradient(135deg, #ffffff 0%, #f7faff 62%, #fff6f6 100%);
}

.provider-register-card {
    border-radius: 1.1rem;
    overflow: hidden;
}

.provider-register-band {
    border: 1px solid #dce5f1;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 62%, #fff8f8 100%);
}

.provider-code-block {
    border-radius: 0.95rem;
    background: #0d1b36;
    color: #ffffff;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(26, 48, 102, 0.25);
    font-size: 0.98rem;
}

.provider-code-block code {
    color: #ffffff;
    font-size: inherit;
}

.provider-dns-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

.provider-dns-block {
    border-radius: 0.95rem;
    border: 1px solid #e2e8f2;
    background: #f8fbff;
    padding: 0.9rem 1rem;
}

.provider-dns-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #667792;
    font-weight: 700;
}

.provider-dns-block code {
    color: #102753;
    word-break: break-all;
}

.publisher-panel-body {
    background: #eef2f8;
}

.publisher-topbar {
    background: var(--bs-primary);
}

.news-provider-panel-body {
    background: #eef2f8;
}

.news-provider-topbar {
    background: linear-gradient(135deg, #102753 0%, #1a3066 100%);
}

.api-key-copy-btn {
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.api-key-copy-btn.copied {
    background-color: #198754;
    border-color: #198754;
    color: #ffffff;
    transform: scale(1.04);
}

.publisher-footer {
    background: #ffffff;
}

.admin-panel-body {
    background: #eef2f7;
    font-family: "Source Sans 3", sans-serif;
}

.admin-sidebar {
    width: 260px;
    background: #1a3066;
    color: #ffffff;
    min-height: 100vh;
    position: sticky;
    top: 0;
}

.admin-sidebar-brand {
    font-weight: 700;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.88);
    border-radius: 0.5rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.admin-top-search {
    max-width: 320px;
    width: 100%;
}

.admin-stat-card {
    background: #ffffff;
}

.admin-footer {
    margin-top: auto;
}

.share-btn {
    color: #ffffff;
    border: 1px solid transparent;
    font-weight: 600;
}

.share-btn:hover,
.share-btn:focus {
    color: #ffffff;
    filter: brightness(0.92);
}

.share-btn-whatsapp {
    background: #25d366;
}

.share-btn-x {
    background: #111111;
}

.share-btn-facebook {
    background: #1877f2;
}

.share-btn-linkedin {
    background: #0a66c2;
}

.share-btn-telegram {
    background: #229ed9;
}

.share-btn-copy {
    background: #6c757d;
}

.share-btn-print {
    background: #1a3066;
}

.w-fit {
    width: fit-content;
}

@media (max-width: 991.98px) {
    .featured-story-card {
        min-height: 360px;
    }

    .newsroom-search input {
        min-width: 100%;
    }

    .plan-metric-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .featured-story-card {
        min-height: auto;
    }

    .featured-story-card .card-img-overlay {
        position: relative;
        inset: auto;
    }

    .featured-story-content {
        display: block !important;
        padding: 1.25rem !important;
    }

    .featured-story-title {
        font-size: 1.95rem;
        line-height: 1.12;
        margin-bottom: 0.9rem;
    }

    .featured-story-summary {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }

    .featured-story-orb-primary {
        width: 190px;
        height: 190px;
        top: -45px;
        right: -20px;
    }

    .featured-story-orb-accent {
        width: 160px;
        height: 160px;
        bottom: -50px;
        left: -24px;
    }
}
