/* CMS Public Pages - Minimal, fast, cacheable */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 15px; -webkit-font-smoothing: antialiased; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--site-font, Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif);
    color: var(--site-text, #1f2937);
    line-height: 1.6;
    background: var(--site-bg, #f5f5f5);
}

.site-wrapper {
    max-width: var(--site-max-width, 1200px);
    margin: 0 auto;
    padding: 24px 20px;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-public-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(14px);
    z-index: 20;
}

.site-header-sticky .site-public-header {
    position: sticky;
    top: 0;
}

.site-public-header-inner,
.site-public-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2px 20px;
}

.site-public-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.site-public-breadcrumb-bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.site-public-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.site-public-breadcrumb-inner {
    padding: 5px 20px;
}

.site-public-breadcrumb-nav {
    display: block;
}

.site-public-breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 16px;
}

.site-public-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 1.4;
    color: #6b7280;
}

.site-public-breadcrumb-item + .site-public-breadcrumb-item::before {
    content: '/';
    color: #9ca3af;
}

.site-public-breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
}

.site-public-breadcrumb-item a:hover {
    color: var(--site-primary, #1a73e8);
}

.site-public-breadcrumb-item.is-current span {
    color: #111827;
    font-weight: 600;
}

.site-public-brand {
    display: inline-flex;
    align-items: center;
    min-height: 62px;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.site-public-logo {
    max-height: 65px;
    max-width: 240px;
    width: auto;
}

.site-public-brand-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.site-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
    min-width: 200px;
}

.site-search-input {
    width: min(300px, 100%);
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 16px;
    font: inherit;
    color: #111827;
    background: #ffffff;
}

.site-search-btn {
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    background: var(--site-primary, #1a73e8);
}

.site-public-footer {
    margin-top: auto;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

.site-public-footer-default {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.site-public-footer-brand {
    font-weight: 700;
    color: #111827;
}

.site-public-footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.site-content-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.site-content-shell.has-sidebar {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
}

.site-article-card,
.site-sidebar-card,
.site-search-result-card,
.site-search-empty-state {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.site-article-card {
    padding: 24px;
}

.site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 96px;
}

.site-sidebar-card {
    padding: 16px;
    border-radius: 8px;
}

.site-sidebar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
}

.site-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-toc-link {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.45;
    text-decoration: none;
    border-left: 2px solid transparent;
    padding-left: 12px;
}

.site-toc-link.level-2 { padding-left: 18px; }
.site-toc-link.level-3 { padding-left: 24px; }
.site-toc-link.level-4,
.site-toc-link.level-5,
.site-toc-link.level-6 { padding-left: 30px; }

.site-toc-link:hover,
.site-toc-link.active {
    color: var(--site-primary, #1a73e8);
    border-left-color: var(--site-primary, #1a73e8);
}

.site-page-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(26, 115, 232, 0.08);
    color: var(--site-primary, #1a73e8);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: capitalize;
}

.site-page-excerpt {
    font-size: 1.07rem;
    color: #4b5563;
    margin: 0 0 1.25rem;
}

.site-page-body > *:first-child {
    margin-top: 0;
}

.site-category-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.site-category-list-item {
    padding: 18px 0;
    border-top: 1px solid #e5e7eb;
}

.site-category-list-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.site-category-list-item h2 {
    margin: 0 0 8px;
    font-size: 1.6rem;
}

.site-category-list-item h2 a {
    color: #111827;
    text-decoration: none;
}

.site-category-list-item h2 a:hover {
    color: var(--site-primary, #1a73e8);
}

.site-category-list-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

.site-summary-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.site-sidebar-configuration-switch {
    display: inline-flex;
    flex-wrap: wrap;
    background-color: #f3f4f6;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    gap: 0;
    margin-bottom: 14px;
}

.site-sidebar-configuration-switch .a-multiswitch-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    gap: 0;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border: 0;
    background: transparent;
    color: #374151;
    line-height: 1;
}

.site-sidebar-configuration-switch .a-multiswitch-item:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.03);
}

.site-sidebar-configuration-switch .a-multiswitch-item.active {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #2563eb;
}

.site-sidebar-configuration-description {
    margin-top: 0;
}

.site-sidebar-configuration-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-sidebar-configuration-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-sidebar-configuration-label {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-sidebar-configuration-value {
    color: #111827;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.site-sidebar-configuration-link {
    color: var(--site-primary, #1a73e8);
    text-decoration: none;
}

.site-sidebar-configuration-link:hover {
    text-decoration: underline;
}

.site-summary-body {
    color: #4b5563;
    margin: 0 0 12px;
}

.site-support-link {
    display: inline-flex;
    margin-right: 12px;
    margin-bottom: 8px;
    font-weight: 600;
}

.site-search-results {
    max-width: 860px;
    margin: 0 auto;
}

.site-search-results-header {
    margin-bottom: 24px;
}

.site-search-results-header h1 {
    margin: 0 0 8px;
}

.site-search-results-header p,
.site-search-result-path {
    color: #6b7280;
}

.site-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-search-result-card {
    padding: 18px 20px;
    border-radius: 8px;
}

.site-search-result-card h2 {
    margin: 8px 0 10px;
}

.site-search-empty-state {
    padding: 24px;
    text-align: center;
    border-radius: 8px;
}

/* Typography */
.site-page h1 { font-size: 2.2rem; font-weight: 700; line-height: 1.2; margin: 0.5rem 0 1.5rem; color: #111827; }
.site-page h2 { font-size: 2rem; font-weight: 600; line-height: 1.3; margin: 1.8rem 0 0.9rem; color: #111827; }
.site-page h3 { font-size: 1.7rem; font-weight: 600; line-height: 1.4; margin: 1.25rem 0 0.5rem; color: #111827; }
.site-page h4 { font-size: 1.4rem; font-weight: 600; margin: 1rem 0 0.5rem; color: #374151; }

.site-page p { margin: 0 0 0.85rem; font-size: 1rem; }

.site-page a { color: var(--site-primary, #1a73e8); text-decoration: none; }
.site-page a:hover { text-decoration: underline; }

.site-page ul, .site-page ol { padding-left: 1.4rem; margin: 0 0 0.85rem; font-size: 1rem; }
.site-page li { margin-bottom: 0.2rem; }

.site-page blockquote {
    border-left: 3px solid var(--site-primary, #1a73e8);
    padding: 0.5rem 1rem;
    margin: 0.85rem 0;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 0 6px 6px 0;
    font-size: 1rem;
}

.site-page hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}

.site-page img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
}

.site-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.85rem 0;
    font-size: 0.93rem;
}

.site-page th, .site-page td {
    border: 1px solid #e5e7eb;
    padding: 7px 11px;
    text-align: left;
}

.site-page th {
    background: #f9fafb;
    font-weight: 600;
}

.site-page code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.site-page pre {
    background: #1f2937;
    color: #e5e7eb;
    padding: 14px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 0.85rem 0;
    font-size: 0.87rem;
}

.site-page pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.site-page .cms-block {
    margin: 1.75rem 0;
}

.site-page .cms-block:first-child {
    margin-top: 0;
}

.site-page .cms-block:last-child {
    margin-bottom: 0;
}

.site-page .cms-block-hero,
.site-page .cms-block-cta,
.site-page .cms-block-intro,
.site-page .cms-block-article,
.site-page .cms-block-faq,
.site-page .cms-block-embed,
.site-page .cms-block-text-only {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.site-page .cms-block-hero {
    padding: 32px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08) 0%, rgba(255, 255, 255, 0.98) 55%, rgba(17, 24, 39, 0.03) 100%);
}

.site-page .cms-block-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(26, 115, 232, 0.12);
    color: var(--site-primary, #1a73e8);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-page .cms-block-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.site-page .cms-block-actions a,
.site-page .cms-block-cta > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--site-primary, #1a73e8);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(26, 115, 232, 0.18);
}

.site-page .cms-block-actions a:hover,
.site-page .cms-block-cta > a:hover {
    text-decoration: none;
    filter: brightness(0.97);
}

.site-page .cms-block-cta p a,
.site-page .cms-block-cta h1 a,
.site-page .cms-block-cta h2 a,
.site-page .cms-block-cta h3 a,
.site-page .cms-block-cta li a,
.site-page .cms-block-cta p a:visited,
.site-page .cms-block-cta h1 a:visited,
.site-page .cms-block-cta h2 a:visited,
.site-page .cms-block-cta h3 a:visited,
.site-page .cms-block-cta li a:visited {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.82);
    text-underline-offset: 0.12em;
}

.site-page .cms-block-cta p a:hover,
.site-page .cms-block-cta h1 a:hover,
.site-page .cms-block-cta h2 a:hover,
.site-page .cms-block-cta h3 a:hover,
.site-page .cms-block-cta li a:hover,
.site-page .cms-block-cta p a:focus,
.site-page .cms-block-cta h1 a:focus,
.site-page .cms-block-cta h2 a:focus,
.site-page .cms-block-cta h3 a:focus,
.site-page .cms-block-cta li a:focus {
    color: #ffffff;
    text-decoration-color: #ffffff;
}

.site-page .cms-block-actions a + a {
    background: #ffffff;
    color: var(--site-primary, #1a73e8);
    border: 1px solid rgba(26, 115, 232, 0.18);
    box-shadow: none;
}

.site-page .cms-block-media {
    margin-top: 18px;
}

.site-page .cms-block-media img,
.site-page .cms-block-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 14px;
}

.site-page .cms-block-image {
    margin-left: 0;
    margin-right: 0;
}

.site-page .cms-block-image figcaption {
    margin-top: 12px;
    color: #6b7280;
    font-size: 0.95rem;
}

.site-page .cms-block-faq {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-page .cms-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 18px 4px;
    background: #ffffff;
}

.site-page .cms-faq-item h3 {
    margin-top: 0;
}

.site-page .cms-block-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.site-page .cms-block-columns {
    display: grid;
    gap: 24px;
    align-items: start;
}

.site-page .cms-block-columns[data-columns="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-page .cms-block-columns[data-columns="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-page .cms-block-columns[data-columns="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-page .cms-block-columns[data-columns="5"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.site-page .cms-columns-block__col {
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    background: #ffffff;
}

.site-page .cms-columns-block__col > *:first-child {
    margin-top: 0;
}

.site-page .cms-columns-block__col > *:last-child {
    margin-bottom: 0;
}

.site-page .cms-block-two-column .cms-col {
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    background: #ffffff;
}

.site-page .cms-block-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-page .cms-block-divider hr {
    flex: 1;
    margin: 0;
}

.site-page .cms-block-embed {
    border-style: dashed;
}

.site-page .cms-embed-placeholder {
    padding: 14px 16px;
    border-radius: 12px;
    background: #111827;
    color: #f9fafb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

/* ---- ADESIGN Site Blocks (ab-*) ---- */
.ab-section {
    margin: 0 0 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ab-eyebrow {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(59,130,246,0.1);
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
}
.ab-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ab-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(59,130,246,0.25);
}
.ab-btn-primary:hover { 
    color: #fff !important; 
    filter: brightness(0.95); 
    text-decoration: none; 
}
.ab-btn-primary:visited { color: #fff !important; }
.ab-btn-outline { background: #fff; color: #2563eb; border-color: #d1d5db; }
.ab-btn-outline:hover { border-color: #2563eb; text-decoration: none; }
.ab-btn-lg { padding: 13px 30px; font-size: 16px; }

/* Hero */
.ab-hero {
    background: linear-gradient(135deg, rgba(59,130,246,0.07) 0%, #fff 60%);
    text-align: center;
    padding: 52px 32px;
}
.ab-hero h1 { font-size: 2.3rem; font-weight: 700; color: #111827; margin: 0 0 12px; line-height: 1.2; }
.ab-hero > p { font-size: 1.05rem; color: #4b5563; max-width: 580px; margin: 0 auto; }
.ab-hero .ab-actions { justify-content: center; }

/* Feature Cards */
.ab-section-header { text-align: center; margin-bottom: 22px; }
.ab-section-header h2 { margin: 0; font-size: 1.6rem; }
.ab-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-feature-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    background: #f9fafb;
    text-align: center;
}
.ab-feature-icon { font-size: 22px; color: #3b82f6; margin-bottom: 10px; }
.ab-feature-card h3 { font-size: 15px; font-weight: 600; color: #111827; margin: 0 0 6px; }
.ab-feature-card p { font-size: 13px; color: #6b7280; margin: 0; line-height: 1.55; }

.ab-topic-grid {
    display: grid;
    gap: 16px;
}
.ab-topic-card {
    display: block;
    border: none;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ab-topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}
.ab-topic-card-media {
    width: 100%;   
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
}
.ab-topic-card-media img,
.ab-topic-menu-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ab-topic-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}
.ab-topic-card,
.ab-topic-card:hover,
.ab-topic-card:focus,
.ab-topic-card:active,
.ab-topic-card:visited,
.ab-topic-card h3,
.ab-topic-card p,
.ab-topic-card h3 a,
.ab-topic-card p a {
    text-decoration: none !important;
}
.ab-topic-card-desc {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}
.ab-topic-menu-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ab-topic-menu-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ab-topic-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}
.ab-topic-menu-thumb {
    width: 120px;
    height: auto;
    
    max-width: 120px;
    border-radius: 14px;
    background: transparent;
    overflow: hidden;
    flex-shrink: 0;
}
.ab-topic-menu-body {
    min-width: 0;
    flex: 1;
}
.ab-topic-menu-item,
.ab-topic-menu-item:hover,
.ab-topic-menu-item:focus,
.ab-topic-menu-item:active,
.ab-topic-menu-item:visited,
.ab-topic-menu-item h3,
.ab-topic-menu-item p,
.ab-topic-menu-item h3 a,
.ab-topic-menu-item p a {
    text-decoration: none !important;
}
.ab-topic-menu-body h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
}
.ab-topic-menu-body p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* CTA */
.ab-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    text-align: center;
    border-color: transparent;
}
.ab-cta h2 { color: #fff; margin: 0 0 10px; font-size: 1.7rem; }
.ab-cta > p { color: rgba(255,255,255,0.88); margin: 0 0 20px; font-size: 1rem; }
.ab-cta a,
.ab-cta a:visited {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.78);
    text-underline-offset: 0.12em;
}
.ab-cta a:hover,
.ab-cta a:focus {
    color: #fff;
    text-decoration-color: #fff;
}
.ab-cta .ab-btn,
.ab-cta .ab-btn:hover,
.ab-cta .ab-btn:focus,
.ab-cta .ab-btn:visited {
    text-decoration: none;
}
.ab-cta .ab-btn-primary { background: #fff; color: #2563eb; }
.ab-cta .ab-btn-primary:hover { background: #f0f9ff; }

/* Stats */
.ab-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.ab-stat-item {
    flex: 1;
    min-width: 100px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 14px;
    background: #f9fafb;
    text-align: center;
}
.ab-stat-value { font-size: 2rem; font-weight: 800; color: #111827; line-height: 1.1; }
.ab-stat-label { font-size: 12px; color: #6b7280; margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* Two Column */
.ab-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.ab-col-text h2 { margin: 4px 0 10px; font-size: 1.5rem; }
.ab-col-text > p { color: #4b5563; margin: 0 0 16px; font-size: 15px; line-height: 1.65; }
.ab-media-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    gap: 8px;
    font-size: 32px;
}
.ab-media-placeholder span { font-size: 13px; }
.ab-col-media img { width: 100%; border-radius: 12px; }

/* Pricing */
.ab-pricing { display: flex; justify-content: center; }
.ab-price-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    max-width: 340px;
    width: 100%;
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.ab-price-card-featured { border-color: #3b82f6; box-shadow: 0 8px 24px rgba(59,130,246,0.14); }
.ab-plan-badge {
    display: inline-flex;
    padding: 4px 12px;
    background: rgba(59,130,246,0.1);
    color: #2563eb;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}
.ab-plan-name { font-size: 18px; font-weight: 700; color: #111827; margin-bottom: 6px; }
.ab-price { font-size: 2.8rem; font-weight: 800; color: #111827; line-height: 1; margin-bottom: 18px; }
.ab-price span { font-size: 1rem; font-weight: 500; color: #6b7280; }
.ab-plan-features { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.ab-plan-features li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #374151; }
.ab-plan-features li::before { content: "\2713"; color: #10b981; font-weight: 700; flex-shrink: 0; }

/* FAQ */
.ab-faq > h2 { margin: 0 0 16px; font-size: 1.6rem; }
.ab-faq-item { border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 8px; background: #fff; }
.ab-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-weight: 600;
    color: #111827;
    font-size: 15px;
}
.ab-faq-a { padding: 0 16px 14px; color: #4b5563; font-size: 14px; line-height: 1.6; }

/* Divider */
.ab-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 4px 0;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 4px 0 !important;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.ab-divider hr { flex: 1; border: none; border-top: 1px solid #e5e7eb; margin: 0; }

/* Responsive */
@media (max-width: 768px) {
    .site-wrapper { padding: 16px 14px; }
    .site-public-header-inner,
    .site-public-footer-inner { padding: 2px 14px; }
    .site-public-breadcrumb-inner { padding: 5px 14px; }
    .site-search-form { width: 100%; justify-content: flex-end; max-width: 300px; }
    .site-search-input { width: 100%; }
    .site-content-shell.has-sidebar { grid-template-columns: 1fr; gap: 20px; }
    .site-sidebar { position: static; top: auto; gap: 12px; }
    .site-sidebar-card { padding: 14px; }
    .site-article-card { padding: 18px 16px; }
    .site-page h1 { font-size: 1.67rem; }
    .site-page h2 { font-size: 1.33rem; }
    .site-page h3 { font-size: 1.13rem; }
    .site-page .cms-block-hero,
    .site-page .cms-block-cta,
    .site-page .cms-block-intro,
    .site-page .cms-block-article,
    .site-page .cms-block-faq,
    .site-page .cms-block-embed,
    .site-page .cms-block-text-only { padding: 16px; }
    .site-page .cms-block-columns { grid-template-columns: 1fr !important; gap: 14px; }
    .site-page .cms-block-two-column { grid-template-columns: 1fr; gap: 14px; }
    .ab-feature-grid { grid-template-columns: 1fr; }
    .ab-two-col { grid-template-columns: 1fr; gap: 18px; }
    .ab-hero { padding: 40px 20px; }
    .ab-hero h1 { font-size: 1.6rem; }
    .ab-stats { gap: 12px; grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   ADESIGN BLOCKS - PUBLISHED PAGES
   Website & HelpDesk Theme Blocks
   ======================================== */

/* Button Block */
.site-page .ab-button { text-align: center; padding: 24px 0; margin: 20px 0; font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; }
.site-page .ab-button p { margin: 0; }
.site-page .ab-button a, .site-page .ab-button button { display: inline-block; padding: 12px 28px; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 6px; border: none; cursor: pointer; transition: all 0.2s; }
.site-page .ab-button a[data-button-text-color], .site-page .ab-button a[data-button-text-color]:visited, .site-page .ab-button button[data-button-text-color] { color: inherit !important; }
.site-page .ab-button a.btn-primary, .site-page .ab-button button.btn-primary { background: #2563eb; color: #fff; }
.site-page .ab-button a.btn-primary:hover, .site-page .ab-button button.btn-primary:hover { background: #1d4ed8; }
.site-page .ab-button a.btn-success, .site-page .ab-button button.btn-success { background: #059669; color: #fff; }
.site-page .ab-button a.btn-success:hover, .site-page .ab-button button.btn-success:hover { background: #047857; }
.site-page .ab-button a.btn-danger, .site-page .ab-button button.btn-danger { background: #dc2626; color: #fff; }
.site-page .ab-button a.btn-danger:hover, .site-page .ab-button button.btn-danger:hover { background: #b91c1c; }
.site-page .ab-button a.btn-secondary, .site-page .ab-button button.btn-secondary { background: #6b7280; color: #fff; }
.site-page .ab-button a.btn-secondary:hover, .site-page .ab-button button.btn-secondary:hover { background: #4b5563; }

/* Hero Section */
.site-page .ab-hero { position: relative; padding: 50px 10px; background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(255,255,255,0.4) 60%); border-radius: 12px; margin: 20px 0; text-align: center; font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; }
.site-page .ab-hero h1 { font-size: 42px; font-weight: 800; line-height: 1.15; color: #111827; margin: 0 0 20px; letter-spacing: -0.02em; }
.site-page .ab-hero p { font-size: 18px; line-height: 1.6; color: #4b5563; max-width: 700px; margin: 0 auto; }

/* Features Grid */
.site-page .ab-features { padding: 32px 0; margin: 20px 0; font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; }
.site-page .ab-features h2 { font-size: 32px; font-weight: 700; color: #111827; margin: 0 0 28px; text-align: center; }
.site-page .ab-features p { font-size: 15px; line-height: 1.6; color: #374151; margin: 0 0 14px; padding: 16px; background: #f9fafb; border-radius: 8px; }
.site-page .ab-features p strong { color: #2563eb; font-weight: 600; }

/* CTA Banner */
.site-page .ab-cta {
    padding: 30px 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    color: #fff;
    font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
    box-shadow: 0 4px 20px rgba(59,130,246,0.25);
}
.site-page .ab-cta h2 { font-size: 36px; font-weight: 700; margin: 0 0 14px; color: #fff; letter-spacing: -0.01em; }
.site-page .ab-cta p { font-size: 17px; line-height: 1.6; margin: 0; opacity: 0.95; }
.site-page .ab-cta a,
.site-page .ab-cta a:visited {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.82);
    text-underline-offset: 0.12em;
}
.site-page .ab-cta a:hover,
.site-page .ab-cta a:focus {
    color: #fff;
    text-decoration-color: #fff;
}
.site-page .ab-cta .ab-btn,
.site-page .ab-cta .ab-btn:hover,
.site-page .ab-cta .ab-btn:focus,
.site-page .ab-cta .ab-btn:visited {
    text-decoration: none;
}

/* Stats Row */
.site-page .ab-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; padding: 32px 0; margin: 20px 0; background: #f9fafb; border-radius: 12px; font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; }
.site-page .ab-stats p { margin: 0; text-align: center; font-size: 15px; line-height: 1.5; color: #374151; }
.site-page .ab-stats p strong { display: block; font-size: 32px; font-weight: 800; color: #2563eb; margin-bottom: 6px; }


/* FAQ Section - Visible Questions, Expandable Answers */
.site-page .ab-faq { margin: 20px 0; padding: 0; font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; }
.site-page .ab-faq h2 { font-size: 32px; font-weight: 700; color: #111827; margin: 0 0 24px; text-align: center; }
.site-page .ab-faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 12px; }
.site-page .ab-faq-question { padding: 16px 18px; font-size: 16px; font-weight: 600; color: #111827; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; transition: background 0.2s; margin: 0; background: #f9fafb; }
.site-page .ab-faq-question:hover { background: #eff6ff; }
.site-page .ab-faq-question::after { content: '+'; font-size: 22px; font-weight: 700; color: #2563eb; transition: transform 0.2s; line-height: 1; }
.site-page .ab-faq-question.active::after { content: '−'; }
.site-page .ab-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.site-page .ab-faq-answer-content { padding: 0 18px 18px; font-size: 15px; line-height: 1.7; color: #374151; }

/* Two Column */
.site-page .ab-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 32px 0; margin: 20px 0; align-items: start; font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; }
.site-page .ab-two-col h2 { font-size: 28px; font-weight: 700; color: #111827; margin: 0 0 16px; }
.site-page .ab-two-col p { font-size: 15px; line-height: 1.6; color: #374151; margin: 0 0 14px; }
.site-page .ab-two-col ul { padding-left: 18px; margin: 16px 0; }
.site-page .ab-two-col li { font-size: 15px; line-height: 1.6; color: #374151; margin: 6px 0; }

/* Testimonial */
.site-page .ab-testimonial {
    padding: 20px 20px;
    background: #f9fafb;
    border-radius: 8px;
    margin: 20px 0;
    font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
}
.site-page .ab-testimonial p:first-child { font-size: 18px; line-height: 1.6; color: #374151; font-style: italic; margin: 0 0 20px; }
.site-page .ab-testimonial p:last-child { font-size: 15px; color: #6b7280; margin: 0; }
.site-page .ab-testimonial p:last-child strong { color: #111827; font-weight: 600; }

/* Article (HelpDesk) */
.site-page .ab-article { margin: 30px 0; font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; max-width: 800px; }
.site-page .ab-article h2 { font-size: 28px; font-weight: 700; color: #111827; margin: 0 0 20px; padding-bottom: 6px; border-bottom: 3px solid #3b82f6; }
.site-page .ab-article h3 { font-size: 22px; font-weight: 600; color: #111827; margin: 18px 0 8px; }
.site-page .ab-article p { font-size: 15px;  color: #374151; }
.site-page .ab-article ul { padding-left: 20px; margin: 14px 0; }
.site-page .ab-article li { font-size: 15px; line-height: 1.0; color: #374151; margin: 6px 0; }

/* Alert Box (HelpDesk) */
.site-page .ab-alert { padding: 16px 20px; background: #eff6ff; border-radius: 8px; margin: 14px 0; font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; border: none; color: #374151; }
.site-page .ab-alert[data-alert-background-color] { background: var(--ab-alert-background-color) !important; }
.site-page .ab-alert[data-alert-text-color] { color: var(--ab-alert-text-color) !important; }
.site-page .ab-alert h1,
.site-page .ab-alert h2,
.site-page .ab-alert h3,
.site-page .ab-alert h4,
.site-page .ab-alert h5,
.site-page .ab-alert h6,
.site-page .ab-alert p,
.site-page .ab-alert li,
.site-page .ab-alert blockquote,
.site-page .ab-alert strong,
.site-page .ab-alert em,
.site-page .ab-alert a,
.site-page .ab-alert a:visited,
.site-page .ab-alert span { color: var(--ab-alert-text-color, inherit) !important; }
.site-page .ab-alert p,
.site-page .ab-alert li { font-size: 15px; line-height: 1.6; margin: 0; }
.site-page .ab-alert p strong { font-weight: 600; }

/* Code Block (HelpDesk) */
.site-page .ab-code {
    margin: 30px 0;
    padding: 10px;
    background: #1e293b; /* dark slate */
    color: #e2e8f0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    border-radius: 8px;
}
    .site-page .ab-code p {
        font-size: 13px;
        color: #b1bacd;
        margin: 0 0 8px;
    }
    .site-page .ab-code pre {
        background: #1e293b;
        color: #b1bacd;
        padding: 18px;
        border-radius: 8px;
        overflow-x: auto;
        margin: 0;
        font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
        font-size: 13px;
        line-height: 1.5;
    }
.site-page .ab-code code { color: #e2e8f0; font-family: 'Consolas', 'Monaco', 'Courier New', monospace; }

/* Steps Guide (HelpDesk) */
.site-page .ab-steps { padding: 32px 0; margin: 20px 0; font-family: Roboto, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; }
.site-page .ab-steps h2 { font-size: 26px; font-weight: 700; color: #111827; margin: 0 0 20px; }
.site-page .ab-steps ol { padding-left: 20px; margin: 0; counter-reset: step-counter; list-style: none; }
.site-page .ab-steps li { position: relative; padding: 14px 0 14px 44px; margin: 0; font-size: 15px; line-height: 1; color: #374151; counter-increment: step-counter; }
.site-page .ab-steps li::before { content: counter(step-counter); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; background: #3b82f6; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.site-page .ab-steps li p { margin: 0; }

/* Responsive adjustments for new blocks */
@media (max-width: 768px) {
    .site-page .ab-hero { padding: 40px 20px; }
    .site-page .ab-hero h1 { font-size: 32px; }
    .site-page .ab-hero p { font-size: 16px; }
    .site-page .ab-features { padding: 32px 20px; }
    .site-page .ab-features h2 { font-size: 26px; }
    .site-page .ab-features p { padding: 14px; }
    .site-page .ab-cta { padding: 36px 20px; }
    .site-page .ab-cta h2 { font-size: 26px; }
    .site-page .ab-cta p { font-size: 16px; }
    .site-page .ab-stats { grid-template-columns: repeat(2, 1fr); padding: 32px 0; gap: 14px; }
    .site-page .ab-faq { padding: 24px 0; }
    .site-page .ab-two-col { grid-template-columns: 1fr; gap: 20px; padding: 32px 20px; }
    .site-page .ab-testimonial { padding: 32px 20px; }
    .site-page .ab-article { padding: 24px 18px; }
    .site-page .ab-steps { padding: 24px 18px; }
    .ab-topic-grid { grid-template-columns: 1fr !important; }
    .ab-topic-menu-item { flex-direction: column; }
    .ab-topic-menu-thumb { width: 100%; height: auto; aspect-ratio: 16/10; max-width: 120px;}
}
