@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
    --ana-ink: #0b1f33;
    --ana-ink-soft: #3a5266;
    --ana-blue: #2b6dd4;
    --ana-blue-soft: #c7d9f1;
    --ana-ice: #e4f0ff;
    --ana-card: #ffffff;
    --ana-border: rgba(11, 31, 51, 0.12);
    --ana-shadow: 0 26px 50px rgba(11, 31, 51, 0.12);
}

.page-analytics-modern .legacy-content #wrapper > .col-container {
    display: none;
}

.analytics-section {
    position: relative;
    margin: 12px 0 40px;
    padding: 72px 0;
    border-radius: 28px;
    background: linear-gradient(128deg, #eef5ff 0%, #ffffff 45%, var(--ana-ice) 100%);
    font-family: "Manrope", "Poppins", sans-serif;
    overflow: hidden;
    box-shadow: var(--ana-shadow);
}

.analytics-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -120px;
    right: -90px;
    background: radial-gradient(circle at 30% 30%, rgba(144, 189, 241, 0.45), transparent 70%);
    pointer-events: none;
}

.analytics-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(43, 109, 212, 0.16) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.3;
    pointer-events: none;
}

.analytics-shell {
    position: relative;
    z-index: 1;
    width: min(96%, 100%);
    margin: 0 auto;
    padding: 0 2px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 28px;
    align-items: start;
}

.analytics-section--single-col .analytics-shell {
    grid-template-columns: minmax(0, 1fr);
}

.analytics-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(43, 109, 212, 0.16);
    color: var(--ana-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.analytics-title {
    margin: 16px 0 10px;
    font-family: "Space Grotesk", "Poppins", sans-serif;
    font-size: 36px;
    line-height: 1.2;
    color: var(--ana-ink);
}

.analytics-lead {
    font-size: 16px;
    color: var(--ana-ink-soft);
    max-width: 640px;
    margin-bottom: 20px;
}

.analytics-stack {
    display: grid;
    gap: 16px;
}

.analytics-card {
    background: var(--ana-card);
    border: 1px solid var(--ana-border);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 14px 30px rgba(11, 31, 51, 0.08);
}

.analytics-card h3 {
    margin: 0 0 8px;
    font-family: "Space Grotesk", "Poppins", sans-serif;
    font-size: 18px;
    color: var(--ana-ink);
}

.analytics-card p {
    margin: 0 0 10px;
    color: var(--ana-ink-soft);
    line-height: 1.6;
}

.analytics-card p:last-child {
    margin-bottom: 0;
}

.analytics-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--ana-ink-soft);
    line-height: 1.6;
}

.analytics-card li {
    margin-bottom: 6px;
}

.analytics-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ana-blue);
    font-weight: 600;
    text-decoration: none;
}

.analytics-card .entry-title {
    margin: 0 0 8px;
    font-family: "Space Grotesk", "Poppins", sans-serif;
    font-size: 22px;
    line-height: 1.3;
    color: var(--ana-ink);
}

.analytics-card--post .entry-title {
    text-transform: uppercase;
}

.analytics-card .entry-title a {
    color: inherit;
    text-decoration: none;
}

.analytics-card .entry-meta {
    margin-bottom: 10px;
    color: var(--ana-ink-soft);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.analytics-card .entry-meta a {
    color: var(--ana-blue);
    text-decoration: none;
    font-weight: 600;
}

.analytics-card .cat-links {
    display: inline;
}

.analytics-card .cat-links a {
    display: inline;
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--ana-blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.analytics-card .entry-content {
    color: var(--ana-ink-soft);
    line-height: 1.7;
}

.analytics-card .entry-content p {
    margin: 0 0 12px;
}

.analytics-card .entry-content a {
    color: var(--ana-blue);
    font-weight: 600;
    text-decoration: none;
}

.analytics-card .post-thumbnail img,
.analytics-card img.wp-post-image {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 12px;
}

.analytics-card .auto-excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.analytics-card .auto-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(43, 109, 212, 0.16);
    color: var(--ana-blue);
    font-weight: 700;
    text-decoration: none;
}

.analytics-card .entry-tags {
    margin-top: 12px;
    font-size: 12px;
    color: var(--ana-ink-soft);
}

.analytics-card .entry-tags a {
    color: var(--ana-blue);
    text-decoration: none;
    font-weight: 600;
}

.analytics-card--nav {
    margin-top: 18px;
}

.analytics-card--nav .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.analytics-card--nav .nav-links a {
    color: var(--ana-blue);
    text-decoration: none;
    font-weight: 600;
}

.analytics-card--nav .pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    flex-wrap: wrap;
}

