/**
 * OKC Media Tools - UI Stylesheet
 * High-performance, modern, responsive interface
 */

:root {
    --okc-primary: #3b82f6;
    --okc-primary-hover: #2563eb;
    --okc-primary-dark: #1d4ed8;
    --okc-primary-light: #eff6ff;
    --okc-success: #10b981;
    --okc-success-light: #ecfdf5;
    --okc-danger: #ef4444;
    --okc-danger-light: #fef2f2;
    --okc-warning: #f59e0b;
    --okc-bg: #ffffff;
    --okc-surface: #f8fafc;
    --okc-border: #e2e8f0;
    --okc-text-main: #0f172a;
    --okc-text-muted: #64748b;
    --okc-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --okc-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --okc-shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --okc-radius: 14px;
    --okc-radius-sm: 8px;
    --okc-radius-lg: 20px;
}

/* Global Reset & Horizontal Overflow Prevention */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

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

img, svg, canvas, video {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Sitewide Layout & Top Spacing Overrides
   ========================================================================== */

/* Full-width container integrity across block theme */
.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wp-site-blocks > header,
header.wp-block-template-part,
.okc-site-header,
.wp-site-blocks > footer,
footer.wp-block-template-part,
.okc-site-footer {
    width: 100% !important;
    max-width: 100% !important;
}

/* Sitewide Spacing from Top for Main Content */
main#wp--skip-link--target,
.wp-site-blocks > main,
main.wp-block-group {
    margin-top: 2rem !important;
    padding-top: 1rem !important;
    width: 100% !important;
    flex: 1 0 auto;
}

/* Post Content & Entry Content Container */
.entry-content {
    width: 100% !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* Prevent Twenty Twenty-Five from clamping children to 645px */
.entry-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.is-layout-constrained > .okc-tool-container,
.is-layout-constrained > .okc-directory,
.is-layout-constrained > .okc-article-wrap {
    max-width: 100% !important;
}

/* Tool Container */
.okc-tool-container {
    max-width: 960px;
    margin: 1.5rem auto 3rem auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--okc-text-main);
}

.okc-tool-card {
    background: var(--okc-bg);
    border: 1px solid var(--okc-border);
    border-radius: var(--okc-radius-lg);
    box-shadow: var(--okc-shadow-lg);
    padding: 2.25rem;
    transition: all 0.3s ease;
}

/* Header */
.okc-tool-header {
    text-align: center;
    margin-bottom: 2rem;
}

.okc-tool-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: okc-pulse 1.8s infinite;
}

@keyframes okc-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.okc-tool-header h2 {
    font-family: 'Plus Jakarta Sans', var(--okc-text-main), sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem 0;
    color: var(--okc-text-main);
}

.okc-tool-subtitle {
    font-size: 1.05rem;
    color: var(--okc-text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Options Bar */
.okc-options-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: var(--okc-surface);
    border: 1px solid var(--okc-border);
    border-radius: var(--okc-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.75rem;
}

.okc-option-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 500;
}

.okc-select, .okc-input {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: var(--okc-radius-sm);
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
    color: var(--okc-text-main);
    outline: none;
    transition: border-color 0.2s;
}

.okc-select:focus, .okc-input:focus {
    border-color: var(--okc-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.okc-slider-group {
    min-width: 260px;
}

.okc-slider {
    flex: 1;
    accent-color: var(--okc-primary);
    cursor: pointer;
}

.okc-dim-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.okc-dim-inputs input {
    width: 100px;
}

.dim-separator {
    color: var(--okc-text-muted);
    font-size: 1.1rem;
}

.okc-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--okc-text-muted);
    cursor: pointer;
}

/* Dropzone */
.okc-dropzone {
    border: 2px dashed #93c5fd;
    background: #f8fafc;
    border-radius: var(--okc-radius);
    padding: 3.5rem 2rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.okc-dropzone:hover, .okc-dropzone.dragover {
    border-color: var(--okc-primary);
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.2);
}

.okc-file-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropzone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: #eff6ff;
    color: var(--okc-primary);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
}

.dropzone-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--okc-text-main);
}

.dropzone-content p {
    font-size: 1rem;
    color: var(--okc-text-muted);
    margin: 0 0 1.25rem 0;
}

.btn-browse {
    background: none;
    border: none;
    color: var(--okc-primary);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}

.dropzone-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

