/* ============================================
   Cursive Generator - Production CSS
   Compiled design tokens + utility classes
   from Tailwind config
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    --color-primary: #000000;
    --color-on-primary: #ffffff;
    --color-secondary: #5e5e5e;
    --color-on-secondary: #ffffff;
    --color-background: #ffffff;
    --color-on-background: #000000;
    --color-surface: #ffffff;
    --color-on-surface: #000000;
    --color-surface-variant: #e5e2e1;
    --color-on-surface-variant: #4c4546;
    --color-surface-container: #f0edec;
    --color-surface-container-low: #f6f3f2;
    --color-surface-container-high: #ebe7e7;
    --color-surface-container-highest: #e5e2e1;
    --color-surface-container-lowest: #ffffff;
    --color-surface-dim: #dcd9d9;
    --color-surface-bright: #ffffff;
    --color-outline: #7e7576;
    --color-outline-variant: #EAEAEA;
    --color-error: #ba1a1a;
    --color-on-error: #ffffff;
    --color-error-container: #ffdad6;
    --color-on-error-container: #93000a;
    --color-primary-container: #1b1b1b;
    --color-on-primary-container: #848484;
    --color-secondary-container: #f3f4f6;
    --color-on-secondary-container: #626262;
    --color-tertiary: #000000;
    --color-on-tertiary: #ffffff;
    --color-inverse-surface: #313030;
    --color-inverse-on-surface: #f3f0ef;
    --color-inverse-primary: #c6c6c6;
    --color-surface-tint: #5e5e5e;

    --spacing-unit: 4px;
    --spacing-margin-mobile: 20px;
    --spacing-margin-desktop: 64px;
    --spacing-gutter: 24px;
    --spacing-section-gap: 80px;
    --spacing-stack-sm: 8px;
    --spacing-stack-md: 16px;
    --spacing-stack-lg: 24px;
    --spacing-container-max: 1280px;

    --radius-default: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-full: 9999px;

    --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-background);
    color: var(--color-on-background);
    font-size: 16px;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

::selection {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
}

/* --- Screen Reader Only --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Skip to Content --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-primary);
    color: var(--color-on-primary);
    padding: 8px 16px;
    z-index: 9999;
    font-weight: 700;
}
.skip-link:focus {
    top: 0;
}

/* --- Typography --- */
.text-display-hero { font-size: 64px; line-height: 1.1; letter-spacing: -0.04em; font-weight: 700; }
.text-display-hero-mobile { font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.text-headline-section { font-size: 44px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.text-headline-section-mobile { font-size: 32px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.text-subheading { font-size: 20px; line-height: 1.5; letter-spacing: -0.01em; font-weight: 400; }
.text-body { font-size: 16px; line-height: 1.6; font-weight: 400; }
.text-small { font-size: 14px; line-height: 1.5; font-weight: 450; }
.text-label { font-size: 13px; line-height: 1; letter-spacing: 0.05em; font-weight: 600; }

/* --- Layout Utilities --- */
.container { max-width: var(--spacing-container-max); margin-left: auto; margin-right: auto; }
.px-margin-mobile { padding-left: var(--spacing-margin-mobile); padding-right: var(--spacing-margin-mobile); }
.py-section-gap { padding-top: var(--spacing-section-gap); padding-bottom: var(--spacing-section-gap); }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.items-center { align-items: center; }
.items-start { align-items: start; }
.items-end { align-items: end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }

.gap-1 { gap: 4px; }
.gap-1\.5 { gap: 6px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.gap-gutter { gap: var(--spacing-gutter); }

.w-full { width: 100%; }
.w-8 { width: 32px; }
.h-8 { height: 32px; }
.h-10 { height: 40px; }
.h-\[72px\] { height: 72px; }
.min-h-screen { min-height: 100vh; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-\[1100px\] { max-width: 1100px; }
.max-w-container-max { max-width: var(--spacing-container-max); }

.mx-auto { margin-left: auto; margin-right: auto; }
.mx-4 { margin-left: 16px; margin-right: 16px; }

/* --- Spacing --- */
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-1\.5 { padding-top: 6px; padding-bottom: 6px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-2\.5 { padding-top: 10px; padding-bottom: 10px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.pt-0 { padding-top: 0; }
.pt-16 { padding-top: 64px; }
.pb-8 { padding-bottom: 32px; }

.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.mt-6 { margin-top: 24px; }

/* --- Colors --- */
.bg-primary { background-color: var(--color-primary); }
.bg-white { background-color: #ffffff; }
.bg-surface { background-color: var(--color-surface); }
.bg-surface-container { background-color: var(--color-surface-container); }
.bg-surface-container-high { background-color: var(--color-surface-container-high); }
.bg-surface-container-lowest { background-color: var(--color-surface-container-lowest); }
.bg-secondary-container { background-color: var(--color-secondary-container); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-primary\/5 { background-color: rgba(0, 0, 0, 0.05); }
.bg-green-500 { background-color: #22c55e; }

.text-primary { color: var(--color-primary); }
.text-on-primary { color: var(--color-on-primary); }
.text-secondary { color: var(--color-secondary); }
.text-on-surface { color: var(--color-on-surface); }
.text-on-primary\/70 { color: rgba(255, 255, 255, 0.7); }
.text-green-400 { color: #4ade80; }
.text-white { color: #ffffff; }
.text-error { color: var(--color-error); }

/* --- Borders --- */
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-y { border-top-width: 1px; border-top-style: solid; border-bottom-width: 1px; border-bottom-style: solid; }
.border-outline-variant { border-color: var(--color-outline-variant); }
.border-outline-variant\/50 { border-color: rgba(234, 234, 234, 0.5); }
.border-outline-variant\/5 { border-color: rgba(234, 234, 234, 0.05); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-primary { border-color: var(--color-primary); }

/* --- Border Radius --- */
.rounded { border-radius: var(--radius-default); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: var(--radius-full); }
.rounded-\[16px\] { border-radius: 16px; }
.rounded-\[32px\] { border-radius: 32px; }

/* --- Shadows --- */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }

/* --- Position & Z-Index --- */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.bottom-4 { bottom: 16px; }
.right-4 { right: 16px; }
.left-3 { left: 12px; }
.z-50 { z-index: 50; }
.z-\[60\] { z-index: 60; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* --- Overflow --- */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* --- Text Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.break-words { word-wrap: break-word; overflow-wrap: break-word; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.text-\[10px\] { font-size: 10px; }
.text-\[12px\] { font-size: 12px; }
.text-\[13px\] { font-size: 13px; }
.text-\[16px\] { font-size: 16px; }
.text-\[18px\] { font-size: 18px; }
.text-\[20px\] { font-size: 20px; }
.text-\[24px\] { font-size: 24px; }
.text-\[28px\] { font-size: 28px; }
.text-\[32px\] { font-size: 32px; }
.text-\[44px\] { font-size: 44px; }

/* --- Aspect Ratio --- */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

/* --- Transitions --- */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* --- Transforms --- */
.transform { transform: translateX(0); }
.rotate-2 { transform: rotate(2deg); }
.scale-105 { transform: scale(1.05); }

/* --- Opacity --- */
.opacity-0 { opacity: 0; }
.opacity-60 { opacity: 0.6; }
.opacity-80 { opacity: 0.8; }

/* --- Cursor --- */
.cursor-pointer { cursor: pointer; }

/* --- Resize --- */
.resize-none { resize: none; }

/* --- Background Utilities --- */
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }

/* --- Form Elements --- */
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: none;
}

/* --- Component Styles --- */

/* Glass Header */
.glass-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-xl);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Cursive font */
.font-cursive { font-family: cursive; }
.font-mono { font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace; }

/* Generator Panel */
.generator-panel { height: 600px; }

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar { width: 5px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: var(--color-outline-variant); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #d1d1d1; }

/* Details/Summary (FAQ) */
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary .expand-icon { transform: rotate(180deg); }

/* Copy Feedback */
.copy-feedback {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-primary);
    color: var(--color-on-primary);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 14px;
    z-index: 1000;
    animation: slideUp 0.3s ease, fadeOut 0.3s ease 1.5s forwards;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-10px); }
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-popular { background-color: rgba(0, 0, 0, 0.05); color: var(--color-primary); }
.badge-trending { background-color: #fef3c7; color: #92400e; }
.badge-top-rated { background-color: #dbeafe; color: #1e40af; }
.badge-new { background-color: #d1fae5; color: #065f46; }

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: #ffffff;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 24px;
    overflow-y: auto;
}
.mobile-menu.active {
    transform: translateX(0);
}

/* Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 999999;
}
.search-modal.active {
    opacity: 1;
    visibility: visible;
}
.search-modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-20px);
    transition: transform 0.2s;
}
.search-modal.active .search-modal-content {
    transform: translateY(0);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-outline-variant);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-primary);
    color: var(--color-on-primary);
    border-color: var(--color-primary);
}

/* Category Chips */
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-outline-variant);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    background: #ffffff;
    color: var(--color-secondary);
}
.category-chip:hover,
.category-chip.active {
    background: var(--color-primary);
    color: var(--color-on-primary);
    border-color: var(--color-primary);
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 14px;
    color: var(--color-secondary);
}
.breadcrumbs a:hover {
    color: var(--color-primary);
}
.breadcrumbs .separator {
    margin: 0 8px;
    opacity: 0.5;
}

/* Space utilities */
.space-y-3 > * + * { margin-top: 12px; }
.space-y-4 > * + * { margin-top: 16px; }
.space-y-6 > * + * { margin-top: 24px; }

/* --- Hover States --- */
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:text-error:hover { color: var(--color-error); }
.hover\:text-white:hover { color: #ffffff; }
.hover\:bg-primary:hover { background-color: var(--color-primary); }
.hover\:bg-secondary-container:hover { background-color: var(--color-secondary-container); }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:border-primary:hover { border-color: var(--color-primary); }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:rotate-0:hover { transform: rotate(0deg); }
.hover\:bg-primary.hover\:text-on-primary:hover { color: var(--color-on-primary); }

/* Group hover */
.group:hover .group-hover\:text-primary { color: var(--color-primary); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

/* Active states */
.active\:scale-95:active { transform: scale(0.95); }

/* Open states (details) */
details[open] .group-open\:rotate-180,
.group-open\:rotate-180 { transition: transform 0.3s; }
details[open] > summary .group-open\:rotate-180 { transform: rotate(180deg); }

/* Focus states */
.focus\:border-primary:focus { border-color: var(--color-primary); }
.focus\:ring-0:focus { box-shadow: none; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .generator-panel { height: auto; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:grid { display: grid; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
    .md\:col-span-1 { grid-column: span 1; }
    .md\:col-span-4 { grid-column: span 4; }
    .md\:col-span-5 { grid-column: span 5; }
    .md\:col-span-7 { grid-column: span 7; }
    .md\:col-span-8 { grid-column: span 8; }
    .md\:px-margin-desktop { padding-left: var(--spacing-margin-desktop); padding-right: var(--spacing-margin-desktop); }
    .md\:px-0 { padding-left: 0; padding-right: 0; }
    .md\:border-b-0 { border-bottom: none; }
    .md\:border-r { border-right-width: 1px; border-right-style: solid; }
    .md\:mx-margin-desktop { margin-left: var(--spacing-margin-desktop); margin-right: var(--spacing-margin-desktop); }

    .md\:text-display-hero { font-size: 64px; line-height: 1.1; letter-spacing: -0.04em; font-weight: 700; }
    .md\:font-display-hero { font-family: var(--font-family); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
}

/* --- WordPress Core Overrides --- */
.wp-block-image { margin-bottom: 1.5rem; }
.entry-content > * + * { margin-top: 1.5rem; }
.entry-content h2 { font-size: 28px; font-weight: 700; margin-top: 2rem; }
.entry-content h3 { font-size: 22px; font-weight: 600; margin-top: 1.5rem; }
.entry-content p { line-height: 1.8; color: var(--color-on-surface); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; }
.entry-content ul { list-style-type: disc; }
.entry-content ol { list-style-type: decimal; }
.entry-content li { margin-bottom: 0.5rem; line-height: 1.6; }
.entry-content a { color: var(--color-primary); text-decoration: underline; }
.entry-content a:hover { opacity: 0.8; }
.entry-content blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: 1rem;
    margin-left: 0;
    color: var(--color-secondary);
    font-style: italic;
}

/* Grid for cards */
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* --- Additional Layout Utilities --- */
.max-w-xl { max-width: 36rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-\[520px\] { max-width: 520px; }
.w-12 { width: 48px; }
.w-16 { width: 64px; }
.h-12 { height: 48px; }
.h-16 { height: 64px; }
.h-\[52px\] { height: 52px; }
.min-h-\[200px\] { min-height: 200px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.pt-8 { padding-top: 32px; }
.pt-4 { padding-top: 16px; }
.pt-12 { padding-top: 48px; }
.pb-4 { padding-bottom: 16px; }
.pb-6 { padding-bottom: 24px; }
.pb-12 { padding-bottom: 48px; }
.pb-16 { padding-bottom: 64px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }
.mb-1 { margin-bottom: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.gap-5 { gap: 20px; }
.gap-10 { gap: 40px; }
.gap-16 { gap: 64px; }
.self-start { align-self: start; }
.self-stretch { align-self: stretch; }
.object-cover { object-fit: cover; }

/* Additional text sizes */
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }
.text-\[36px\] { font-size: 36px; }
.text-\[40px\] { font-size: 40px; }
.text-\[48px\] { font-size: 48px; }
.text-\[56px\] { font-size: 56px; }
.text-\[64px\] { font-size: 64px; }
.text-\[80px\] { font-size: 80px; }
.font-normal { font-weight: 400; }

/* Gradient */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }

/* Additional colors */
.bg-surface-variant { background-color: var(--color-surface-variant); }
.bg-primary-container { background-color: var(--color-primary-container); }
.bg-error-container { background-color: var(--color-error-container); }
.text-on-primary-container { color: var(--color-on-primary-container); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.border-none { border: none; }
.border-primary\/20 { border-color: rgba(0, 0, 0, 0.2); }
.border-2 { border-width: 2px; border-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-purple-50 { background-color: #faf5ff; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-rose-50 { background-color: #fff1f2; }
.text-blue-600 { color: #2563eb; }
.text-green-600 { color: #16a34a; }
.text-purple-600 { color: #9333ea; }
.text-amber-600 { color: #d97706; }
.text-rose-600 { color: #e11d48; }
.border-blue-200 { border-color: #bfdbfe; }
.border-green-200 { border-color: #bbf7d0; }
.border-purple-200 { border-color: #e9d5ff; }
.border-amber-200 { border-color: #fde68a; }

/* Additional hover */
.hover\:bg-surface:hover { background-color: var(--color-surface); }
.hover\:bg-primary\/10:hover { background-color: rgba(0, 0, 0, 0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }

/* Select */
select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235e5e5e' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Range slider */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--color-outline-variant);
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
}

/* Checkbox / Radio */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-outline-variant);
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

/* Tag chips for generators */
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--color-outline-variant);
    background: #ffffff;
    color: var(--color-secondary);
    transition: all 0.2s;
}
.tag-chip:hover,
.tag-chip.active {
    background: var(--color-primary);
    color: var(--color-on-primary);
    border-color: var(--color-primary);
}

/* Generator output card */
.generator-output-card {
    background: #ffffff;
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-xl);
    padding: 20px;
    transition: all 0.2s;
}
.generator-output-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Additional responsive */
@media (min-width: 1024px) {
    .lg\:flex-row { flex-direction: row; }
    .lg\:w-\[320px\] { width: 320px; }
    .lg\:flex-shrink-0 { flex-shrink: 0; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:sticky { position: sticky; }
    .lg\:top-\[120px\] { top: 120px; }
}

/* Animate pulse */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* ============================================
   Fix: Search icon vertical centering
   ============================================ */
.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input-wrap > .material-symbols-outlined {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* ============================================
   Logo Mark
   ============================================ */
.site-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: var(--color-on-primary);
    border-radius: 8px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}
.site-logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--color-primary);
}

/* ============================================
   Browse Categories Bento Grid
   ============================================ */
.categories-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 80px);
    gap: 16px;
}
.bento-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-xl);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}
.bento-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.bento-card.bento-span-2 {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px;
}
.categories-bento .bento-span-2 {
    grid-row: span 2;
}
@media (max-width: 767px) {
    .categories-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .categories-bento .bento-span-2 {
        grid-row: span 1;
    }
    .bento-card.bento-span-2 {
        flex-direction: row;
        align-items: center;
    }
}

/* ============================================
   Professionals Section: Horizontal Card
   ============================================ */
.feature-card-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-xl);
    transition: all 0.3s;
}
.feature-card-horizontal:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.feature-card-horizontal .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--color-surface-container);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================
   Latest Insights: 2-Column Featured Layout
   ============================================ */
.insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-gutter);
}
@media (min-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.insight-featured {
    display: flex;
    flex-direction: column;
}
.insight-featured .insight-image {
    flex-grow: 1;
    min-height: 280px;
}
.insights-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}
.insight-compact {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-xl);
    background: #ffffff;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}
.insight-compact:hover {
    border-color: var(--color-primary);
}
.insight-compact .insight-thumb {
    width: 120px;
    height: 90px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-surface-container-high);
    border: 1px solid var(--color-outline-variant);
    display: flex;
    align-items: center;
    justify-content: center;
}
.insight-compact .insight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Footer Modern
   ============================================ */
.footer-cta {
    background: var(--color-primary);
    color: var(--color-on-primary);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 48px;
    text-align: center;
}
.footer-bottom-links a {
    transition: color 0.2s;
}
.footer-bottom-links a:hover {
    color: var(--color-primary);
}

/* ============================================
   Additional Utilities
   ============================================ */
.object-cover { object-fit: cover; }
.h-full { height: 100%; }
.w-\[120px\] { width: 120px; }
.h-\[90px\] { height: 90px; }
.min-h-\[280px\] { min-height: 280px; }
.text-\[11px\] { font-size: 11px; }
.border-l-2 { border-left: 2px solid; }
.pl-4 { padding-left: 16px; }
.gap-\[16px\] { gap: 16px; }


/*====================================================
PREMIUM HEADER
====================================================*/

.cg-container{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    padding:0 24px;
}

/*----------------------------------------------------
TOP BAR
----------------------------------------------------*/

.cg-topbar{
    background:#111;
    color:#fff;
    font-size:13px;
    height:42px;
    display:flex;
    align-items:center;
}

.cg-topbar .cg-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.cg-topbar-left{
    font-weight:500;
    letter-spacing:.2px;
}

.cg-topbar-nav{
    display:flex;
    align-items:center;
    gap:26px;
}

.cg-topbar-nav a{
    color:rgba(255,255,255,.75);
    text-decoration:none;
    transition:.3s;
}

.cg-topbar-nav a:hover{
    color:#fff;
}

/*----------------------------------------------------
HEADER
----------------------------------------------------*/

.cg-header{

    position:sticky;
    top:0;
    z-index:999;

    background:rgba(255,255,255,.88);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(0,0,0,.06);

    transition:.35s;

}

.cg-header-inner{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:84px;

    transition:.35s;

}

/*----------------------------------------------------
LOGO
----------------------------------------------------*/

.cg-logo{

    display:flex;

    align-items:center;

    gap:16px;

    text-decoration:none;

    flex-shrink:0;

}

.site-logo-image{

    height:52px;

    width:auto;

    display:block;

    transition:.35s;

}

.site-logo-mark{

    width:52px;

    height:52px;

    border-radius:16px;

    background:#111;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    font-weight:700;

}

.site-logo-title{

    font-size:22px;

    font-weight:700;

    color:#111;

}

/*----------------------------------------------------
MENU
----------------------------------------------------*/

.cg-desktop-nav{

    display:flex;

    justify-content:center;

    flex:1;

}

.cg-menu{

    display:flex;

    align-items:center;

    gap:36px;

    margin:0;

    padding:0;

    list-style:none;

}

.cg-menu>li{

    position:relative;

}

.cg-menu>li>a{

    text-decoration:none;

    color:#222;

    font-size:15px;

    font-weight:600;

    position:relative;

    transition:.3s;

    padding:8px 0;

}

.cg-menu>li>a:hover{

    color:#000;

}

.cg-menu>li>a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#111;

    transition:.35s;

}

.cg-menu>li>a:hover::after,

.cg-menu>.current-menu-item>a::after{

    width:100%;

}

/*----------------------------------------------------
RIGHT SIDE
----------------------------------------------------*/

.cg-header-actions{

    display:flex;

    align-items:center;

    gap:14px;

}

/*----------------------------------------------------
SEARCH
----------------------------------------------------*/

.cg-header-icon{

    width:44px;

    height:44px;

    border-radius:999px;

    border:1px solid #e8e8e8;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#fff;

    cursor:pointer;

    transition:.3s;

}

.cg-header-icon:hover{

    background:#111;

    color:#fff;

    border-color:#111;

}

/*----------------------------------------------------
CTA
----------------------------------------------------*/

.cg-header-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:46px;

    padding:0 26px;

    background:#111;

    color:#fff;

    text-decoration:none;

    border-radius:999px;

    font-weight:700;

    transition:.3s;

    white-space:nowrap;

}

.cg-header-button:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

/*----------------------------------------------------
MOBILE TOGGLE
----------------------------------------------------*/

.cg-mobile-toggle{

    display:none;

    width:46px;

    height:46px;

    border-radius:12px;

    border:1px solid #e8e8e8;

    background:#fff;

    align-items:center;

    justify-content:center;

    cursor:pointer;

}

/*----------------------------------------------------
SCROLL EFFECT
----------------------------------------------------*/

body.header-scrolled .cg-header{

    background:rgba(255,255,255,.96);

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}

body.header-scrolled .cg-header-inner{

    height:72px;

}

body.header-scrolled .site-logo-image{

    height:44px;

}

/*----------------------------------------------------
RESPONSIVE
----------------------------------------------------*/

@media (max-width:1100px){

    .cg-menu{

        gap:24px;

    }

    .cg-header-button{

        padding:0 18px;

        font-size:14px;

    }

}

@media (max-width:992px){

    .cg-topbar{

        display:none;

    }

    .cg-desktop-nav{

        display:none;

    }

    .cg-header-button{

        display:none;

    }

    .cg-mobile-toggle{

        display:flex;

    }

    .cg-header-inner{

        height:74px;

    }

    .site-logo-image{

        height:46px;

    }

}

@media (max-width:768px){

    .cg-container{

        padding:0 18px;

    }

    .cg-header-inner{

        height:68px;

    }

    .site-logo-image{

        height:40px;

    }

    .cg-header-actions{

        gap:10px;

    }

    .cg-header-icon,

    .cg-mobile-toggle{

        width:42px;

        height:42px;

    }

}

@media (max-width:480px){

    .site-logo-image{

        height:36px;

    }

}
/*====================================================
PREMIUM FOOTER
====================================================*/

footer{

    background:#fafafa;

    border-top:1px solid #ececec;

    margin-top:120px;

}

.cg-footer-grid{

    display:grid;

    grid-template-columns:2fr repeat(4,1fr);

    gap:60px;

    padding:90px 0 70px;

}

/*----------------------------------------------------
Brand
----------------------------------------------------*/

.cg-footer-brand{

    max-width:360px;

}

.cg-footer-logo{

    display:inline-flex;

    align-items:center;

    text-decoration:none;

    margin-bottom:28px;

}

.cg-footer-logo-image{

    height:54px;

    width:auto;

    display:block;

}

.cg-footer-description{

    color:#666;

    line-height:1.9;

    margin-bottom:30px;

    font-size:15px;

}

/*----------------------------------------------------
Social
----------------------------------------------------*/

.cg-footer-social{

    display:flex;

    gap:14px;

}

.cg-footer-social a{

    width:42px;

    height:42px;

    border-radius:999px;

    border:1px solid #e7e7e7;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#111;

    transition:.3s;

    text-decoration:none;

}

.cg-footer-social a:hover{

    background:#111;

    color:#fff;

    transform:translateY(-3px);

}

/*----------------------------------------------------
Titles
----------------------------------------------------*/

.cg-footer-title{

    font-size:15px;

    font-weight:700;

    margin-bottom:22px;

    text-transform:uppercase;

    letter-spacing:.12em;

}

/*----------------------------------------------------
Links
----------------------------------------------------*/

.cg-footer-links{

    margin:0;

    padding:0;

    list-style:none;

}

.cg-footer-links li{

    margin-bottom:14px;

}

.cg-footer-links a{

    color:#666;

    text-decoration:none;

    transition:.3s;

    position:relative;

}

.cg-footer-links a:hover{

    color:#111;

    padding-left:8px;

}

/*----------------------------------------------------
Bottom
----------------------------------------------------*/

.cg-footer-bottom{

    border-top:1px solid #ececec;

    padding:30px 0;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    color:#777;

    font-size:14px;

    flex-wrap:wrap;

}

.cg-footer-bottom-left{

    display:flex;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

}

.cg-footer-bottom-right{

    display:flex;

    align-items:center;

    gap:22px;

    flex-wrap:wrap;

}

.cg-footer-bottom a{

    color:#666;

    text-decoration:none;

}

.cg-footer-bottom a:hover{

    color:#111;

}

/*----------------------------------------------------
Responsive
----------------------------------------------------*/

@media(max-width:1200px){

    .cg-footer-grid{

        grid-template-columns:2fr repeat(2,1fr);

    }

}

@media(max-width:992px){

    .cg-footer-grid{

        grid-template-columns:1fr 1fr;

        gap:50px;

    }

}

@media(max-width:768px){

    footer{

        margin-top:90px;

    }

    .cg-footer-grid{

        grid-template-columns:1fr;

        gap:40px;

        padding:60px 0;

    }

    .cg-footer-brand{

        max-width:100%;

    }

    .cg-footer-bottom{

        flex-direction:column;

        align-items:flex-start;

    }

}
/*====================================================
PREMIUM GENERATOR CARD
====================================================*/

.cg-generator-card{

    position:relative;

    display:flex;

    flex-direction:column;

    background:#fff;

    border:1px solid #e9e9e9;

    border-radius:22px;

    padding:28px;

    transition:all .35s ease;

    overflow:hidden;

    height:100%;

}

.cg-generator-card:hover{

    border-color:#111;

    transform:translateY(-8px);

    box-shadow:0 25px 60px rgba(0,0,0,.08);

}

/*==================================*/

.cg-generator-preview{

    width:72px;

    height:72px;

    border-radius:18px;

    background:#f5f5f5;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    font-weight:700;

    margin-bottom:22px;

    transition:.35s;

}

.cg-generator-card:hover .cg-generator-preview{

    transform:scale(1.08);

}

/*==================================*/

.cg-generator-name{

    font-size:24px;

    font-weight:700;

    line-height:1.3;

    margin-bottom:12px;

    color:#111;

}

.cg-generator-description{

    color:#666;

    line-height:1.8;

    font-size:15px;

    margin-bottom:28px;

    flex:1;

}

/*==================================*/

.cg-generator-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

/*==================================*/

.cg-generator-count{

    font-size:13px;

    color:#888;

    font-weight:500;

}

/*==================================*/

.cg-generator-button{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 18px;

    border-radius:999px;

    background:#111;

    color:#fff;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

    transition:.3s;

}

.cg-generator-button span{

    transition:.3s;

}

.cg-generator-card:hover .cg-generator-button span{

    transform:translateX(4px);

}

.cg-generator-button:hover{

    background:#000;

    color:#fff;

}

/*==================================*/

.cg-generator-badge{

    position:absolute;

    top:22px;

    right:22px;

    padding:6px 12px;

    border-radius:999px;

    background:#111;

    color:#fff;

    font-size:11px;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

/*==================================*/

@media(max-width:768px){

    .cg-generator-card{

        padding:22px;

    }

    .cg-generator-name{

        font-size:20px;

    }

    .cg-generator-preview{

        width:60px;

        height:60px;

        font-size:24px;

    }

}
.cg-generator-grid{

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:30px;

}

@media(max-width:1100px){

    .cg-generator-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .cg-generator-grid{

        grid-template-columns:1fr;

    }

}

/*==================================
CATEGORY NAVIGATION
==================================*/

.cg-tax-nav{

    padding:20px 0 45px;

}

.cg-tax-nav-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:22px;

}

.cg-tax-nav-header h2{

    font-size:26px;

    font-weight:700;

}

.cg-tax-nav-header a{

    font-weight:600;

    color:#111;

}

.cg-tax-pills{

    display:flex;

    flex-wrap:wrap;

    gap:14px;

}

.cg-tax-pill{

    padding:12px 22px;

    border-radius:999px;

    border:1px solid #e5e5e5;

    background:#fff;

    font-weight:600;

    transition:.25s;

}

.cg-tax-pill:hover{

    background:#111;

    color:#fff;

}

.cg-tax-pill.active{

    background:#111;

    color:#fff;

    border-color:#111;

}

@media(max-width:768px){

    .cg-tax-nav-header{

        flex-direction:column;

        gap:14px;

        align-items:flex-start;

    }

}
/*====================================
PREMIUM TAXONOMY HERO
====================================*/

.cg-tax-hero{

    padding:80px 0 48px;

    text-align:center;

}

.cg-tax-label{

    display:inline-flex;

    align-items:center;

    padding:8px 18px;

    border-radius:999px;

    background:#f4f4f4;

    color:#555;

    font-size:13px;

    font-weight:700;

    letter-spacing:.12em;

    text-transform:uppercase;

    margin-bottom:24px;

}

.cg-tax-hero h1{

    font-size:58px;

    line-height:1.05;

    font-weight:800;

    margin-bottom:22px;

    letter-spacing:-.04em;

}

.cg-tax-hero p{

    max-width:760px;

    margin:auto;

    color:#666;

    font-size:19px;

    line-height:1.8;

}

.cg-tax-stats{

    display:flex;

    justify-content:center;

    gap:22px;

    margin-top:48px;

    flex-wrap:wrap;

}

.cg-tax-stats div{

    width:170px;

    background:#fff;

    border:1px solid #ececec;

    border-radius:18px;

    padding:22px;

    transition:.3s;

}

.cg-tax-stats div:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 50px rgba(0,0,0,.08);

}

.cg-tax-stats strong{

    display:block;

    font-size:28px;

    font-weight:800;

    margin-bottom:6px;

}

.cg-tax-stats span{

    color:#666;

}

.cg-tax-search{

    margin-top:15px;

    margin-bottom:55px;

}

.cg-tax-search-box{

    position:relative;

    max-width:760px;

    margin:auto;

}

.cg-tax-search-box input{

    width:100%;

    height:66px;

    border-radius:18px;

    border:1px solid #e7e7e7;

    padding-left:64px;

    padding-right:24px;

    font-size:18px;

    transition:.3s;

    background:#fff;

}

.cg-tax-search-box input:focus{

    outline:none;

    border-color:#111;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

.cg-tax-search-box .material-symbols-outlined{

    position:absolute;

    left:22px;

    top:50%;

    transform:translateY(-50%);

    color:#888;

}

@media(max-width:768px){

    .cg-tax-hero{

        padding:60px 0 35px;

    }

    .cg-tax-hero h1{

        font-size:38px;

    }

    .cg-tax-hero p{

        font-size:16px;

    }

    .cg-tax-stats{

        gap:14px;

    }

    .cg-tax-stats div{

        width:calc(50% - 10px);

    }

}
/* Homepage css */

/*====================================================
POPULAR FONT PILLS
====================================================*/

.cg-popular-fonts{

    padding:90px 0;

}

.cg-section-heading{

    margin-bottom:42px;

}

.cg-section-heading h2{

    font-size:42px;

    font-weight:700;

    margin-bottom:10px;

}

.cg-section-heading p{

    color:#6b7280;

    font-size:18px;

}
.cg-font-marquee{

    display:flex;

    flex-direction:column;

    gap:18px;

    overflow:hidden;

}

.cg-pill-title{

    white-space:nowrap;

}
.cg-marquee-row{

    width:100%;

    overflow:hidden;

    position:relative;

}
.cg-marquee-track{

    display:flex;

    align-items:center;

    gap:18px;

    width:max-content;

    will-change:transform;

    animation:cgMarqueeLeft 85s linear infinite;

    transform:translate3d(0,0,0);

backface-visibility:hidden;

perspective:1000px;
}

.cg-marquee-track.reverse{

    animation:cgMarqueeRight 95s linear infinite;

}

.cg-marquee-row:hover .cg-marquee-track,

.cg-marquee-row:focus-within .cg-marquee-track{

    animation-play-state:paused;

}

@keyframes cgMarqueeLeft{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-50%);

    }

}

@keyframes cgMarqueeRight{

    from{

        transform:translateX(-50%);

    }

    to{

        transform:translateX(0);

    }

}

.cg-font-pill{

    display:inline-flex;

    align-items:center;

    gap:14px;

    padding:14px 22px;

    background:#fff;

    border:1px solid #111;

    border-radius:999px;

    text-decoration:none;

    color:#111;

    transition:.30s ease;

    white-space:nowrap;

    flex-shrink:0;

}

.cg-pill-icon{

    width:34px;

    height:34px;

    border-radius:50%;

    background:#111;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:13px;

    font-weight:700;

    letter-spacing:.02em;

}

.cg-font-pill span:last-child{

    font-size:15px;

    font-weight:600;

}

.cg-font-pill:hover{

    background:#111;

    color:#fff;

    transform:translateY(-3px);

}

.cg-font-pill:hover .cg-pill-icon{

    background:#fff;

    color:#111;

}

/*====================================================
BROWSE CATEGORIES
====================================================*/

.cg-category-showcase{

    max-width:1280px;

    margin:0 auto;

    padding:32px 20px 90px;

}
.cg-category-showcase .cg-section-heading{

    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    gap:40px;

    margin-bottom:50px;

}

.cg-view-all{

    display:inline-flex;

    align-items:center;

    gap:10px;

    text-decoration:none;

    color:#111;

    font-weight:600;

    transition:.3s;

}

.cg-view-all:hover{

    gap:16px;

}

.cg-category-layout{

    display:grid;

    grid-template-columns:1.15fr .85fr;

    gap:28px;

    align-items:stretch;

}

/*==========================
LEFT FEATURE CARD
==========================*/

.cg-category-feature{

    background:#111;

    color:#fff;

    border-radius:32px;

    padding:50px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    min-height:620px;

    text-decoration:none;

    transition:.35s ease;

    position:relative;

    overflow:hidden;

}

.cg-category-feature:hover{

    transform:translateY(-8px);

}

.cg-category-feature::before{

    content:"";

    position:absolute;

    right:-80px;

    bottom:-80px;

    width:240px;

    height:240px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

}

.cg-category-icon{

    width:84px;

    height:84px;

    border-radius:22px;

    background:#fff;

    color:#111;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    font-weight:700;

    margin-bottom:30px;

}

.cg-category-label{

    display:inline-block;

    font-size:13px;

    letter-spacing:.12em;

    text-transform:uppercase;

    color:#cfcfcf;

    margin-bottom:18px;

}

.cg-category-feature h3{

    font-size:42px;

    line-height:1.15;

    margin-bottom:20px;

}

.cg-category-feature p{

    color:#d7d7d7;

    font-size:18px;

    line-height:1.7;

    max-width:420px;

}

.cg-category-arrow{

    margin-top:40px;

    font-weight:600;

    font-size:16px;

}

/*==========================
RIGHT COLUMN
==========================*/

.cg-category-grid{

    display:grid;

    grid-template-rows:repeat(4,1fr);

    gap:22px;

}

.cg-category-card{

    background:#fff;

    border:1px solid #e7e7e7;

    border-radius:26px;

    padding:30px;

    display:flex;

    align-items:center;

    gap:22px;

    text-decoration:none;

    color:#111;

    transition:.35s;

    position:relative;

}

.cg-category-card:hover{

    transform:translateX(10px);

    border-color:#111;

    box-shadow:0 18px 40px rgba(0,0,0,.08);

}

.cg-category-card-icon{

    width:62px;

    height:62px;

    border-radius:18px;

    background:#f5f5f5;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    flex-shrink:0;

}

.cg-category-content{

    flex:1;

}

.cg-category-content h4{

    font-size:22px;

    margin-bottom:8px;

}

.cg-category-content p{

    color:#777;

    line-height:1.6;

    font-size:15px;

}

.cg-card-arrow{

    font-size:24px;

    font-weight:600;

    transition:.3s;

}

.cg-category-card:hover .cg-card-arrow{

    transform:translateX(8px);

}

/*==========================
RESPONSIVE
==========================*/

@media(max-width:1024px){

    .cg-category-layout{

        grid-template-columns:1fr;

    }

    .cg-category-feature{

        min-height:auto;

    }

}

@media(max-width:1024px){

    .cg-category-showcase{

        padding:80px 20px;

    }

    .cg-category-layout{

        grid-template-columns:1fr;

    }

    .cg-category-feature{

        min-height:auto;

    }

}

@media(max-width:768px){

    .cg-category-showcase{

        padding:60px 10px;

    }

    .cg-category-showcase .cg-section-heading{

        flex-direction:column;

        align-items:flex-start;

        gap:20px;

    }

    .cg-category-feature{

        padding:36px 18px;

    }

    .cg-category-feature h3{

        font-size:32px;

    }

    .cg-category-card{

        padding:22px;

    }

}

/*====================================================
WHY CHOOSE US
====================================================*/

.cg-features{

    max-width:1280px;

    margin:0 auto;

    padding:32px 24px 90px;

}

.cg-features-header{

    text-align:center;

    margin-bottom:60px;

}

.cg-features-header h2{

    font-size:42px;

    font-weight:700;

    margin-bottom:12px;

}

.cg-features-header p{

    font-size:18px;

    color:#6b7280;

}

.cg-features-grid{

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:28px;

}
.cg-feature-card{

    position:relative;

    display:flex;

    flex-direction:column;

    gap:28px;

    padding:42px;

    min-height:290px;

    border-radius:30px;

    background:#fff;

    border:1px solid #ececec;

    text-decoration:none;

    color:#111;

    transition:.35s ease;

    overflow:hidden;

}

.cg-feature-card:hover{

    transform:translateY(-8px);

    border-color:#111;

    box-shadow:0 25px 60px rgba(0,0,0,.08);

}
.cg-feature-card:first-child{

    background:#111;

    color:#fff;

    border-color:#111;

}

.cg-feature-card:first-child p{

    color:rgba(255,255,255,.75);

}
.cg-feature-icon{

    width:72px;

    height:72px;

    border-radius:22px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#f6f6f6;

    transition:.35s;

}

.cg-feature-card:first-child .cg-feature-icon{

    background:#fff;

}

.cg-feature-icon .material-symbols-outlined{

    font-size:34px;

}

.cg-feature-card:hover .cg-feature-icon{

    transform:rotate(-8deg) scale(1.08);

}
.cg-feature-content{

    flex:1;

}

.cg-feature-content h3{

    font-size:28px;

    margin-bottom:14px;

    font-weight:700;

}

.cg-feature-content p{

    font-size:17px;

    line-height:1.8;

    color:#6b7280;

}
.cg-feature-arrow{

    font-size:24px;

    font-weight:600;

    transition:.35s;

}

.cg-feature-card:hover .cg-feature-arrow{

    transform:translateX(10px);

}
.cg-feature-card::before{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    right:-120px;

    bottom:-120px;

    background:rgba(0,0,0,.03);

}

.cg-feature-card:first-child::before{

    background:rgba(255,255,255,.05);

}
@media(max-width:1024px){

    .cg-features-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .cg-features{

        padding:70px 20px;

    }

    .cg-features-header h2{

        font-size:34px;

    }

    .cg-feature-card{

        min-height:auto;

        padding:32px;

    }

    .cg-feature-content h3{

        font-size:24px;

    }

}
/*====================================================
LATEST INSIGHTS
====================================================*/

.cg-latest-blog{

    max-width:1280px;

    margin:0 auto;

    padding:100px 24px;

}

.cg-blog-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    gap:30px;

    margin-bottom:55px;

}

.cg-blog-header h2{

    font-size:42px;

    font-weight:700;

    margin-bottom:10px;

}

.cg-blog-header p{

    color:#6b7280;

    font-size:18px;

}

.cg-blog-all{

    display:inline-flex;

    align-items:center;

    gap:12px;

    text-decoration:none;

    color:#111;

    font-weight:600;

    transition:.3s;

}

.cg-blog-all:hover{

    gap:18px;

}
.cg-blog-layout{

    display:grid;

    grid-template-columns:1.08fr .92fr;

    gap:34px;

    align-items:start;

}
.cg-blog-feature{

    display:flex;

    flex-direction:column;

}

.cg-blog-image{

    display:block;

    overflow:hidden;

    border-radius:26px;

    margin-bottom:12px;

}

.cg-blog-thumb{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

    transition:transform .5s;

}

.cg-blog-image:hover .cg-blog-thumb{

    transform:scale(1.05);

}

.cg-blog-feature h3{

    font-size:40px;

    line-height:1.18;

    margin:18px 0;

}

.cg-blog-feature h3 a{

    color:#111;

    text-decoration:none;

}

.cg-blog-feature p{

    color:#666;

    font-size:18px;

    line-height:1.8;

    margin-bottom:22px;

}
.cg-blog-category{

    display:inline-flex;

    align-items:center;

    width:max-content;

    padding:7px 16px;

    border-radius:999px;

    background:#111;

    color:#fff;

    font-size:12px;

    letter-spacing:.08em;

    text-transform:uppercase;

    font-weight:700;

}
.cg-blog-meta{

    display:flex;

    align-items:center;

    gap:10px;

    color:#777;

    font-size:14px;

    margin-bottom:24px;

}.cg-read-more{

    display:inline-flex;

    align-items:center;

    gap:12px;

    text-decoration:none;

    color:#111;

    font-weight:600;

    transition:.3s;

}

.cg-read-more:hover{

    gap:18px;

}.cg-blog-stack{

    display:flex;

    flex-direction:column;

    gap:20px;

}.cg-blog-card{

    display:flex;

    align-items:center;

    gap:22px;

    padding:22px;

    border:1px solid #ececec;

    border-radius:22px;

    text-decoration:none;

    color:#111;

    transition:.35s;

}

.cg-blog-card:hover{

    transform:translateX(8px);

    border-color:#111;

    box-shadow:0 16px 36px rgba(0,0,0,.07);

}.cg-blog-card-image{

    width:120px;

    height:90px;

    flex-shrink:0;

    overflow:hidden;

    border-radius:16px;

}

.cg-blog-card-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.45s;

}

.cg-blog-card:hover img{

    transform:scale(1.08);

}.cg-blog-card-content{

    flex:1;

    min-width:0;

}

.cg-blog-card-content h4{

    font-size:24px;

    line-height:1.35;

    margin:12px 0;

}

.cg-blog-card-content h4 a{

    color:#111;

    text-decoration:none;

}.cg-blog-arrow{

    font-size:26px;

    font-weight:700;

    transition:.35s;

}

.cg-blog-card:hover .cg-blog-arrow{

    transform:translateX(8px);

}.cg-blog-placeholder{

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    height:100%;

    background:#f5f5f5;

}

.cg-blog-placeholder.small{

    border-radius:16px;

}@media(max-width:1024px){

    .cg-blog-layout{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .cg-latest-blog{

        padding:70px 20px;

    }

    .cg-blog-header{

        flex-direction:column;

        align-items:flex-start;

        gap:20px;

    }

    .cg-blog-feature h3{

        font-size:32px;

    }

    .cg-blog-card{

        flex-direction:column;

        align-items:flex-start;

    }

    .cg-blog-card-image{

        width:100%;

        height:220px;

    }

}/*====================================================
FAQ
====================================================*/

.cg-faq-section{

    max-width:1280px;

    margin:0 auto;

    padding:32px 24px 90px;

}

.cg-faq-container{

    max-width:920px;

    margin:auto;

}

.cg-faq-header{

    text-align:center;

    margin-bottom:60px;

}

.cg-faq-header h2{

    font-size:42px;

    font-weight:700;

    margin-bottom:14px;

}

.cg-faq-header p{

    font-size:18px;

    color:#6b7280;

}

/* FAQ */

.cg-faq-item{

    background:#fff;

    border:1px solid #ececec;

    border-radius:24px;

    margin-bottom:18px;

    overflow:hidden;

    transition:.35s;

}

.cg-faq-item:hover{

    border-color:#111;

}

.cg-faq-question{

    list-style:none;

    cursor:pointer;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:28px 34px;

}

.cg-faq-question::-webkit-details-marker{

    display:none;

}

.cg-faq-left{

    display:flex;

    align-items:center;

    gap:24px;

}

.cg-faq-number{

    width:52px;

    height:52px;

    border-radius:50%;

    background:#f5f5f5;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

    color:#111;

    flex-shrink:0;

}

.cg-faq-title{

    font-size:24px;

    font-weight:700;

    line-height:1.4;

}

.cg-faq-icon{

    font-size:36px;

    line-height:1;

    transition:.35s;

    font-weight:300;

}

.cg-faq-item[open] .cg-faq-icon{

    transform:rotate(45deg);

}

.cg-faq-answer{

    padding:0 34px 34px 110px;

    color:#666;

    font-size:17px;

    line-height:1.8;

}

.cg-faq-item[open]{

    border-color:#111;

    box-shadow:0 18px 45px rgba(0,0,0,.05);

}

/* Responsive */

@media(max-width:768px){

    .cg-faq-section{

        padding:70px 20px;

    }

    .cg-faq-header h2{

        font-size:34px;

    }

    .cg-faq-question{

        padding:22px;

    }

    .cg-faq-left{

        gap:18px;

    }

    .cg-faq-number{

        width:42px;

        height:42px;

        font-size:14px;

    }

    .cg-faq-title{

        font-size:18px;

    }

    .cg-faq-answer{

        padding:0 22px 26px 82px;

        font-size:16px;

    }

}
/*====================================================
HOW IT WORKS
====================================================*/

.cg-how-it-works{

    max-width:1280px;

    margin:0 auto;

    padding: 32px 24px 90px;

}

.cg-how-container{

    max-width:1180px;

    margin:auto;

}

.cg-how-header{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.cg-section-eyebrow{

    display:inline-flex;

    padding:8px 18px;

    border-radius:999px;

    background:#f4f4f4;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.12em;

    margin-bottom:20px;

}

.cg-how-header h2{

    font-size:48px;

    line-height:1.15;

    margin-bottom:22px;

    font-weight:700;

}

.cg-how-header p{

    font-size:19px;

    color:#6b7280;

    line-height:1.8;

}

.cg-how-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:26px;

    margin-bottom:70px;

}

.cg-how-card{

    padding:34px;

    background:#fff;

    border:1px solid #ececec;

    border-radius:26px;

    transition:.35s;

}

.cg-how-card:hover{

    transform:translateY(-8px);

    border-color:#111;

    box-shadow:0 20px 50px rgba(0,0,0,.06);

}

.cg-how-number{

    display:inline-flex;

    width:58px;

    height:58px;

    border-radius:50%;

    background:#111;

    color:#fff;

    align-items:center;

    justify-content:center;

    font-weight:700;

    margin-bottom:24px;

}

.cg-how-card h3{

    font-size:24px;

    margin-bottom:18px;

}

.cg-how-card p{

    color:#666;

    line-height:1.8;

}

.cg-how-note{

    padding:50px;

    border-radius:30px;

    background:#111;

    color:#fff;

}

.cg-how-note h3{

    font-size:34px;

    margin-bottom:24px;

}

.cg-how-note p{

    color:rgba(255,255,255,.78);

    font-size:18px;

    line-height:1.9;

}

.cg-how-note p + p{

    margin-top:18px;

}@media(max-width:1100px){

    .cg-how-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .cg-how-it-works{

        padding:70px 20px;

    }

    .cg-how-header h2{

        font-size:34px;

    }

    .cg-how-header p{

        font-size:17px;

    }

    .cg-how-grid{

        grid-template-columns:1fr;

    }

    .cg-how-card{

        padding:28px;

    }

    .cg-how-note{

        padding:34px 28px;

    }

    .cg-how-note h3{

        font-size:28px;

    }

}
/*====================================================
LIVE FONT PREVIEW
====================================================*/

.cg-live-preview{

    max-width:1280px;

    margin:0 auto;

    padding: 32px 24px 90px;

}

.cg-live-preview-container{

    max-width:1180px;

    margin:0 auto;

}

/*=============================
HEADER
=============================*/

.cg-live-preview-header{

    text-align:center;

    max-width:760px;

    margin:0 auto 70px;

}

.cg-live-preview-header h2{

    font-size:48px;

    line-height:1.15;

    font-weight:700;

    margin:20px 0;

}

.cg-live-preview-header p{

    font-size:19px;

    color:#6b7280;

    line-height:1.8;

}

/*=============================
WINDOW
=============================*/

.cg-preview-window{

    background:#ffffff;

    border:1px solid #e8e8e8;

    border-radius:28px;

    overflow:hidden;

    box-shadow:
        0 25px 70px rgba(0,0,0,.06);

}

/*=============================
WINDOW HEADER
=============================*/

.cg-preview-window-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:22px 28px;

    border-bottom:1px solid #ececec;

    background:#fafafa;

}

.cg-window-dots{

    display:flex;

    gap:10px;

}

.cg-window-dots span{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#d5d5d5;

}

.cg-window-title{

    font-size:14px;

    font-weight:600;

    color:#555;

}

/*=============================
ROWS
=============================*/

.cg-preview-list{

    display:flex;

    flex-direction:column;

}

.cg-preview-row{

    display:grid;

    grid-template-columns:

        170px

        1fr

        90px;

    gap:30px;

    align-items:center;

    padding:28px 32px;

    border-bottom:1px solid #f1f1f1;

    transition:.30s;

}

.cg-preview-row:last-child{

    border-bottom:none;

}

.cg-preview-row:hover{

    background:#fafafa;

}

/*=============================
STYLE LABEL
=============================*/

.cg-preview-style{

    font-size:14px;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

    color:#888;

}

/*=============================
TEXT
=============================*/

.cg-preview-text{

    font-size:34px;

    line-height:1.35;

    color:#111;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

}

/*=============================
COPY BUTTON
=============================*/

.cg-copy-preview{

    height:42px;

    border:none;

    background:#111;

    color:#fff;

    border-radius:12px;

    cursor:pointer;

    font-size:14px;

    font-weight:600;

    transition:.30s;

}

.cg-copy-preview:hover{

    background:#2a2a2a;

    transform:translateY(-2px);

}

/*=============================
BOTTOM INFO
=============================*/

.cg-preview-info{

    display:grid;

    grid-template-columns:

        1fr

        260px;

    gap:50px;

    margin-top:60px;

    align-items:center;

    padding:50px;

    border-radius:28px;

    background:#fafafa;

}

.cg-preview-content h3{

    font-size:34px;

    margin-bottom:24px;

}

.cg-preview-content p{

    color:#666;

    line-height:1.9;

    font-size:17px;

}

.cg-preview-content p + p{

    margin-top:18px;

}

/*=============================
BUTTON
=============================*/

.cg-preview-button{

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    height:60px;

    padding:0 36px;

    border-radius:999px;

    background:#111;

    color:#fff;

    text-decoration:none;

    font-weight:700;

    transition:.30s;

}

.cg-preview-button:hover{

    background:#2b2b2b;

    transform:translateY(-3px);

}

/*=============================
RESPONSIVE
=============================*/

@media(max-width:1024px){

    .cg-preview-row{

        grid-template-columns:

            150px

            1fr

            80px;

    }

    .cg-preview-info{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .cg-live-preview{

        padding:70px 20px;

    }

    .cg-live-preview-header{

        margin-bottom:50px;

    }

    .cg-live-preview-header h2{

        font-size:34px;

    }

    .cg-live-preview-header p{

        font-size:17px;

    }

    .cg-preview-window-header{

        padding:18px 20px;

    }

    .cg-preview-row{

        grid-template-columns:1fr;

        gap:16px;

        padding:22px;

    }

    .cg-preview-style{

        margin-bottom:4px;

    }

    .cg-preview-text{

        font-size:26px;

    }

    .cg-copy-preview{

        width:100%;

    }

    .cg-preview-info{

        padding:34px 26px;

        margin-top:40px;

    }

    .cg-preview-content h3{

        font-size:28px;

    }

}
/*====================================================
PREMIUM CLOSING SECTION
====================================================*/

.cg-home-closing{

    max-width:1280px;

    margin:120px auto;

    padding:0 24px;

}

.cg-home-closing-container{

    border:1px solid #ececec;

    border-radius:36px;

    padding:80px;

    background:#fff;

    box-shadow:0 30px 80px rgba(0,0,0,.05);

}

.cg-closing-header{

    max-width:820px;

    margin:0 auto 70px;

    text-align:center;

}

.cg-closing-header h2{

    font-size:48px;

    line-height:1.15;

    margin:20px 0;

}

.cg-closing-header p{

    font-size:18px;

    line-height:1.9;

    color:#666;

}

.cg-closing-grid{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:70px;

    margin-bottom:70px;

}

.cg-closing-content h3{

    font-size:32px;

    margin-bottom:24px;

}

.cg-closing-content p{

    color:#666;

    line-height:1.9;

    margin-bottom:20px;

}

.cg-platforms{

    display:flex;

    flex-wrap:wrap;

    gap:14px;

    align-content:flex-start;

}

.cg-platform-pill{

    padding:12px 18px;

    border:1px solid #111;

    border-radius:999px;

    background:#fff;

    font-weight:600;

    transition:.3s;

}

.cg-platform-pill:hover{

    background:#111;

    color:#fff;

}

.cg-stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

    margin-bottom:70px;

}

.cg-stat{

    border:1px solid #ececec;

    border-radius:24px;

    padding:40px 20px;

    text-align:center;

}

.cg-stat span{

    display:block;

    font-size:42px;

    font-weight:700;

    margin-bottom:10px;

}

.cg-stat small{

    color:#777;

    font-size:15px;

}

.cg-final-cta{

    background:#111;

    color:#fff;

    border-radius:28px;

    padding:60px;

    text-align:center;

}

.cg-final-cta h3{

    font-size:42px;

    margin-bottom:18px;

}

.cg-final-cta p{

    color:rgba(255,255,255,.75);

    font-size:18px;

    margin-bottom:34px;

}

.cg-final-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:18px 42px;

    background:#fff;

    color:#111;

    border-radius:999px;

    font-weight:700;

    text-decoration:none;

    transition:.3s;

}

.cg-final-button:hover{

    transform:translateY(-3px);

}

@media(max-width:992px){

    .cg-home-closing-container{

        padding:50px 30px;

    }

    .cg-closing-grid{

        grid-template-columns:1fr;

    }

    .cg-stats-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .cg-home-closing{

        margin:80px auto;

        padding:0 20px;

    }

    .cg-home-closing-container{

        padding:36px 24px;

    }

    .cg-closing-header h2{

        font-size:34px;

    }

    .cg-closing-content h3{

        font-size:28px;

    }

    .cg-stats-grid{

        grid-template-columns:1fr;

    }

    .cg-final-cta{

        padding:40px 24px;

    }

    .cg-final-cta h3{

        font-size:30px;

    }

}
/*=========================================
BLOG HERO
=========================================*/

.cg-blog-hero{

    padding:90px 0 70px;

    text-align:center;

}

.cg-blog-hero h1{

    font-size:60px;

    line-height:1.05;

    font-weight:800;

    letter-spacing:-.04em;

    margin:22px 0;

}

.cg-blog-hero p{

    max-width:760px;

    margin:auto;

    font-size:19px;

    color:#666;

    line-height:1.8;

}

.cg-blog-search{

    max-width:700px;

    margin:50px auto 0;

    position:relative;

}

.cg-blog-search input{

    width:100%;

    height:66px;

    border-radius:18px;

    border:1px solid #e6e6e6;

    padding-left:65px;

    padding-right:20px;

    font-size:18px;

    transition:.3s;

}

.cg-blog-search input:focus{

    outline:none;

    border-color:#111;

    box-shadow:0 15px 45px rgba(0,0,0,.08);

}

.cg-blog-search .material-symbols-outlined{

    position:absolute;

    left:22px;

    top:50%;

    transform:translateY(-50%);

    color:#888;

}

/*=========================================
BLOG GRID
=========================================*/

.cg-blog-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:32px;

}

.cg-pagination{

    margin-top:70px;

    text-align:center;

}

@media(max-width:992px){

    .cg-blog-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .cg-blog-grid{

        grid-template-columns:1fr;

    }

    .cg-blog-hero h1{

        font-size:40px;

    }

}
/*==================================================
PREMIUM BLOG CARD
==================================================*/

.cg-blog-card{

    display:flex;

    flex-direction:column;

    background:#fff;

    border:1px solid #ececec;

    border-radius:24px;

    overflow:hidden;

    transition:.35s;

    height:100%;

}

.cg-blog-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 60px rgba(0,0,0,.08);

}

.cg-blog-image{

    display:block;

    aspect-ratio:16/9;

    overflow:hidden;

    background:#f5f5f5;

}

.cg-blog-thumb{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.cg-blog-card:hover .cg-blog-thumb{

    transform:scale(1.06);

}

.cg-blog-placeholder{

    width:100%;

    height:100%;

    display:flex;

    justify-content:center;

    align-items:center;

}

.cg-blog-placeholder span{

    font-size:60px;

    color:#999;

}

.cg-blog-content{

    padding:22px;

}

.cg-blog-category{

    display:inline-flex;

    align-self:flex-start;

    padding:7px 14px;

    border-radius:999px;

    background:#f4f4f4;

    font-size:12px;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

    margin-bottom:18px;

}

.cg-blog-content h3{

    font-size:22px;

    line-height:1.35;

    font-weight:700;

    margin-bottom:8px;

}

.cg-blog-content h3 a{

    color:#111;

}

.cg-blog-content h3 a:hover{

    color:#000;

}

.cg-blog-content p{

    color:#666;

    line-height:1.7;

    margin-bottom:16px;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

}

.cg-blog-meta{

    display:flex;

    gap:18px;

    color:#888;

    font-size:14px;

    margin-bottom:22px;

}

.cg-blog-readmore{

    display:inline-flex;

    font-weight:700;

    color:#111;

}

.cg-blog-readmore:hover{

    text-decoration:underline;

}
/*====================================
SINGLE BLOG HERO
====================================*/

.cg-single-hero{

    padding-top:70px;

    text-align:center;

    margin-bottom:60px;

}

.cg-single-hero h1{

    font-size:58px;

    line-height:1.1;

    font-weight:800;

    letter-spacing:-.04em;

    max-width:920px;

    margin:24px auto;

}

.cg-single-meta{

    display:flex;

    justify-content:center;

    gap:24px;

    flex-wrap:wrap;

    color:#777;

    font-size:15px;

}

.cg-single-image{

    border-radius:28px;

    overflow:hidden;

    background:#f8f8f8;

    margin-bottom:24px;

}

.cg-single-thumb{

    width:100%;

    height:auto;

    display:block;

}

@media(max-width:768px){

.cg-single-hero h1{

font-size:38px;

}

.cg-single-meta{

gap:12px;

font-size:14px;

}

}
/*==================================================
PREMIUM ARTICLE TYPOGRAPHY
==================================================*/

.cg-article-content{

    max-width:760px;

    margin:0 auto;

    color:#333;

    font-size:19px;

    line-height:1.9;

}

.cg-article-content>*{

    margin-bottom:1.8rem;

}

.cg-article-content p{

    color:#555;

}

.cg-article-content h2{

    font-size:42px;

    line-height:1.2;

    font-weight:800;

    color:#111;

    margin-top:70px;

    margin-bottom:24px;

    letter-spacing:-.03em;

}

.cg-article-content h3{

    font-size:30px;

    line-height:1.3;

    font-weight:700;

    margin-top:50px;

    margin-bottom:18px;

    color:#111;

}

.cg-article-content h4{

    font-size:24px;

    font-weight:700;

    margin-top:36px;

    margin-bottom:16px;

}

.cg-article-content strong{

    color:#111;

    font-weight:700;

}

.cg-article-content a{

    color:#111;

    text-decoration:underline;

    text-decoration-thickness:2px;

    text-underline-offset:4px;

}

.cg-article-content ul,

.cg-article-content ol{

    padding-left:28px;

}

.cg-article-content li{

    margin-bottom:12px;

}

.cg-article-content img{

    display:block;

    max-width:100%;

    width:auto;

    height:auto;

    margin:40px auto;

    border-radius:20px;

}

.cg-article-content blockquote{

    margin:50px 0;

    padding:32px;

    border-left:5px solid #111;

    background:#fafafa;

    border-radius:18px;

    font-size:22px;

    font-weight:500;

    line-height:1.7;

    color:#111;

}

.cg-article-content table{

    width:100%;

    border-collapse:collapse;

    margin:40px 0;

}

.cg-article-content table td,

.cg-article-content table th{

    border:1px solid #ececec;

    padding:14px;

}

.cg-article-content table th{

    background:#f8f8f8;

}

.cg-article-content hr{

    margin:70px auto;

    border:none;

    border-top:1px solid #ececec;

}

.cg-article-content pre{

    background:#111;

    color:#fff;

    padding:24px;

    border-radius:18px;

    overflow:auto;

    margin:40px 0;

}

.cg-article-content code{

    font-family:monospace;

}

@media(max-width:768px){

.cg-article-content{

font-size:17px;

}

.cg-article-content h2{

font-size:32px;

}

.cg-article-content h3{

font-size:26px;

}

.cg-article-content blockquote{

font-size:18px;

padding:24px;

}

}
@media(max-width:768px){

    .cg-single-hero{

        padding-top:40px;

        margin-bottom:40px;

    }

}
.cg-blog-category{

    text-decoration:none;

    transition:.25s;
    color:#333;

}

.cg-blog-category:hover{

    background:#111;

    color:#fff;

}
@media(max-width:768px){

.cg-single-image{

margin-bottom:20px;

}

    
/*==================================================
RELATED ARTICLES
==================================================*/

.cg-related-posts{

    width:100%;

    padding:90px 0;

    background:#fafafa;

    border-top:1px solid #ececec;

}

.cg-related-posts .cg-container{

    width:100%;

    max-width:1280px;

    margin:0 auto;

    padding:0 24px;

}

.cg-related-header{

    width:100%;

    max-width:760px;

    margin:0 auto 60px;

    text-align:center;
    margin-bottom:20px;

}

.cg-related-header .cg-section-eyebrow{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 18px;

    border-radius:999px;

    background:#f3f3f3;

    color:#111;

    font-size:12px;

    font-weight:700;

    letter-spacing:.12em;

    text-transform:uppercase;

    margin-bottom:20px;

}

.cg-related-header h2{

    font-size:48px;

    font-weight:800;

    line-height:1.1;

    letter-spacing:-0.04em;

    color:#111;

    margin:0 0 18px;

}

.cg-related-header p{

    max-width:620px;

    margin:0 auto;

    color:#666;

    font-size:18px;

    line-height:1.8;

}

.cg-related-posts .cg-blog-grid{

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:32px;

    width:100%;

    align-items:stretch;

}

.cg-related-posts .cg-blog-card{

    height:100%;
    margin-top:20px;

}

@media (max-width:991px){

    .cg-related-posts .cg-blog-grid{

        grid-template-columns:repeat(2,minmax(0,1fr));

    }

}

@media (max-width:767px){

    .cg-related-posts{

        padding:70px 0;

    }

    .cg-related-header{

        margin-bottom:40px;

    }

    .cg-related-header h2{

        font-size:34px;

    }

    .cg-related-header p{

        font-size:16px;
        margin-bottom:20px !important;

    }

    .cg-related-posts .cg-blog-grid{

        grid-template-columns:1fr;

        gap:24px;

    }

}