:root {
    --bg: #0f172a;
    --bg-soft: #111c33;
    --card: #16223a;
    --card-light: #1e2d4a;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --accent: #facc15;
    --accent-dark: #eab308;
    --blue: #38bdf8;
    --red: #ef4444;
    --border: rgba(255,255,255,0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at top, #1e3a8a 0, #0f172a 45%, #020617 100%);
    color: var(--text);
    line-height: 1.6;
}

body.page-simple {
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

img {
    max-width: 100%;
}

.page {
    width: 100%;
    overflow: hidden;
}

.container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.topbar {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    color: var(--muted);
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: 0.2s;
}

.nav a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.08);
}

.hero {
    padding: 82px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255,255,255,0.06);
    font-size: 14px;
    margin-bottom: 18px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent);
}

.hero h1,
.news-hero h1,
.single-news-hero h1 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
    margin: 0 0 22px;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-text,
.news-hero p,
.single-news-lead {
    color: var(--muted);
    font-size: 18px;
    max-width: 780px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn,
.rs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.2s;
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-primary,
.rs-btn-primary {
    background: var(--accent);
    color: #111827;
}

.btn-primary:hover,
.rs-btn-primary:hover {
    background: var(--accent-dark);
    color: #111827;
    transform: translateY(-2px);
}

.btn-secondary,
.rs-btn-secondary {
    background: rgba(255,255,255,0.08);
    border-color: var(--border);
    color: var(--text);
}

.btn-secondary:hover,
.rs-btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    color: var(--text);
    transform: translateY(-2px);
}

.hero-card,
.content-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 22px 80px rgba(0,0,0,0.35);
}

.hero-card h2,
.content-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.search-box input,
.forum-search-form input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(2, 6, 23, 0.45);
    color: var(--text);
    outline: none;
}

.search-box input::placeholder,
.forum-search-form input::placeholder {
    color: #94a3b8;
}

.search-box button,
.forum-search-form button {
    border: 0;
    border-radius: 14px;
    padding: 0 16px;
    min-height: 48px;
    font-weight: 800;
    background: var(--blue);
    color: #082f49;
    cursor: pointer;
    transition: 0.2s;
}

.search-box button:hover,
.forum-search-form button:hover {
    transform: translateY(-2px);
}

.stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.stat {
    background: rgba(2, 6, 23, 0.36);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
}

.stat strong {
    display: block;
    font-size: 22px;
    color: var(--accent);
}

.stat span {
    font-size: 13px;
    color: var(--muted);
}

.section {
    padding: 46px 0;
}

.section-title {
    max-width: 760px;
    margin-bottom: 26px;
}

.section-title h2 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    margin: 0 0 12px;
}

.section-title p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.forum-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    background: rgba(22, 34, 58, 0.92);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
}

.forum-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(250,204,21,0.18), transparent 36%);
    pointer-events: none;
}

.forum-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(250,204,21,0.45);
    background: rgba(30, 45, 74, 0.95);
}

.forum-card h3 {
    position: relative;
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
}

.forum-card p {
    position: relative;
    color: var(--muted);
    margin: 0 0 22px;
}

.forum-card .card-link {
    position: relative;
    margin-top: auto;
    color: var(--accent);
    font-weight: 800;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}