/* Cropper Viewport */
.okc-cropper-wrapper {
    margin-top: 1.5rem;
    background: #0f172a;
    border-radius: var(--okc-radius);
    padding: 1.5rem;
    text-align: center;
}

.cropper-viewport {
    max-width: 100%;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cropper-viewport canvas {
    max-width: 100%;
    max-height: 480px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.cropper-actions {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Queue */
.okc-queue {
    margin-top: 2rem;
    background: var(--okc-surface);
    border: 1px solid var(--okc-border);
    border-radius: var(--okc-radius);
    padding: 1.5rem;
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--okc-border);
    margin-bottom: 1.25rem;
}

.queue-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.savings-tag {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.82rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-weight: 700;
}

.queue-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Buttons */
.okc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.55rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--okc-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.okc-btn-primary {
    background: var(--okc-primary);
    color: #ffffff !important;
}

.okc-btn-primary:hover {
    background: var(--okc-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--okc-shadow-sm);
}

.okc-btn-success {
    background: var(--okc-success);
    color: #ffffff !important;
}

.okc-btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
}

.okc-btn-secondary {
    background: #ffffff;
    border-color: #cbd5e1;
    color: var(--okc-text-muted) !important;
}

.okc-btn-secondary:hover {
    background: #f1f5f9;
    color: var(--okc-text-main) !important;
}

/* File Cards */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--okc-border);
    border-radius: var(--okc-radius-sm);
    padding: 0.85rem 1.15rem;
    transition: border-color 0.2s;
}

.file-item:hover {
    border-color: #93c5fd;
}

.file-thumb-wrap {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--okc-text-main);
}

.file-meta {
    font-size: 0.82rem;
    color: var(--okc-text-muted);
    margin-top: 2px;
}