.analytics-card--nav .pagination .page-numbers {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid rgba(11, 31, 51, 0.35);
    color: var(--ana-ink);
    border-radius: 5px;
    background: #ffffff;
}

.analytics-card--nav .pagination .page-numbers.current {
    background: rgba(43, 109, 212, 0.16);
    border-color: rgba(43, 109, 212, 0.5);
    color: var(--ana-blue);
    font-weight: 700;
}

.analytics-card--nav .pagination .page-numbers:hover {
    border-color: rgba(43, 109, 212, 0.5);
    color: var(--ana-blue);
}

.analytics-table {
    width: 100%;
    overflow-x: auto;
}

.analytics-report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--ana-ink);
}

.analytics-report-table th,
.analytics-report-table td {
    border: 1px solid rgba(11, 31, 51, 0.18);
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

.analytics-report-table th {
    background: rgba(43, 109, 212, 0.08);
    font-weight: 700;
}

.analytics-aside {
    display: grid;
    gap: 18px;
}

.analytics-form-card {
    background: var(--ana-blue-soft);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 14px 26px rgba(11, 31, 51, 0.12);
}

.analytics-form-title {
    margin: 0 0 12px;
    font-family: "Space Grotesk", "Poppins", sans-serif;
    font-size: 20px;
    color: var(--ana-ink);
}

.analytics-form {
    display: grid;
    gap: 10px;
}

.analytics-form input[type="text"],
.analytics-form input[type="email"],
.analytics-form select,
.analytics-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 51, 0.12);
    background: #ffffff;
    font-size: 14px;
    color: var(--ana-ink);
    box-sizing: border-box;
}

.analytics-form textarea {
    min-height: 90px;
    resize: vertical;
}

.analytics-form input[type="submit"] {
    width: 100%;
    border-radius: 12px;
    padding: 12px 14px;
    background: #90bdf1;
    border: none;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.analytics-form input[type="submit"]:hover {
    background: #7baeea;
}

.analytics-call {
    margin: 10px 0 0;
    font-weight: 600;
    color: var(--ana-ink);
    text-align: center;
}

.analytics-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ana-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 14px 30px rgba(11, 31, 51, 0.08);
}

.analytics-panel h3 {
    margin: 0 0 12px;
    font-family: "Space Grotesk", "Poppins", sans-serif;
    font-size: 18px;
    color: var(--ana-ink);
    background-color: #90bdf1;
    border-radius: 5px;
    padding: 2px 5px;
}

.analytics-panel p {
    margin: 0;
    color: var(--ana-ink-soft);
    line-height: 1.5;
}

.analytics-panel a {
    color: var(--ana-blue);
    text-decoration: none;
    font-weight: 600;
}

.analytics-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.analytics-panel li a {
    color: var(--ana-ink-soft);
    text-decoration: none;
    font-weight: 600;
}

.analytics-panel li a:hover {
    color: var(--ana-blue);
}

.analytics-panel .search-form {
    display: grid;
    gap: 10px;
}

.analytics-panel .search-form input[type="search"] {
    width: 94%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 51, 0.14);
    background: #ffffff;
    font-size: 14px;
    color: var(--ana-ink);
    box-shadow: 0 10px 18px rgba(11, 31, 51, 0.06);
}

.analytics-panel .search-form input[type="search"]::placeholder {
    color: rgba(11, 31, 51, 0.45);
}

.analytics-panel .search-form input[type="submit"] {
    padding: 12px 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #2b6dd4, #3b86ff);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(43, 109, 212, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.analytics-panel .search-form input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(43, 109, 212, 0.32);
}