.feature strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.feature span {
    color: var(--muted);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.topic-link {
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    color: var(--muted);
    transition: 0.2s;
}

.topic-link:hover {
    color: var(--text);
    background: rgba(255,255,255,0.12);
    border-color: rgba(56,189,248,0.5);
}

.forum-search-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.forum-search-form {
    background: rgba(22, 34, 58, 0.92);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
}

.forum-search-form h3 {
    margin: 0 0 14px;
    font-size: 22px;
}

.forum-search-form input {
    margin-bottom: 14px;
}

.forum-search-form button {
    width: 100%;
    background: var(--accent);
    color: #111827;
}

.forum-search-form button:hover {
    background: var(--accent-dark);
}

.support {
    background: linear-gradient(135deg, rgba(250,204,21,0.14), rgba(56,189,248,0.10));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.support h2 {
    margin: 0 0 10px;
    font-size: 30px;
}

.support p {
    margin: 0;
    color: var(--muted);
}

.news-hero {
    padding: 72px 0 36px;
}

.news-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

.news-hero p {
    margin: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card {
    background: rgba(22, 34, 58, 0.92);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.2s;
}

.news-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.news-content h2 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.news-content h2 a:hover {
    color: var(--accent);
}

.news-content p {
    color: var(--muted);
    margin: 0 0 18px;
}

.news-more {
    color: var(--accent);
    font-weight: 800;
}

.single-news-hero {
    padding: 72px 0 36px;
}

.single-news-hero h1 {
    max-width: 920px;
    font-size: clamp(34px, 5vw, 58px);
}

.single-news-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 18px;
}

.single-news-lead {
    max-width: 880px;
    font-size: 19px;
    margin: 0;
}

.single-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.single-news-content {
    background: rgba(22, 34, 58, 0.92);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 28px;
}

.single-news-main-image {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 24px;
    display: block;
}

.single-news-content p {
    color: var(--muted);
    font-size: 18px;
    margin: 0 0 18px;
}

.single-news-content h2 {
    font-size: 28px;
    margin: 0 0 12px;
}

.forum-discuss-box {
    margin-top: 30px;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(250,204,21,0.14), rgba(56,189,248,0.10));
    border: 1px solid var(--border);
}

.single-news-sidebar {
    position: sticky;
    top: 96px;
}

.sidebar-card {
    background: rgba(22, 34, 58, 0.92);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
}

.sidebar-card h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.sidebar-card a {
    display: block;
    padding: 10px 0;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

.sidebar-card a:hover {
    color: var(--accent);
}

.sidebar-card a:last-child {
    border-bottom: 0;
}

.footer {
    padding: 36px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer a:hover {
    color: var(--accent);
}

@media (max-width: 980px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .cards-grid,
    .features,
    .topics-grid,
    .support,
    .single-news-layout {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        justify-content: flex-start;
    }

    .hero {
        padding-top: 48px;
    }

    .single-news-sidebar {
        position: static;
    }

    .single-news-content {
        padding: 20px;
    }
}

@media (max-width: 760px) {
    .forum-search-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .stats-mini {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .forum-card,
    .support,
    .forum-search-form,
    .single-news-content {
        border-radius: 20px;
        padding: 20px;
    }

    .btn,
    .rs-btn {
        width: 100%;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
    }
}

.quick-search-forms {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.quick-search-forms .search-box {
    margin-top: 0;
}

.quick-search-forms .search-box button {
    min-width: 82px;
}

@media (max-width: 900px) {
    .quick-search-forms .search-box button {
        width: 100%;
    }
}

.hero-text-small {
    margin-top: -12px;
    font-size: 16px;
}

.quick-search-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.stats-section {
    padding-top: 12px;
}

.stats-panel {
    background: rgba(22, 34, 58, 0.72);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 26px;
}

.stats-title {
    margin-bottom: 18px;
}

.stats-title h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.stats-mini-wide {
    margin-top: 0;
}

@media (max-width: 520px) {
    .stats-panel {
        border-radius: 20px;
        padding: 20px;
    }
}

.forum-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.forum-section-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 270px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(22, 34, 58, 0.96), rgba(15, 23, 42, 0.96));
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    transition: 0.22s ease;
}

.forum-section-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -70px;
    top: -70px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.23), transparent 68%);
    pointer-events: none;
}

.forum-section-card:hover {
    transform: translateY(-5px);
    border-color: rgba(250, 204, 21, 0.45);
    background: linear-gradient(145deg, rgba(30, 45, 74, 0.98), rgba(15, 23, 42, 0.98));
}

.forum-section-content {
    position: relative;
    z-index: 1;
}

.forum-section-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
    color: var(--text);
}

.forum-section-card p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.forum-section-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 22px;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 14px;
    background: var(--accent);
    color: #111827;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.forum-section-btn:hover {
    background: var(--accent-dark);
    color: #111827;
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .forum-sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .forum-sections-grid {
        grid-template-columns: 1fr;
    }

    .forum-section-card {
        min-height: auto;
        padding: 20px;
    }

    .forum-section-btn {
        width: 100%;
    }
}

.mailer-alert {
    display: none;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(250, 204, 21, 0.16);
    border: 1px solid rgba(250, 204, 21, 0.42);
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.mailer-alert.is-visible {
    display: block;
}

.mailer-form input.is-error {
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.22);
}

/* Mailer subscribe form */

.mailer-box {
    width: 100%;
    max-width: 980px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 26px;
    background: rgba(22, 34, 58, 0.92);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
    color: #f8fafc;
}

.mailer-head {
    max-width: 760px;
    margin-bottom: 26px;
}

.mailer-head h2 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.2;
    color: #f8fafc;
}

.mailer-head p {
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
}

.mailer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: start;
}