.file-status-badge {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-pending { background: #f1f5f9; color: #475569; }
.status-converting { background: #eff6ff; color: #2563eb; }
.status-done { background: #dcfce7; color: #166534; }
.status-error { background: #fee2e2; color: #991b1b; }

.file-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-icon-del {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-del:hover {
    color: var(--okc-danger);
    background: var(--okc-danger-light);
}

/* Trust Strip */
.okc-trust-strip {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--okc-border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: var(--okc-text-muted);
    font-weight: 500;
}

.trust-item svg {
    color: var(--okc-success);
}

/* Tools Directory Grid (Home / Directory) */
.okc-directory {
    margin: 2.5rem 0;
    font-family: 'Inter', sans-serif;
}

.directory-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    background: #f1f5f9;
    border: 1px solid var(--okc-border);
    color: var(--okc-text-main);
    padding: 0.5rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--okc-primary);
    color: #ffffff;
    border-color: var(--okc-primary);
    box-shadow: var(--okc-shadow-sm);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--okc-border);
    border-radius: var(--okc-radius);
    padding: 1.6rem;
    text-decoration: none !important;
    color: inherit;
    box-shadow: var(--okc-shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--okc-shadow-lg);
    border-color: #93c5fd;
}

.tool-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.icon-purple { background: #f3e8ff; color: #9333ea; }
.icon-blue { background: #eff6ff; color: #2563eb; }
.icon-emerald { background: #ecfdf5; color: #059669; }
.icon-amber { background: #fffbeb; color: #d97706; }
.icon-indigo { background: #e0e7ff; color: #4f46e5; }
.icon-rose { background: #ffe4e6; color: #e11d48; }
.icon-cyan { background: #ecfeff; color: #0891b2; }
.icon-orange { background: #fff7ed; color: #ea580c; }
.icon-teal { background: #f0fdfa; color: #0d9488; }
.icon-red { background: #fef2f2; color: #dc2626; }
.icon-violet { background: #ede9fe; color: #7c3aed; }
.icon-pink { background: #fdf2f8; color: #db2777; }

.tool-card-badges {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.badge-star {
    font-size: 0.72rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.badge-cat {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--okc-text-muted);
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.tool-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--okc-text-main);
}

.tool-card p {
    font-size: 0.88rem;
    color: var(--okc-text-muted);
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.tool-card-cta {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--okc-primary);
    transition: transform 0.2s;
}

.tool-card:hover .tool-card-cta {
    transform: translateX(4px);
    display: inline-block;
}

/* ==========================================================================
   Article, Typography & Editorial Content Styling
   ========================================================================== */

.okc-article-wrap {
    max-width: 900px;
    margin: 2.5rem auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.8;
}

/* Headings */
.okc-article-wrap h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.22;
    margin: 0 0 1rem 0;
    color: #0f172a;
}

.okc-article-wrap h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.3;
    margin: 3.25rem 0 1.25rem 0;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.okc-article-wrap h2::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 1.25em;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    flex-shrink: 0;
}

.okc-article-wrap h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 2.25rem 0 0.85rem 0;
    color: #0f172a;
}

.okc-article-wrap h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem 0;
    color: #0f172a;
}

/* Paragraphs & Lead Text */
.okc-article-wrap p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin: 0 0 1.35rem 0;
}

.okc-lead {
    font-size: 1.22rem !important;
    line-height: 1.75 !important;
    color: #1e293b !important;
    font-weight: 500;
    margin-bottom: 1.75rem !important;
}

.okc-article-wrap ul, .okc-article-wrap ol {
    margin: 0 0 1.75rem 0;
    padding-left: 1.5rem;
    color: #334155;
}

.okc-article-wrap li {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 0.6rem;
}

.okc-article-wrap li strong {
    color: #0f172a;
}

/* Badges & Chips */
.okc-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.badge-green {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.badge-amber {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

/* Callouts & Pro Tips */
.okc-callout {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border: 1px solid #dbeafe;
    border-left: 5px solid #3b82f6;
    border-radius: 0 14px 14px 0;
    padding: 1.5rem 1.85rem;
    margin: 2.25rem 0;
    box-shadow: 0 4px 15px -3px rgba(59, 130, 246, 0.08);
    position: relative;
}

.okc-callout p:last-child, .okc-pro-tip p:last-child {
    margin-bottom: 0;
}

.okc-pro-tip {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    border: 1px solid #fef3c7;
    border-left: 5px solid #f59e0b;
    border-radius: 0 14px 14px 0;
    padding: 1.5rem 1.85rem;
    margin: 2.25rem 0;
    box-shadow: 0 4px 15px -3px rgba(245, 158, 11, 0.08);
}

.callout-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.callout-icon {
    font-size: 1.25rem;
}

/* Modern Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2.25rem 0;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
    background: #ffffff;
}

.okc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
    margin: 0;
}

.okc-table th {
    background: #f8fafc;
    color: #475569;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.okc-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.okc-table tbody tr:last-child td {
    border-bottom: none;
}

.okc-table tbody tr:hover {
    background: #f0f7ff;
}

.okc-table td strong {
    color: #0f172a;
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.pill-tag-yes { background: #dcfce7; color: #15803d; }
.pill-tag-no { background: #f1f5f9; color: #64748b; }
.pill-tag-accent { background: #eff6ff; color: #1d4ed8; }

/* Step Cards Grid */
.okc-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.25rem 0;
}

.okc-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.85rem;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.okc-step-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 12px 25px -6px rgba(59, 130, 246, 0.15);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}

.okc-step-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.18rem;
    font-weight: 700;
    color: #0f172a;
}

.okc-step-card p {
    margin: 0;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================================================================
   Interactive FAQ Accordion Components
   ========================================================================== */

.okc-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 2.25rem 0 3.5rem 0;
}

.okc-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.okc-faq-item:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.08);
}

.okc-faq-item.is-open {
    border-color: #3b82f6;
    box-shadow: 0 6px 20px -4px rgba(59, 130, 246, 0.15);
}

.okc-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.35rem 1.6rem;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    transition: color 0.2s ease;
}

.okc-faq-question:hover, .okc-faq-item.is-open .okc-faq-question {
    color: #2563eb;
}

.faq-icon-pill {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon-pill::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.3s ease;
}

.faq-icon-pill svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.faq-icon-pill:has(svg)::after {
    display: none;
}

.okc-faq-item.is-open .faq-icon-pill {
    background: #eff6ff;
    color: #2563eb;
}

.okc-faq-item.is-open .faq-icon-pill::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.okc-faq-item.is-open .faq-icon-pill svg {
    transform: rotate(180deg);
}

.okc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: #fafbfc;
    border-top: 1px solid transparent;
}

.okc-faq-item.is-open .okc-faq-answer {
    max-height: 1000px;
    border-top-color: #f1f5f9;
}

.faq-answer-inner {
    padding: 1.35rem 1.6rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #475569;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* Fallback Card Styling for standard h4 FAQs */
.okc-faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 1.35rem 1.6rem;
    margin: 1.15rem 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.okc-faq-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #0f172a;
}

.okc-faq-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

/* ==========================================================================
   Comprehensive Site-Wide Mobile Responsiveness
   ========================================================================== */

/* Responsive Tables - Horizontal scrolling & touch integrity */
.table-responsive,
.okc-table-wrap,
.wp-block-table,
table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
}

/* Tablet Screens (<= 768px) */
@media (max-width: 768px) {
    /* Main Layout & Containers */
    .okc-tool-container {
        margin: 1rem auto 2.5rem auto !important;
        padding: 0 0.5rem;
    }
    
    .okc-tool-card {
        padding: 1.5rem 1.15rem;
        border-radius: 16px;
    }

    .okc-tool-header h2 {
        font-size: clamp(1.4rem, 5vw, 1.85rem);
    }

    .okc-tool-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Options Bar */
    .okc-options-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }

    .okc-option-group {
        width: 100%;
        justify-content: space-between;
    }

    .okc-slider-group {
        min-width: 0;
        width: 100%;
    }

    /* Dropzone */
    .okc-dropzone {
        padding: 2.25rem 1rem;
    }

    .dropzone-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 0.85rem;
    }

    .dropzone-icon svg {
        width: 28px;
        height: 28px;
    }

    /* Queue Header & Actions */
    .queue-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .queue-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .queue-actions .okc-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    /* File List & Items */
    .file-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.85rem;
    }

    .file-info {
        width: 100%;
    }

    .file-actions {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px dashed #e2e8f0;
    }

    .file-actions .okc-btn {
        flex: 1;
        justify-content: center;
    }

    /* Trust Strip */
    .okc-trust-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 0.25rem 0 0.25rem;
    }

    /* Articles & Editorial Content */
    .okc-article-wrap {
        margin: 1.5rem auto 3rem auto !important;
        padding: 0 0.5rem;
    }

    .okc-article-wrap h1 {
        font-size: clamp(1.65rem, 6vw, 2.35rem);
        line-height: 1.25;
    }

    .okc-article-wrap h2 {
        font-size: clamp(1.3rem, 5vw, 1.65rem);
        margin: 2.25rem 0 1rem 0;
        gap: 8px;
    }

    .okc-article-wrap h3 {
        font-size: 1.18rem;
        margin: 1.75rem 0 0.75rem 0;
    }

    .okc-article-wrap p, .okc-article-wrap li {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .okc-lead {
        font-size: 1.08rem !important;
        line-height: 1.65 !important;
    }

    .okc-callout, .okc-pro-tip {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    .okc-steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .okc-step-card {
        padding: 1.35rem 1.15rem;
    }

    .okc-table th, .okc-table td {
        padding: 0.75rem 0.85rem;
        font-size: 0.86rem;
    }
}

/* Smartphone Screens (<= 640px) */
@media (max-width: 640px) {
    /* Global Entry Content Padding */
    .entry-content {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Homepage Hero */
    .okc-tool-container h1,
    h1[style*="font-size: 3rem"],
    h1[style*="font-size:3rem"] {
        font-size: clamp(1.85rem, 6.5vw, 2.4rem) !important;
        line-height: 1.25 !important;
    }

    /* Directory Filter Bar as Horizontal Scrollable Tabs */
    .directory-filter-bar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem 0.25rem 0.75rem 0.25rem;
        gap: 0.5rem;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .directory-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
        padding: 0.45rem 0.95rem;
        font-size: 0.84rem;
        white-space: nowrap;
    }

    /* Tools Directory Grid */
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-card {
        padding: 1.25rem 1rem;
    }

    .tool-card h3 {
        font-size: 1.12rem;
    }

    /* Tool UI Card */
    .okc-tool-card {
        padding: 1.25rem 0.95rem;
        border-radius: 14px;
    }

    .okc-tool-header h2 {
        font-size: 1.45rem;
    }

    .okc-dim-inputs {
        width: 100%;
        justify-content: space-between;
    }

    .okc-dim-inputs input {
        width: 75px;
    }

    /* FAQ Question & Accordion on Mobile */
    .okc-faq-question {
        padding: 1rem 1.15rem;
        font-size: 0.98rem;
        gap: 0.75rem;
    }

    .faq-answer-inner {
        padding: 1rem 1.15rem;
        font-size: 0.94rem;
        line-height: 1.65;
    }

    /* Cropper Viewport */
    .cropper-viewport canvas {
        max-height: 320px;
    }

    .cropper-actions {
        flex-direction: column;
        width: 100%;
    }

    .cropper-actions .okc-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   OKC Site Header & Mega Footer Styles
   ========================================================================== */

/* Header Reset & Base */
.okc-site-header {
    width: 100%;
    position: relative;
    background: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
}

/* Top Trust Bar */
.okc-topbar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.45rem 0;
    font-size: 0.82rem;
    color: #64748b;
}

.okc-topbar .okc-header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.okc-topbar-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #15803d;
    font-weight: 700;
    font-size: 0.76rem;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid #bbf7d0;
}

.okc-topbar-link a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.okc-topbar-link a:hover {
    text-decoration: underline;
}

/* Main Navigation Bar */
.okc-main-nav-wrap {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.okc-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.okc-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1.5rem;
}

/* Brand */
.okc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: inherit;
    flex-shrink: 0;
}