.analytics-tags .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.analytics-tags .tagcloud a {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(43, 109, 212, 0.16);
    color: var(--ana-blue);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.analytics-search form {
    display: grid;
    gap: 10px;
}

.analytics-search input,
.analytics-search select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 51, 0.14);
    background: #ffffff;
    font-size: 14px;
    color: var(--ana-ink);
    box-shadow: 0 10px 18px rgba(11, 31, 51, 0.06);
}

.analytics-search input::placeholder {
    color: rgba(11, 31, 51, 0.45);
}

.analytics-search input:focus,
.analytics-search select:focus {
    outline: none;
    border-color: rgba(43, 109, 212, 0.55);
    box-shadow: 0 12px 22px rgba(43, 109, 212, 0.18);
}

.analytics-search button {
    padding: 12px 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #2b6dd4, #3b86ff);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(43, 109, 212, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.analytics-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(43, 109, 212, 0.32);
}

.analytics-case-list {
    display: grid;
    gap: 14px;
}

.analytics-case {
    padding: 14px;
    border-radius: 14px;
    background: #f4f8ff;
    border: 1px solid rgba(11, 31, 51, 0.12);
}

.analytics-case h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--ana-ink);
    font-family: "Space Grotesk", "Poppins", sans-serif;
}

.analytics-case p {
    margin: 0 0 10px;
    color: var(--ana-ink-soft);
}

.analytics-case a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ana-blue);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 991px) {
    .analytics-shell {
        grid-template-columns: 1fr;
    }

    .analytics-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .analytics-section {
        padding: 56px 0;
    }

    .analytics-title {
        font-size: 26px;
    }
}

/* Auto layout for Market News pages */
:root {
    --auto-ink: #0b1f33;
    --auto-ink-soft: #375269;
    --auto-teal: #0f7b77;
    --auto-coral: #ff7a59;
    --auto-cream: #f6f1e9;
    --auto-sky: #e3f2ff;
    --auto-card: #ffffff;
    --auto-border: rgba(11, 31, 51, 0.12);
    --auto-shadow: 0 26px 50px rgba(11, 31, 51, 0.12);
}

.auto-section {
    position: relative;
    margin: 12px 0 40px;
    padding: 72px 0;
    border-radius: 28px;
    background: linear-gradient(125deg, var(--auto-cream) 0%, #ffffff 42%, var(--auto-sky) 100%);
    font-family: "Manrope", "Poppins", sans-serif;
    overflow: hidden;
    box-shadow: var(--auto-shadow);
}

.auto-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -120px;
    right: -90px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 122, 89, 0.38), transparent 70%);
    pointer-events: none;
}

.auto-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 123, 119, 0.16) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.3;
    pointer-events: none;
}

.auto-shell {
    position: relative;
    z-index: 1;
    width: min(96%, 100%);
    margin: 0 auto;
    padding: 0 0px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 28px;
    align-items: start;
}

.auto-section--single-col .auto-shell {
    grid-template-columns: minmax(0, 1fr);
}

.auto-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(15, 123, 119, 0.16);
    color: var(--auto-teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.auto-title {
    margin: 16px 0 10px;
    font-family: "Space Grotesk", "Poppins", sans-serif;
    font-size: 36px;
    line-height: 1.2;
    color: var(--auto-ink);
}

.auto-lead {
    font-size: 16px;
    color: var(--auto-ink-soft);
    max-width: 640px;
    margin-bottom: 20px;
}

.auto-lead p {
    margin: 0;
}

.auto-stack {
    display: grid;
    gap: 16px;
}

.auto-card {
    background: var(--auto-card);
    border: 1px solid var(--auto-border);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 14px 30px rgba(11, 31, 51, 0.08);
}

.auto-card h3 {
    margin: 0 0 8px;
    font-family: "Space Grotesk", "Poppins", sans-serif;
    font-size: 18px;
    color: var(--auto-ink);
}

.auto-card p {
    margin: 0 0 10px;
    color: var(--auto-ink-soft);
    line-height: 1.6;
}

.auto-card p:last-child {
    margin-bottom: 0;
}

.auto-list {
    margin: 0;
    padding-left: 18px;
    color: var(--auto-ink-soft);
    line-height: 1.6;
}

.auto-list li {
    margin-bottom: 6px;
}

.auto-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--auto-ink);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 14px 24px rgba(11, 31, 51, 0.18);
}

