:root {
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --bg-body: #f4f7fb;
    --bg-card: #ffffff;
    --bg-elevated: #0f172a;
    --surface-soft: #eef2ff;
    --text-main: #132033;
    --text-muted: #607089;
    --border-soft: #d7dfeb;
    --color-brand: #cf102d;
    --color-brand-dark: #a20d23;
    --color-accent: #1d4ed8;
    --color-success: #0f9f6e;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 42px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-brand);
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

a:hover {
    color: var(--color-brand-dark);
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

.background-cover,
.put-wrap-pop {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
    background: #111111;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 80px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.logo-img {
    display: block;
    max-height: 54px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.93rem;
    font-weight: 500;
}

.main-nav > ul > li > a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.main-nav .has-dropdown > a::after {
    content: ' ▾';
    font-size: 0.72rem;
    opacity: 0.72;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.main-nav li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
}

.dropdown-menu a:hover {
    padding-left: 22px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-brand) 0%, #e44761 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(207, 16, 45, 0.28);
}

.header-cta:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(207, 16, 45, 0.32);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 220ms ease, opacity 220ms ease;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-content {
    background: transparent;
}

.the-main-container.the-wrap-container {
    max-width: 1220px;
    width: 100%;
}

.page-template-template-home .main-content {
    background:
        radial-gradient(900px 280px at 12% -120px, rgba(207, 16, 45, 0.09) 0, transparent 72%),
        radial-gradient(880px 260px at 88% -120px, rgba(29, 78, 216, 0.09) 0, transparent 72%),
        #f6f8fc;
}

.page-template-template-home .the-main-container.the-wrap-container {
    max-width: 1640px;
    width: 100%;
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.page-template-template-home .discy-inner-content.menu_sidebar {
    display: block;
}

.page-template-template-home .the-main-container.the-wrap-container > nav.nav_menu.fixed_nav_menu {
    grid-column: 1;
    width: 176px;
    flex: 0 0 176px;
    float: none;
    position: sticky;
    top: 112px;
    align-self: start;
    padding-top: 32px;
    margin-left: 0;
}

.page-template-template-home .the-main-container.the-wrap-container > main.all-main-wrap {
    grid-column: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    float: none;
    background: transparent;
    margin-left: 0;
}

.page-template-template-home .discy-inner-content.menu_sidebar .the-main-inner {
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: 28px 0 46px;
    float: none;
    border-right: 0;
    border-left: 0;
}

.page-template-template-home .discy-inner-content.menu_sidebar .hide-main-inner {
    display: none;
}

.page-template-template-home .discy-inner-content.menu_sidebar nav.nav_menu.fixed_nav_menu .menu {
    padding: 10px;
    border: 1px solid #dfe7f3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.page-template-template-home .discy-inner-content.menu_sidebar nav.nav_menu.fixed_nav_menu .menu > li > a {
    border-radius: 10px;
}

.page-template-template-home .discy-inner-content.menu_sidebar nav.nav_menu.fixed_nav_menu .menu > li > a:hover {
    background: #f3f7ff;
}

.wpqa-session-message + .clearfix {
    display: none;
}

.ca-home-intro {
    padding: 34px 0 20px;
}

.page-template-template-home .ca-home-intro .container,
.page-template-template-home .ca-quick-links-section .container,
.page-template-template-home .ca-community-intro .container {
    max-width: none;
    padding: 0;
}

.ca-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.92fr);
    gap: 20px;
    align-items: stretch;
}

.ca-hero-copy,
.ca-hero-panel {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.ca-hero-copy {
    padding: 36px 40px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.2) 0, transparent 42%),
        linear-gradient(128deg, #0f172a 0%, #111827 55%, #1e293b 100%);
    color: #ffffff;
}

.ca-hero-badge,
.ca-section-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ca-hero-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

.ca-home-intro h1 {
    margin: 16px 0 14px;
    color: #ffffff;
    font-size: clamp(2.1rem, 3.4vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    max-width: 16ch;
}

.ca-highlight {
    color: #fecaca;
}

.ca-home-intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.04rem;
    line-height: 1.75;
    max-width: 70ch;
}

.ca-hero-points {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.ca-hero-points li {
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    font-weight: 600;
}

.ca-hero-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fda4af;
}