.okc-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}

.okc-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation Links */
.okc-nav {
    display: flex;
    align-items: center;
}

.okc-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.okc-nav-item {
    position: relative;
}

.okc-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.55rem 0.95rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.okc-nav-link:hover, .okc-nav-item:hover > .okc-nav-link {
    color: #2563eb !important;
    background: #f8fafc;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
}

/* Dropdown Menus (Base / Desktop) */
.okc-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
}

@media (min-width: 993px) {
    .okc-nav-item:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
    .okc-dropdown:hover .okc-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

.okc-dropdown-mega {
    min-width: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem;
}

.dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-heading {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    padding: 0.35rem 0.6rem;
    margin-bottom: 0.25rem;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e293b !important;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.dropdown-link:hover {
    background: #f1f5f9;
    color: #2563eb !important;
    transform: translateX(2px);
}

.dot-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: background 0.2s;
    flex-shrink: 0;
}

.dropdown-link:hover .dot-icon {
    background: #2563eb;
}

/* Nav Actions */
.okc-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.okc-btn-header {
    background: #eff6ff;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.okc-btn-header:hover {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transform: translateY(-1px);
}

.okc-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s ease;
}

.okc-mobile-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.okc-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2.2px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

/* Animated Hamburger to X */
.okc-mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(7.2px) rotate(45deg);
}