.mailer-card {
    padding: 22px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255,255,255,0.12);
}

.mailer-card h3 {
    margin: 0 0 18px;
    font-size: 22px;
    color: #facc15;
}

.mailer-form {
    display: grid;
    gap: 14px;
}

.mailer-form label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.mailer-form label span {
    color: #e5eefc;
    font-size: 14px;
    font-weight: 700;
}

.mailer-form input[type="text"],
.mailer-form input[type="email"] {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    background: #f8fafc;
    color: #111827;
    outline: none;
    box-sizing: border-box;
}

.mailer-form input::placeholder {
    color: #64748b;
}

.mailer-form input:focus {
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250,204,21,0.18);
}

.mailer-form input.is-error {
    border-color: #facc15 !important;
    box-shadow: 0 0 0 3px rgba(250,204,21,0.22);
}

.mailer-form button {
    min-height: 48px;
    margin-top: 4px;
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    background: #facc15;
    color: #111827;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.mailer-form button:hover {
    background: #eab308;
    transform: translateY(-2px);
}

.mailer-alert {
    display: none;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(250, 204, 21, 0.16);
    border: 1px solid rgba(250, 204, 21, 0.42);
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.mailer-alert.is-visible {
    display: block;
}

.mailer-message {
    margin: 0 0 16px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(250, 204, 21, 0.14);
    border: 1px solid rgba(250, 204, 21, 0.28);
    color: #f8fafc;
}

@media (max-width: 760px) {
    .mailer-box {
        padding: 22px;
        margin: 28px auto;
        border-radius: 22px;
    }

    .mailer-grid {
        grid-template-columns: 1fr;
    }

    .mailer-head h2 {
        font-size: 28px;
    }
}

/* Forum topics widget */

.pb-forum-topics-widget {
    position: relative;
    margin: 54px auto;
    padding: 34px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(250, 204, 21, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(22, 34, 58, 0.96), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 70px rgba(0,0,0,0.26);
    overflow: hidden;
}

.pb-forum-topics-widget::before {
    content: "";
    position: absolute;
    left: -120px;
    top: -120px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.20), transparent 70%);
    pointer-events: none;
}

.pb-forum-topics-head {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
}

.pb-forum-topics-head h2 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 900;
}

.pb-forum-topics-head p {
    max-width: 760px;
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.65;
}

.pb-forum-topics-head::after {
    content: "оновлюється з форуму";
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.14);
    border: 1px solid rgba(250, 204, 21, 0.32);
    color: #facc15;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.pb-forum-topics-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pb-forum-topics-col {
    min-width: 0;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.84));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    transition: 0.22s ease;
}

.pb-forum-topics-col:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 18px 45px rgba(0,0,0,0.20);
}

.pb-forum-topics-col h3 {
    position: relative;
    margin: 0 0 14px;
    padding: 0 0 12px;
    color: #facc15;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
}

.pb-forum-topics-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: #facc15;
}

.pb-forum-topics-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pb-forum-topics-col li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pb-forum-topics-col li:last-child {
    border-bottom: 0;
}

.pb-forum-topics-col span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 2px 5px;
    border-radius: 7px;
    background: rgba(255,255,255,0.07);
    color: #cbd5e1;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

.pb-forum-topics-col a {
    display: block;
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: 0.18s ease;
}

.pb-forum-topics-col a:hover {
    color: #facc15;
    text-decoration: none;
}

.pb-forum-topics-col a::after {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    margin-top: 3px;
    background: #facc15;
    transition: 0.18s ease;
}

.pb-forum-topics-col a:hover::after {
    width: 42px;
}

.pb-forum-topics-empty {
    display: block !important;
    color: #cbd5e1;
    font-size: 14px;
}

.forum-widget-error {
    margin: 24px 0;
    padding: 16px;
    border-radius: 14px;
    background: rgba(250, 204, 21, 0.16);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #f8fafc;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .pb-forum-topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .pb-forum-topics-widget {
        padding: 22px;
        margin: 36px auto;
        border-radius: 24px;
    }

    .pb-forum-topics-head {
        display: block;
    }

    .pb-forum-topics-head h2 {
        font-size: 28px;
    }

    .pb-forum-topics-head::after {
        margin-top: 14px;
    }

    .pb-forum-topics-grid {
        grid-template-columns: 1fr;
    }

    .pb-forum-topics-col {
        padding: 16px;
    }

    .pb-forum-topics-col li {
        grid-template-columns: 44px minmax(0, 1fr);
    }
}

.green-text {
    color: #22c55e;
}