.ca-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.ca-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.ca-btn-primary {
    background: linear-gradient(135deg, var(--color-brand) 0%, #ef476f 100%);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(207, 16, 45, 0.24);
}

.ca-btn-primary:hover {
    color: #ffffff;
}

.ca-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.ca-btn-secondary:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.ca-hero-panel {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6ff 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    display: grid;
    gap: 8px;
}

.ca-panel-title {
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 1.04rem;
    font-weight: 800;
}

.ca-panel-link {
    display: block;
    padding: 12px 13px;
    border-radius: 12px;
    border: 1px solid #dce5f3;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
}

.ca-panel-link + .ca-panel-link {
    margin-top: 8px;
}

.ca-panel-link strong {
    display: block;
    margin-bottom: 3px;
    color: #0f172a !important;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
}

.ca-panel-link span {
    display: block;
    color: #56657a !important;
    font-size: 0.88rem;
    line-height: 1.5;
}

.ca-panel-link:hover {
    transform: translateY(-1px);
    border-color: #c8d5ea;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.ca-quick-links-section,
.ca-community-intro {
    padding: 10px 0 12px;
}

.ca-section-kicker {
    background: rgba(207, 16, 45, 0.08);
    color: var(--color-brand);
    margin-bottom: 14px;
}

.ca-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.ca-quick-card {
    display: block;
    min-height: 100%;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid #dfe8f4;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.ca-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ca-quick-label {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(29, 78, 216, 0.08);
    color: var(--color-accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ca-quick-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 1.08rem;
}

.ca-quick-card p,
.ca-community-intro p {
    margin: 0;
    color: var(--text-muted);
}

.ca-community-intro h2 {
    margin: 0 0 8px;
    color: var(--text-main);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.03em;
}

.page-template-template-home #row-tabs-home {
    margin-top: 14px;
}

.page-template-template-home .wrap-tabs {
    padding: 10px 12px;
    border-color: #dfe8f4;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.page-template-template-home .loop-section {
    margin-top: 10px;
}

.page-template-template-home .question-articles .article-post,
.page-template-template-home .page-content.commentslist {
    margin: 0 0 18px !important;
    padding: 0 !important;
    border-bottom: 0 !important;
}

.page-template-template-home .article-question .single-inner-content {
    border: 1px solid #dfe8f4;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    padding: 26px 28px;
}

.page-template-template-home .article-question .post-title a {
    font-size: clamp(1.16rem, 1.2vw, 1.42rem);
    line-height: 1.35;
}

.page-template-template-home .article-question .question-content-text,
.page-template-template-home .article-question .excerpt-question {
    max-width: 82ch;
    color: #46556a;
    font-size: 1.02rem;
    line-height: 1.78;
}

.page-template-template-home .article-question .question-header .post-author {
    color: #0f172a;
    font-weight: 700;
}

.wrap-tabs,
.widget.card.tabs-wrap.widget-tabs,
.article-question .single-inner-content,
.article-post.article-post-only .single-inner-content,
.single-question .single-inner-content {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.wrap-tabs {
    padding: 8px;
    margin-bottom: 18px;
}

.menu-tabs ul {
    gap: 10px;
}

.menu-tabs > ul > li > a,
.menu-tabs > ul > li > span {
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
}

.menu-tabs > ul > li.active-tab > a {
    background: rgba(207, 16, 45, 0.1);
    color: var(--color-brand);
}

.article-question {
    margin-bottom: 18px;
}

.article-question .single-inner-content,
.article-post.article-post-only .single-inner-content {
    padding: 24px;
}

.article-question .question-inner {
    display: block;
}

.article-question .post-title a,
.article-post.article-post-only .post-title {
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.article-question .post-title a {
    font-size: 1.25rem;
}

.article-question .question-content-text,
.article-post.article-post-only .post-content-text,
.article-post.article-post-only .post-content-text p,
.article-post.article-post-only .post-content-text li {
    color: var(--text-muted);
}

.article-question .question-header,
.article-question .post-meta,
.article-question .post-author,
.article-question .question-content-text {
    font-family: var(--font-primary);
}

.author-image-span,
.author-image img,
.author-image .avatar {
    border-radius: 999px;
}

.article-question .question-vote,
.article-question .question-mobile {
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--border-soft);
    padding: 8px 6px;
}

.article-question .vote_result {
    color: var(--color-brand);
    font-weight: 800;
}

.question-footer,
.article-post.article-post-only footer,
.article-post.article-post-only .footer-meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e7edf5;
}

.footer-meta,
.article-question .footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.article-question .footer-meta li a,
.article-question .footer-meta li {
    color: var(--text-muted);
    font-weight: 600;
}

.widget.card.tabs-wrap.widget-tabs {
    padding: 20px;
}

.widget-title-tabs {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7edf5;
}

.widget.card.tabs-wrap.widget-tabs .tabs {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget.card.tabs-wrap.widget-tabs .tabs li a {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--text-muted);
    font-weight: 700;
}

.widget.card.tabs-wrap.widget-tabs .notifications__item {
    display: grid !important;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

.widget.card.tabs-wrap.widget-tabs .notifications__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.widget.card.tabs-wrap.widget-tabs .question__title a {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
}

.widget.card.tabs-wrap.widget-tabs .question-item__meta a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.article-post.article-post-only .single-inner-content h1,
.article-post.article-post-only .single-inner-content h2,
.article-post.article-post-only .single-inner-content h3,
.article-post.article-post-only .single-inner-content h4 {
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.ca-guide-page .the-main-container.the-wrap-container {
    max-width: 1180px;
}

.ca-guide-page .post-articles {
    margin-bottom: 0;
}

.ca-guide-page .article-post.article-post-only {
    margin-bottom: 0;
}

.ca-guide-page .article-post.article-post-only .single-inner-content {
    padding: 30px 34px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.ca-guide-page .article-post.article-post-only .post-title {
    margin-bottom: 8px;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.1;
}

.ca-guide-page .article-post.article-post-only .post-author {
    display: inline-flex;
    margin-bottom: 8px;
    font-weight: 700;
}

.ca-guide-page .article-post.article-post-only .post-content-text {
    max-width: 100%;
    color: var(--text-main);
}

.ca-guide-page .article-post.article-post-only .post-content-text p,
.ca-guide-page .article-post.article-post-only .post-content-text li {
    color: var(--text-main);
}

.ca-guide-page .styled-container {
    color: var(--text-main);
}

.ca-guide-page .styled-container h2 {
    margin-top: 34px;
}

.ca-guide-page .styled-container .card,
.ca-guide-page .styled-container .list-comparison-column,
.ca-guide-page .styled-container .cta-block,
.ca-guide-page .styled-container .faq-item {
    border-radius: 16px;
}

.ca-guide-page .styled-container .cta-btn {
    background: linear-gradient(135deg, var(--color-brand) 0%, #ef476f 100%);
}

.ca-guide-page .styled-container .cta-btn:hover {
    background: linear-gradient(135deg, var(--color-brand-dark) 0%, #cf365a 100%);
}

.ca-guide-page .styled-container .cta-btn-secondary {
    background: linear-gradient(135deg, var(--color-success) 0%, #13b981 100%);
}

.ca-guide-page .styled-container .cta-btn-secondary:hover {
    background: linear-gradient(135deg, #0b7d58 0%, #0f9f6e 100%);
}

.site-footer {
    margin-top: 56px;
    padding: 56px 0 28px;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 1fr));
    gap: 28px;
}

.footer-brand .logo-img {
    margin-bottom: 16px;
    filter: none;
    max-width: 220px;
    max-height: 76px;
}

.footer-brand p {
    max-width: 32rem;
}

.copyright {
    opacity: 0.9;
}

.footer-col h4 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col li + li {
    margin-top: 10px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.74);
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.93rem;
}

.footer-bottom p {
    margin: 0 0 8px;
}

@media (max-width: 1280px) {
    .page-template-template-home .the-main-container.the-wrap-container {
        display: block;
    }

    .page-template-template-home .discy-inner-content.menu_sidebar nav.nav_menu.fixed_nav_menu {
        display: none;
    }

    .page-template-template-home .discy-inner-content.menu_sidebar main.all-main-wrap {
        width: 100%;
    }

    .page-template-template-home .discy-inner-content.menu_sidebar .the-main-inner {
        padding: 24px 20px 36px;
    }

    .page-template-template-home .ca-hero-grid {
        grid-template-columns: 1fr;
    }

    .page-template-template-home .ca-home-intro h1 {
        max-width: 20ch;
    }
}

@media (max-width: 1180px) {
    .header-cta {
        display: none;
    }
}

@media (max-width: 1040px) {
    .header-cta {
        display: none;
    }

    .ca-hero-grid,
    .ca-quick-links,
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .burger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 99;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-y: auto;
        max-height: calc(100vh - 80px);
        background: #111111;
        padding: 12px 0 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav > ul > li > a {
        padding: 13px 20px;
        border-radius: 0;
        font-size: 1rem;
        background: transparent;
    }

    .dropdown-menu {
        position: static;
        display: none;
        margin-top: 0;
        min-width: 0;
        padding: 4px 0;
        background: rgba(255, 255, 255, 0.04);
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .main-nav li.open .dropdown-menu {
        display: block;
    }

    .main-nav .has-dropdown > a::after {
        float: right;
    }

    .dropdown-menu a {
        padding: 10px 20px 10px 36px;
    }

    .site-header {
        overflow: hidden;
    }

    .header-inner {
        padding: 0 16px;
    }

    .logo-img {
        max-height: 50px;
        max-width: 176px;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 0 16px;
    }

    .ca-home-intro {
        padding-top: 28px;
    }

    .ca-hero-copy,
    .ca-hero-panel,
    .article-question .single-inner-content,
    .article-post.article-post-only .single-inner-content,
    .widget.card.tabs-wrap.widget-tabs {
        padding: 20px;
    }

    .ca-guide-page .article-post.article-post-only .single-inner-content {
        padding: 22px;
    }

    .article-question .post-title a {
        font-size: 1.08rem;
    }
}