.okc-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.2);
}

.okc-mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-7.2px) rotate(-45deg);
}

.okc-mobile-nav-footer {
    display: none;
}

/* Mega Footer */
.okc-site-footer {
    width: 100%;
    background: #0f172a;
    color: #cbd5e1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin-top: 4rem;
}

.okc-footer-main {
    padding: 4.5rem 0 3.5rem 0;
}

.okc-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.okc-footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.2fr 1.2fr 1.2fr 1fr;
    gap: 3rem;
}

.okc-brand-footer .brand-title {
    color: #ffffff;
}

.okc-brand-footer .brand-tagline {
    color: #94a3b8;
}

.footer-desc {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.65;
    margin: 1.2rem 0 1.5rem 0;
    max-width: 340px;
}

.footer-privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
}

.footer-col h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 1.25rem 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #38bdf8 !important;
    transform: translateX(3px);
    display: inline-block;
}

/* Footer Bottom Bar */
.okc-footer-bottom {
    background: #020617;
    border-top: 1px solid #1e293b;
    padding: 1.6rem 0;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-flex p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-links a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #ffffff !important;
}

/* ==========================================================================
   Responsive Breakpoints: Laptop, Tablet & Mobile
   ========================================================================== */

/* Laptop / Compact Desktop (993px - 1180px) */
@media (min-width: 993px) and (max-width: 1180px) {
    .okc-header-inner {
        padding: 0 1rem;
    }
    .okc-nav-link {
        padding: 0.5rem 0.65rem;
        font-size: 0.88rem;
    }
    .okc-btn-header {
        padding: 0.45rem 0.85rem;
        font-size: 0.82rem;
    }
    .okc-footer-grid {
        grid-template-columns: 1.8fr repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet & Mobile Navigation (<= 992px) */
@media (max-width: 992px) {
    .okc-nav-container {
        height: 68px;
    }
    .okc-btn-header {
        display: none;
    }
    .okc-mobile-toggle {
        display: flex;
    }

    /* Mobile Drawer */
    .okc-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #ffffff;
        border-bottom: 2px solid #e2e8f0;
        padding: 1rem 1.25rem 2rem 1.25rem;
        box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
        z-index: 1000;
    }

    .okc-nav.is-open {
        display: block;
        animation: okcMenuFadeDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes okcMenuFadeDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .okc-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }

    .okc-nav-item {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 0.35rem;
    }

    .okc-nav-link {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.85rem 0.75rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    .okc-nav-link:hover,
    .okc-dropdown.is-expanded > .okc-nav-link {
        background: #f1f5f9;
        color: #2563eb !important;
    }

    .okc-dropdown .dropdown-arrow {
        transform: none;
        transition: transform 0.25s ease;
    }

    .okc-dropdown.is-expanded .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Accordion Dropdown Submenus on Mobile */
    .okc-dropdown-menu,
    .okc-dropdown-mega {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        min-width: unset;
        width: 100%;
        margin: 0.25rem 0 0.75rem 0;
        padding: 0.75rem;
        border-radius: 10px;
    }

    .okc-dropdown.is-expanded .okc-dropdown-menu,
    .okc-dropdown.is-expanded .okc-dropdown-mega {
        display: block;
    }

    .okc-dropdown-mega {
        display: none;
        grid-template-columns: 1fr;
    }

    .okc-dropdown.is-expanded .okc-dropdown-mega {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.75rem;
    }

    .dropdown-link {
        padding: 0.65rem 0.75rem;
        font-size: 0.92rem;
        border-radius: 6px;
    }

    /* Mobile CTA inside drawer */
    .okc-mobile-nav-footer {
        display: block;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
        border-top: 1px dashed #cbd5e1;
    }

    .okc-btn-mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #2563eb;
        color: #ffffff !important;
        font-weight: 700;
        font-size: 0.95rem;
        padding: 0.85rem 1.5rem;
        border-radius: 10px;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
        text-align: center;
        width: 100%;
    }

    /* Tablet Footer */
    .okc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
    }
    .footer-desc {
        max-width: 600px;
    }
}