.auto-aside {
    display: grid;
    gap: 18px;
}

.auto-form-card {
    background: #c7d9f1;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 14px 26px rgba(11, 31, 51, 0.12);
}

.auto-form-title {
    margin: 0 0 12px;
    font-family: "Space Grotesk", "Poppins", sans-serif;
    font-size: 20px;
    color: var(--auto-ink);
}

.auto-form {
    display: grid;
    gap: 10px;
}

.auto-form input[type="text"],
.auto-form input[type="email"],
.auto-form select,
.auto-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 51, 0.12);
    background: #ffffff;
    font-size: 14px;
    color: var(--auto-ink);
    box-sizing: border-box;
}

.auto-form textarea {
    min-height: 90px;
    resize: vertical;
}

.auto-form input[type="submit"] {
    width: 100%;
    border-radius: 12px;
    padding: 12px 14px;
    background: #90bdf1;
    border: none;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.auto-form input[type="submit"]:hover {
    background: #7baeea;
}

.auto-call {
    margin: 10px 0 0;
    font-weight: 600;
    color: var(--auto-ink);
    text-align: center;
}

.auto-panel {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--auto-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 14px 30px rgba(11, 31, 51, 0.08);
}

.auto-panel h3 {
    margin: 0 0 12px;
    font-family: "Space Grotesk", "Poppins", sans-serif;
    font-size: 18px;
    color: var(--auto-ink);
}

.auto-news {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.auto-news li {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(11, 31, 51, 0.08);
    padding: 12px 14px;
    box-shadow: 0 10px 20px rgba(11, 31, 51, 0.06);
}

.auto-date {
    display: block;
    font-size: 12px;
    color: var(--auto-ink-soft);
    margin-bottom: 4px;
}

.auto-news h4 {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--auto-ink);
}

.auto-news h4 a {
    color: inherit;
    text-decoration: none;
}

.auto-news p {
    margin: 0;
    color: var(--auto-ink-soft);
    font-size: 13px;
    line-height: 1.5;
}

.auto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.auto-tags span,
.auto-tags a {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 123, 119, 0.12);
    color: var(--auto-teal);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.auto-note {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--auto-ink-soft);
}

.auto-card .entry-title {
    margin: 0 0 8px;
    font-family: "Space Grotesk", "Poppins", sans-serif;
    font-size: 22px;
    line-height: 1.3;
    color: var(--auto-ink);
}

.auto-card .entry-title a {
    color: inherit;
    text-decoration: none;
}

.auto-card .entry-meta {
    margin-bottom: 10px;
    color: var(--auto-ink-soft);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.auto-card .entry-meta a {
    color: var(--auto-teal);
    text-decoration: none;
    font-weight: 600;
}

.auto-card .cat-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.auto-card .cat-links a {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 123, 119, 0.12);
    color: var(--auto-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auto-card .entry-content {
    color: var(--auto-ink-soft);
    line-height: 1.7;
}

.auto-card .entry-content p {
    margin: 0 0 12px;
}

.auto-card .entry-content a {
    color: var(--auto-teal);
    font-weight: 600;
    text-decoration: none;
}

.auto-excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.auto-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 123, 119, 0.12);
    color: var(--auto-teal);
    font-weight: 700;
    text-decoration: none;
}

.auto-card--post .entry-header {
    margin-bottom: 6px;
}

.auto-card--post .entry-title {
    font-size: 20px;
}

.auto-card .post-thumbnail img,
.auto-card img.wp-post-image {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 12px;
}

.auto-card--nav {
    margin-top: 18px;
}

.auto-card--nav .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.auto-card--nav .nav-links a {
    color: var(--auto-teal);
    text-decoration: none;
    font-weight: 600;
}

.auto-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--auto-ink-soft);
}

.auto-cats a {
    color: var(--auto-teal);
    text-decoration: none;
    font-weight: 600;
}

.auto-section--single .auto-title {
    font-size: 34px;
}

@media (max-width: 991px) {
    .auto-shell {
        grid-template-columns: 1fr;
    }

    .auto-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .auto-section {
        padding: 56px 0;
    }

    .auto-title {
        font-size: 26px;
    }
}