/* Smartphone Responsiveness (<= 640px) */
@media (max-width: 640px) {
    /* Compact Topbar */
    .okc-topbar {
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
    }
    .okc-topbar .okc-header-inner {
        gap: 0.4rem;
    }
    .okc-topbar-text {
        display: none;
    }

    .okc-brand-icon {
        width: 36px;
        height: 36px;
    }
    .brand-title {
        font-size: 1.05rem;
    }
    .brand-tagline {
        font-size: 0.66rem;
    }

    /* Mega dropdown inside mobile */
    .okc-dropdown.is-expanded .okc-dropdown-mega {
        grid-template-columns: 1fr;
    }

    /* Mobile Footer Layout */
    .okc-footer-inner {
        padding: 0 1.25rem;
    }
    .okc-footer-main {
        padding: 3rem 0 2rem 0;
    }
    .okc-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.15rem;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
    }
    .footer-desc {
        max-width: 100%;
        font-size: 0.88rem;
        line-height: 1.6;
        margin: 0.85rem 0 1.15rem 0;
    }
    .footer-privacy-badge {
        font-size: 0.76rem;
        padding: 0.35rem 0.75rem;
        max-width: 100%;
    }
    .footer-col h4 {
        font-size: 0.92rem;
        font-weight: 700;
        margin: 0 0 0.85rem 0;
        color: #ffffff;
        padding-bottom: 0.4rem;
        border-bottom: 1px solid #1e293b;
    }
    .footer-links {
        gap: 0.4rem;
    }
    .footer-links a {
        font-size: 0.84rem;
        line-height: 1.4;
        padding: 0.35rem 0;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        word-break: normal;
    }
    .footer-links a:hover {
        transform: none;
    }

    /* Bottom Bar on Mobile */
    .okc-footer-bottom {
        padding: 1.25rem 0;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    .footer-bottom-flex p {
        font-size: 0.8rem;
        line-height: 1.5;
        color: #64748b;
    }
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
    }
    .footer-bottom-links a {
        padding: 0.35rem 0.5rem;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        font-size: 0.82rem;
    }
}

/* Extra Small Devices (<= 360px: iPhone 5/SE, Galaxy Fold) */
@media (max-width: 360px) {
    .okc-footer-inner {
        padding: 0 0.85rem;
    }
    .okc-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .footer-col h4 {
        font-size: 0.95rem;
    }
}

