/*
Theme Name: OUI Marketing
Description: A modern, mobile-friendly WordPress theme for OUI Event Management Platform marketing website with advanced customization options.
Version: 1.1
Author: OUI Team
Text Domain: oui-marketing
*/

/* Reset and Base Styles */
:root {
    --primary-oui-color: #4F0377;
    --secondary-oui-color: #FF6F61;
    --grey-oui-color: #444444;
    --text-oui-color: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-oui-color);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-oui-color);
}

h1 {
    font-size: 3.5rem;
    color: #ffffff;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Container */
section.hero-section .container {
    max-width: 1200px;
    padding: 0 30px;
}
.container {
    margin: 0 auto;
}

/* Remove default margins from all sections */
section {
    margin: 0;
    padding: 0;
}

/* Main content area */
.site-main {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Header Styles */
.site-header {
    background-color: var(--primary-oui-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Account for WordPress admin bar */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
}

.logo {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.logo .custom-logo-link,
.logo .logo-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.logo .custom-logo {
    display: block;
    height: auto;
    max-height: 60px;
    padding: 7px 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-oui-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

/* Logo animation on scroll */
.logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-hidden-on-hero {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
}

.scrolled-past-hero .logo-hidden-on-hero {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    flex: 1 1 auto; /* take remaining space between logo and buttons */
    justify-content: flex-end; /* push menu items toward the buttons */
    position: static; /* ensure it participates in flex flow */
    margin-right: 1rem; /* small gap before buttons */
}

/* Navigation on front page and OUI Landing page (no logo) */
.home-page .main-navigation,
.page-oui-landing .main-navigation {
    position: static;
    transform: none;
    margin-left: auto;
    margin-right: 3rem; /* Move closer to buttons */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary-oui-color);
}

/* Current/Active Menu Item */
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu .current_page_ancestor > a {
    color: var(--secondary-oui-color);
    font-weight: 500;
}

/* Submenu Styles */
.nav-menu .menu-item {
    position: relative;
}

/* Add dropdown arrow indicator for items with submenus */
.nav-menu .menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'FontAwesome';
    font-size: 12px;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.nav-menu .menu-item-has-children:hover > a::after {
    content: '\f106';
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-oui-color);
    min-width: 220px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
}

/* All screen sizes: Use click to toggle submenu */
.nav-menu .menu-item-has-children > a {
    cursor: pointer;
}

.nav-menu .menu-item-has-children.open > .sub-menu {
    display: block;
}

.nav-menu .menu-item-has-children.open > a::after {
    content: '\f106';
}

/* Desktop: Allow both hover AND click to open submenu */
@media (min-width: 1025px) {
    .nav-menu .menu-item-has-children:hover > .sub-menu {
        display: block;
    }
    
    .nav-menu .menu-item-has-children:hover > a::after {
        content: '\f106';
    }
}

.nav-menu .sub-menu li {
    padding: 0;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu .sub-menu a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--secondary-oui-color);
}

.nav-menu .sub-menu .current-menu-item > a,
.nav-menu .sub-menu .current_page_item > a {
    color: var(--secondary-oui-color);
}

.header-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 1rem; /* gap between nav and buttons */
}

.btn {
    padding: 8px 38px;
    border: none;
    border-radius: 50px; /* Make all buttons pill-shaped by default */
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--primary-oui-color);
}

.btn-primary {
    background-color: var(--secondary-oui-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e55a4d;
    transform: translateY(-2px);
}

.header-buttons .btn-outline, .header-buttons .btn-primary {
    padding: 5px 50px;
    font-size: 1rem;
}

/* All buttons are now pill-shaped by default */

/* Hero Section */
.hero-section {
    background-color: var(--primary-oui-color);
    padding: 150px 0 88px;
    color: white;
    margin-top: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    white-space: pre-line; /* Preserves line breaks from HTML */
    letter-spacing: 0.11rem;
    color: #ffffff;
}

.hero-text h1 * {
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    display: inline; /* Keep inline elements inline */
}

.hero-text h1 br {
    display: block; /* Make line breaks work */
    margin: 0.5em 0; /* Add spacing between lines */
    line-height: 1;
}

.hero-text h1 p {
    display: block; /* Make paragraphs display as blocks */
    margin: 0.5em 0;
    font-size: inherit;
    line-height: inherit;
}

.hero-text h1 strong,
.hero-text h1 b {
    font-weight: 700;
}

.hero-text h1 em,
.hero-text h1 i {
    font-style: italic;
}

.hero-text h1 u {
    text-decoration: underline;
}

.hero-text h1 img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
    margin: 0.2em 0.1em;
}

.hero-text h1 a {
    color: inherit;
    text-decoration: none;
}

.hero-text h1 a:hover {
    text-decoration: underline;
}

/* Support for inline font size and color changes from WYSIWYG */
.hero-text h1 span[style*="font-size"] {
    font-size: inherit !important;
    /* Allow font-size but scale it appropriately */
}

.hero-text h1 span[style*="color"] {
    /* Allow color changes from WYSIWYG */
}

.hero-text h1 span[style*="font-weight"] {
    /* Allow font-weight changes from WYSIWYG */
}

/* Support for different heading levels within h1 */
.hero-text h1 h1,
.hero-text h1 h2,
.hero-text h1 h3,
.hero-text h1 h4,
.hero-text h1 h5,
.hero-text h1 h6 {
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    font-weight: inherit;
}
h4 {
    font-size: 1.5rem;
}

.hero-logo {
    margin-bottom: 2rem;
    text-align: left;
}

.hero-logo-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.hero-logo-img {
    display: block;
    height: auto;
    width: 128px;
}

.hero-logo-icon {
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.hero-tagline {
    color: var(--secondary-oui-color);
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 0.7rem;
    margin-bottom: 2.1rem;
    text-align: left;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-card {
    background-color: transparent;
    text-align: center;
}

.play-button {
    width: 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background-color: var(--secondary-oui-color);
    color: white;
}

.hero-video-wrapper {
    padding: 30px 5px;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero-video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

/* Lazy loading video styles */
iframe.lazy-video-iframe {
    background: #f0f0f0 url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Ccircle cx="50" cy="50" r="40" fill="none" stroke="%23ccc" stroke-width="3"%3E%3Canimate attributeName="r" from="30" to="40" dur="1s" repeatCount="indefinite"/%3E%3C/circle%3E%3C/svg%3E') center center no-repeat;
    background-size: 50px 50px;
    min-height: 315px;
}

video.lazy-video {
    cursor: pointer;
    position: relative;
}

video.lazy-video::after {
    content: '▶ Click to load video';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    pointer-events: none;
}

.landingList li.elementor-icon-list-item {
    margin-bottom: 0.9rem;
}
.landingList .elementor-icon-list-icon {
    --e-icon-list-icon-size: 38px;
}
.landingList .elementor-icon-list-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #000000;
}

/* Feature Sections */
.feature-section {
    padding: 80px 0;
}

.feature-section:nth-child(even) {
    background-color: #f8f9fa;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-text h2 {
    margin-bottom: 1.5rem;
}

.feature-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666666;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-oui-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item-icon {
    width: 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #444444;
    font-size: 1.5rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-oui-color);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-oui-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666666;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-email {
    color: var(--secondary-oui-color);
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: #000000;
    color: white;
    padding: 1rem 20px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-copyright {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.footer-right-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-social {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    border-right: 1px #ffffff solid;
    padding-right: 1.8rem;
}

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

.footer-copyright-mobile {
    display: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-oui-color);
}

.footer-social a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.social-logo {
    height: 24px;
    width: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        position: relative;
        padding: 5px 10px;
    }

    .site-header .container {
        padding: 0;
    }

    h1 {
        font-size: 2.8rem;
    }
    
    .main-navigation {
        position: relative;
        transform: none;
        order: 2;
        right: auto;
        margin-right: 0;
        margin-left: auto;
    }
    
    .home-page .main-navigation,
    .page-oui-landing .main-navigation {
        position: relative;
        transform: none;
        margin-left: auto;
        margin-right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-buttons {
        order: 3;
        margin-left: 0;
        justify-content: center;
    }
    
    /* Hide desktop header buttons on mobile */
    .header-content > .header-buttons {
        display: none;
    }
    
    .logo {
        order: 1;
        position: relative;
        z-index: 100;
    }
    .logo .custom-logo {
        max-height: 38px;
    }
    
    .hero-content,
    .feature-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        text-align: center;
        font-size: 2.5rem;
        white-space: pre-line; /* Preserve line breaks on mobile */
    }
    
    .hero-text h1 br {
        margin: 0.3em 0; /* Smaller spacing on mobile */
    }
    
    .hero-text h1 p {
        margin: 0.3em 0; /* Smaller paragraph spacing on mobile */
    }
    
    .hero-logo {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-logo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        text-align: center;
        margin-top: 0.3rem;
    }
    .hero-cta {
        text-align: center;
    }
    
    h2, .termsHeader h1 {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    
    .footer-left {
        display: none;
    }
    
    .footer-right-wrapper {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
        align-items: center;
        width: 100%;
    }
    
    .footer-social {
        margin-right: 0;
        justify-content: center;
        padding: 0;
        border: none;
    }
    
    .footer-right-wrapper .footer-links {
        order: 2;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 90%;
    }
    
    .footer-copyright-mobile {
        display: inline-flex;
        align-items: center;
        font-family: 'Roboto', sans-serif;
        font-weight: 400;
        color: white;
    }
    
    .footer-copyright-mobile::after {
        content: '|';
        margin: 0 0.2rem 0 0.5rem;
        color: white;
    }
    
    .container {
        padding: 0;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }

    .entry-header {
        height: 55px;
    }
    
    .feature-section,
    .cta-section,
    .contact-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
        white-space: pre-line; /* Preserve line breaks on small mobile */
    }
    
    .hero-text h1 br {
        margin: 0.2em 0; /* Even smaller spacing on small mobile */
    }
    
    .hero-text h1 p {
        margin: 0.2em 0; /* Even smaller paragraph spacing on small mobile */
    }
    
    .hero-logo {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero-logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        text-align: center;
        margin-top: 0.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    .elementor-widget-text-editor h4.p1 {
        font-size: 18px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .feature-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-salmon {
    color: var(--secondary-oui-color);
}

.bg-purple {
    background-color:var(--primary-oui-color);
}

.bg-salmon {
    background-color: var(--secondary-oui-color);
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-3 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }

.tableOfContents ol li a {
    color: var(--text-oui-color);
}
.tableOfContents ol li a:hover {
    color: var(--secondary-oui-color);
}

/* Page and Post Styles */
.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.entry-meta {
    color: #666666;
    font-size: 0.9rem;
}

.entry-meta span {
    margin-right: 1rem;
}

.entry-content, .contactSection {
    line-height: 1.35;
    margin-bottom: 1rem;
}

.entry-content p, .contactSection p {
    margin-bottom: 1.5rem;
}

.termsPage h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.termsPage h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.termsPage ul,
.termsPage ol {
    margin-bottom: 1.5rem;
    padding-left: 1.1rem;
}

.termsPage ol li.p1, .termsPage ul li.p1 {
    font-size: 1.1rem;
    line-height: 1.3;
}

.termsPage li {
    margin-bottom: 1rem;
}

.elementor-widget-text-editor .p1 a.s1 {
    color: var(--primary-oui-color);
}
.elementor-widget-text-editor .p1 a.s1:hover {
    color: var(--secondary-oui-color);
}

.entry-footer {
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    color: #666666;
    font-size: 0.9rem;
}

.entry-footer span {
    margin-right: 1rem;
}

.post-thumbnail {
    margin-bottom: 2rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-links {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.edit-link a {
    color: var(--secondary-oui-color);
    text-decoration: none;
}

.edit-link a:hover {
    text-decoration: underline;
}

/* Performance Optimized Styles */
.site-header.scrolled {
    background-color: rgba(79, 3, 119, 0.95);
    backdrop-filter: blur(10px);
}

.feature-section {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.feature-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.form-group input.error,
.form-group select.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: #ffffff;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle.active {
    color: var(--secondary-oui-color);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        font-size: 1.8rem;
        z-index: 1002;
    }
    
    .mobile-menu-toggle.active {
        position: fixed;
        top: 15px;
        right: 15px;
        color: var(--secondary-oui-color);
        font-size: 2.5rem;
        background: none;
        border: none;
        padding: 0.5rem;
    }
    
    /* Replace hamburger with X when active */
    .mobile-menu-toggle {
        font-size: 0; /* Hide any text content */
    }
    
    .mobile-menu-toggle::before {
        content: '☰';
        font-size: 1.8rem;
        display: block;
    }
    
    .mobile-menu-toggle.active::before {
        content: '✕';
        font-size: 2.5rem;
    }
    
    /* Full screen overlay menu */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: var(--primary-oui-color);
        flex-direction: column;
        gap: 0;
        z-index: 1000;
        padding: 80px 30px 30px;
        overflow-y: auto;
        align-items: center;
        justify-content: flex-start;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    /* Logo in mobile menu */
    .mobile-menu-logo {
        display: block;
        width: 100px;
        height: 100px;
        margin-bottom: 50px;
        flex-shrink: 0;
    }
    
    .mobile-menu-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .nav-menu > li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding: 0;
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }

    .nav-menu > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
        font-size: 28px;
        font-weight: 400;
        color: #ffffff;
    }

    /* Current/Active Menu Item */
    .nav-menu .current-menu-item > a,
    .nav-menu .current_page_item > a,
    .nav-menu .current-menu-ancestor > a,
    .nav-menu .current_page_ancestor > a {
        font-weight: 400;
    }

    /* Menu item buttons at bottom */
    .nav-menu .menu-item-buttons a {
        font-size: 28px;
        font-weight: 400;
        text-align: left;
        padding: 5px 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    
    .nav-menu .menu-item-buttons a:last-child {
        color: #ffffff;
        font-weight: 400;
    }
    
    /* Mobile submenu styles */
    .nav-menu .sub-menu {
        position: static;
        display: none !important;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 0 0 0 20px;
        border-bottom: none;
    }
    
    /* Disable desktop hover on mobile */
    .nav-menu .menu-item-has-children:hover > .sub-menu {
        display: none !important;
    }
    
    /* Only show when .open class is present */
    .nav-menu .menu-item-has-children.open > .sub-menu {
        display: block !important;
    }
    /* Mobile dropdown arrow - position on the right */
    .nav-menu .menu-item-has-children > a::after {
        content: '\f107';
        font-family: 'FontAwesome';
        font-size: 18px;
        margin-left: auto;
        color: #ffffff;
        transition: all 0.3s ease;
    }
    
    .nav-menu .menu-item-has-children.open > a::after {
        content: '\f106';
    }
    
    .nav-menu .sub-menu li {
        border-bottom: none;
        padding-left: 0;
    }
    
    .nav-menu .sub-menu a {
        padding: 0 0 5px 0;
        font-size: 28px;
        font-weight: 400;
        color: rgba(255,255,255,0.85);
        justify-content: flex-start;
    }
    
    .nav-menu .sub-menu a::after {
        display: none;
    }

    .menu-item-buttons {
        list-style: none;
        padding: 0;
        margin: 0;
        border-bottom: none;
        width: 100%;
    }

    .mobile-header-buttons {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        width: 100%;
        list-style: none;
        margin: 0;
        border-bottom: none;
    }
    
    .mobile-header-buttons a {
        padding: 20px 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    
    .mobile-header-buttons a:last-child {
        border-bottom: none;
    }

    .mobile-header-buttons .btn {
        width: 100%;
        display: block;
        text-align: left;
        background: var(--primary-oui-color);
        border: none;
        border-radius: 0;
        color: #ffffff;
        padding: 22px 0;
        font-size: 18px;
        font-weight: 400;
    }

    .mobile-header-buttons .btn-primary {
        font-weight: 400;
    }
    
    /* Remove touch/hover effects for mobile menu buttons */
    .mobile-header-buttons .btn:hover,
    .mobile-header-buttons .btn:active,
    .mobile-header-buttons .btn:focus,
    .mobile-header-buttons .btn-primary:hover,
    .mobile-header-buttons .btn-primary:active,
    .mobile-header-buttons .btn-primary:focus {
        background: var(--primary-oui-color) !important;
        transform: none !important;
        box-shadow: none !important;
    }

    /* Hide desktop header buttons on mobile */
    .header-content > .header-buttons,
    .site-header .header-buttons:not(.mobile-header-buttons) {
        display: none !important;
    }
    
    .mobile-header-buttons {
        display: flex !important;
    }

    h2.p1 {
        font-size: 2rem;
    }

    /* Style to change the Elementor tabs in Privacy policy */
    .elementor.elementor .elementor-widget-n-tabs.e-n-tabs-mobile .e-n-tab-title {
        width: 100% !important;
    }
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}
.helpCenter td p {
    font-size: 1rem;
}
.helpCenter ul.tableOfContents li {
    margin-left: 20px;
}
.helpCenter ul.tableOfContents li a {
    color: #000000;
}
.helpCenter ul, .helpCenter ol {
    margin-top: 20px;
    margin-bottom: 30px;
}
.helpCenter ol ul li {
    margin-left: 20px;
    list-style-type: disc;
}
.helpCenter li {
    margin-left: 38px;
    margin-bottom: 7px;
}
.helpCenter table.rolesTable, .helpCenter table.formsTable {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border-spacing: 0;
}
.helpCenter .rolesTable th, .helpCenter .formsTable th {
    background-color: var(--primary-oui-color);
    color: #ffffff;
}
.helpCenter .rolesTable td, .helpCenter .rolesTable th {
    text-align: center;   /* center everything by default */
    vertical-align: top;
    padding: 5px 7px;
    border: 1px #000000 solid;
}
.helpCenter .rolesTable td:first-child, .helpCenter .rolesTable th:first-child {
    text-align: left;     /* left-align only the first column */
}
.helpCenter .formsTable td, .helpCenter .formsTable th {
    text-align: left;   /* center everything by default */
    vertical-align: top;
    padding: 5px 7px;
    border: 1px #000000 solid;
}

/* ELEMENTOR: Force tab titles to appear above content on mobile */
@media (max-width: 767px) {
  /* Scope to all Elementor tabs. If you want to target a specific Tabs widget,
     replace `.elementor-tabs` with `#your-widget-id .elementor-tabs` */
  .e-n-tabs {
    display: block !important;
  }

  /* Make sure titles are not absolutely positioned at the bottom */
  .e-n-tabs .elementor-tab-title {
    position: relative !important;
    bottom: auto !important;
    top: auto !important;
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 !important;
  }

  /* Ensure titles render before contents */
  .e-n-tabs .elementor-tab-title {
    order: -1 !important;           /* used if parent is flex — safe to leave */
  }
  .e-n-tabs .elementor-tab-content {
    order: 0 !important;
  }

  /* If Elementor wraps titles and contents in a flex container, make them column */
  .e-n-tabs .elementor-tabs-wrapper,
  .e-n-tabs .elementor-tabs-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Optional: make the tab titles sticky at the top of the viewport on mobile */
  .e-n-tabs .elementor-tab-title {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
    z-index: 999;
    background: #fff;            /* match your background */
    padding-top: .6rem;
    padding-bottom: .6rem;
  }

  /* Small visual tuning so active title stands out */
  .e-n-tabs .elementor-tab-title.elementor-active {
    font-weight: 600;
  }
}

/* ==========================================================================
   Single blog post template
   ========================================================================== */

/* overflow-x:hidden on html/body breaks position:sticky — restore it on blog posts */
html:has(body.oui-blog-post),
body.oui-blog-post,
body.oui-blog-post .site-main,
body.oui-blog-post .oui-blog-single,
body.oui-blog-post .oui-blog-container,
body.oui-blog-post .oui-blog-article,
body.oui-blog-post .oui-blog-layout,
body.oui-blog-post .oui-blog-sidebar {
    overflow: visible !important;
    overflow-x: visible !important;
}

body.oui-blog-post .oui-blog-single,
.oui-blog-single {
    padding-top: 110px;
    padding-bottom: 4rem;
    background: #ffffff;
    width: 100%;
}

body.oui-blog-post .oui-blog-container,
.oui-blog-container {
    --oui-blog-sidebar-width: 260px;
    --oui-blog-content-width: 720px;
    --oui-blog-layout-gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}

body.oui-blog-post .oui-blog-masthead,
.oui-blog-masthead {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: stretch;
    margin-bottom: 3rem;
    max-width: calc(var(--oui-blog-sidebar-width, 260px) + var(--oui-blog-layout-gap, 3rem) + var(--oui-blog-content-width, 720px));
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.oui-blog-title {
    color: var(--primary-oui-color) !important;
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
    width: 100%;
    max-width: 100%;
}

body.oui-blog-post .oui-blog-masthead-media,
.oui-blog-masthead-media {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(140px, 1fr);
    gap: 2rem 2.5rem;
    align-items: center;
    width: 100%;
}

.oui-blog-masthead-media--no-image {
    grid-template-columns: 1fr;
    justify-items: start;
}

.oui-blog-masthead-media--no-image .oui-blog-masthead-meta {
    max-width: 220px;
}

.oui-blog-featured {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.oui-blog-featured-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.oui-blog-masthead-meta {
    padding-top: 0;
    align-self: start;
}

.oui-blog-meta-block {
    margin-bottom: 1.25rem;
}

.oui-blog-meta-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: #9a9a9a;
    margin-bottom: 0.2rem;
}

.oui-blog-meta-date,
.oui-blog-meta-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #666666;
    line-height: 1.3;
}

/* Two-column body: fixed widths, centered on page; sidebar column stretches so sticky can work */
body.oui-blog-post .oui-blog-layout,
.oui-blog-layout {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: var(--oui-blog-layout-gap, 3rem);
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

body.oui-blog-post .oui-blog-sidebar,
.oui-blog-sidebar {
    flex: 0 0 var(--oui-blog-sidebar-width, 260px);
    width: var(--oui-blog-sidebar-width, 260px);
    max-width: var(--oui-blog-sidebar-width, 260px);
    min-width: 0;
    align-self: stretch !important;
    position: relative;
    padding-top: 10px;
}

body.oui-blog-post .oui-blog-content,
.oui-blog-content {
    flex: 0 0 var(--oui-blog-content-width, 720px);
    width: var(--oui-blog-content-width, 720px);
    max-width: var(--oui-blog-content-width, 720px);
    min-width: 0;
    box-sizing: border-box;
    color: var(--text-oui-color);
    font-size: 1.05rem;
    line-height: 1.65;
}

body.oui-blog-post .oui-blog-sidebar-sticky,
.oui-blog-sidebar-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px;
    z-index: 2;
    width: 100%;
}

body.admin-bar.oui-blog-post .oui-blog-sidebar-sticky,
body.admin-bar .oui-blog-sidebar-sticky {
    top: 132px;
}

.oui-blog-sidebar-heading {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--text-oui-color) !important;
    margin: 0 0 0.75rem !important;
    line-height: 1.3 !important;
}

.oui-blog-sidebar h4.oui-blog-sidebar-heading {
    font-size: 1rem !important;
}

.oui-blog-toc,
.oui-blog-explore,
.oui-blog-follow {
    padding: 1.25rem 0;
    border-bottom: 2px solid #B15AEF;
}

.oui-blog-toc:first-child {
    padding-top: 0;
}

.oui-blog-follow {
    border-bottom: none;
    padding-bottom: 0;
}

.oui-blog-toc-list {
    list-style: decimal;
    list-style-position: outside;
    margin: 0;
    padding-left: 1.35rem;
}

.oui-blog-explore-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.oui-blog-toc-list li {
    margin: 0 0 1.1rem;
    padding-left: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.oui-blog-explore-list li {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.oui-blog-toc-list a {
    color: var(--text-oui-color);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline;
}

.oui-blog-explore-list a {
    color: var(--text-oui-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.oui-blog-toc-list a:hover,
.oui-blog-explore-list a:hover {
    color: var(--secondary-oui-color);
}

.oui-blog-follow-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.oui-blog-follow-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #B15AEF;
    color: #ffffff;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.oui-blog-follow-links a:hover {
    color: #ffffff;
    opacity: 0.85;
    transform: translateY(-1px);
}

.oui-blog-follow-links a i {
    font-size: 1rem;
    line-height: 1;
    color: #ffffff;
}

.oui-blog-content > *:first-child {
    margin-top: 0;
}

.oui-blog-content h2 {
    color: var(--primary-oui-color);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 2.25rem 0 1rem;
    scroll-margin-top: 110px;
}

.oui-blog-content h3 {
    color: #000000 !important;
    font-size: clamp(1.35rem, 1.9vw, 1.65rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 1.75rem 0 0.85rem;
    scroll-margin-top: 110px;
}

.oui-blog-content p {
    margin-bottom: 1.25rem;
}

.oui-blog-content ul,
.oui-blog-content ol,
.oui-blog-content .elementor-widget-text-editor ul,
.oui-blog-content .elementor-widget-text-editor ol {
    margin: 0 0 1.5rem;
    padding-left: 2.25rem !important;
    margin-left: 0.5rem;
}

.oui-blog-content li,
.oui-blog-content .elementor-widget-text-editor li {
    margin-bottom: 0.65rem;
}

.oui-blog-content a {
    color: var(--primary-oui-color);
}

.oui-blog-content a:hover {
    color: var(--secondary-oui-color);
}

.oui-blog-footer {
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Keep Elementor containers inside the content column (no full-bleed breakout) */
body.oui-blog-post .oui-blog-content .elementor,
body.oui-blog-post .oui-blog-content .e-con,
body.oui-blog-post .oui-blog-content .e-con-boxed,
body.oui-blog-post .oui-blog-content .e-con-inner,
body.oui-blog-post .oui-blog-content .elementor-section,
body.oui-blog-post .oui-blog-content .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

body.oui-blog-post .oui-blog-content .elementor-section.elementor-section-full_width,
body.oui-blog-post .oui-blog-content .e-con-full {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    transform: none !important;
}

.oui-blog-content .elementor-widget-heading .elementor-heading-title {
    scroll-margin-top: 110px;
}

@media screen and (max-width: 782px) {
    body.admin-bar.oui-blog-post .oui-blog-sidebar-sticky,
    body.admin-bar .oui-blog-sidebar-sticky {
        top: 146px;
    }
}

@media (max-width: 1024px) {
    body.oui-blog-post .oui-blog-container,
    .oui-blog-container {
        --oui-blog-sidebar-width: 220px;
        --oui-blog-content-width: 640px;
        --oui-blog-layout-gap: 1.75rem;
    }
}

@media (max-width: 900px) {
    body.oui-blog-post .oui-blog-masthead-media,
    .oui-blog-masthead-media {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .oui-blog-masthead-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        padding-top: 0;
    }

    .oui-blog-masthead-media--no-image .oui-blog-masthead-meta {
        max-width: none;
    }

    .oui-blog-meta-block {
        margin-bottom: 0;
    }

    body.oui-blog-post .oui-blog-layout,
    .oui-blog-layout {
        flex-direction: column !important;
        gap: 2rem;
        width: 100%;
    }

    /* Hide left menu (TOC / explore / follow) on mobile */
    body.oui-blog-post .oui-blog-sidebar,
    .oui-blog-sidebar {
        display: none !important;
    }

    body.oui-blog-post .oui-blog-content,
    .oui-blog-content {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .oui-blog-single {
        padding-top: 90px;
    }

    .oui-blog-container {
        padding: 0 20px;
    }

    .oui-blog-title {
        font-size: 1.85rem;
        margin-bottom: 1.25rem;
    }

    .oui-blog-content h2,
    .oui-blog-content h3 {
        scroll-margin-top: 90px;
    }

    .oui-blog-content .elementor-widget-heading .elementor-heading-title {
        scroll-margin-top: 90px;
    }
}

/* Blog styles */
.oui-table-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    overflow-x: auto;
    display: none; /* Hidden by default */
}

.oui-table {
  width: 100%;
  border-collapse: separate;     /* keep cells separate so border-spacing works */
  border-spacing: 12px 4px;      /* horizontal (columns) 12px, vertical (rows) 4px */
  table-layout: fixed;
}

/* Table Headers */
.oui-table thead th {
    padding: 12px 15px;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 17px;
    line-height: 1.2;
    text-align: left;
    vertical-align: middle;
}

.oui-table-header-features {
    width: 35%;
    background-color: #92CC9C;
    text-align: left !important;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    color: #000000 !important;
}

.oui-table-header-grey {
    background-color: #8E8E8E;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

.oui-table-header-purple {
    background-color: var(--primary-oui-color);
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

.oui-table-header-salmon {
    background-color: var(--secondary-oui-color);
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

/* Category Rows */
.oui-category-row {
    background-color: transparent !important;
}

.oui-category-cell {
    padding: 8px 25px;
    font-weight: bold;
    color: #000000;
    text-align: left;
    background-color: #92CC9C !important;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

.oui-table-empty {
    height: 10px;
}

.oui-category-data {
    background-color: transparent;
}

/* Feature Name Column */
.oui-feature-name {
    padding: 7px 25px;
    text-align: left;
    color: #333;
    font-size: 14px;
    background-color: #FFFFFF;
}

/* Data Cells - Default White */
.oui-data-grey,
.oui-data-purple,
.oui-data-salmon {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    color: #333;
    background-color: #FFFFFF;
}

/* Specific Alternating Backgrounds for Trial Column */
.oui-table tbody tr:nth-child(4n+1):not(.oui-category-row) .oui-feature-name {
    background-color: #EEF8EF;
}
.oui-table tbody tr:nth-child(4n+3):not(.oui-category-row) .oui-feature-name {
    background-color: #EEF8EF;
}
.oui-table tbody tr:nth-child(4n+1):not(.oui-category-row) .oui-data-grey {
    background-color: #EAEAEA;
}
.oui-table tbody tr:nth-child(4n+3):not(.oui-category-row) .oui-data-grey {
    background-color: #EAEAEA;
}

/* Specific Alternating Backgrounds for Pay-per-event Column */
.oui-table tbody tr:nth-child(4n+1):not(.oui-category-row) .oui-data-purple {
    background-color: #F2E6F5;
}

.oui-table tbody tr:nth-child(4n+3):not(.oui-category-row) .oui-data-purple {
    background-color: #F2E6F5;
}

/* Specific Alternating Backgrounds for Annual Column */
.oui-table tbody tr:nth-child(4n+1):not(.oui-category-row) .oui-data-salmon {
    background-color: #FADCDC;
}

.oui-table tbody tr:nth-child(4n+3):not(.oui-category-row) .oui-data-salmon {
    background-color: #FADCDC;
}

/* Checkmark Styling */
.oui-table tbody td {
    font-weight: 600;
    line-height: 1.2;
}

.oui-table tbody td:contains("✓") {
    font-weight: bold;
    color: #333;
}

/* Responsive Design for Pricing Table */
@media (max-width: 992px) {
    .oui-table-wrapper {
        padding: 0 10px;
    }

    .oui-table {
        font-size: 13px; /* slightly smaller body text */
        border-spacing: 5px 2px;  /* horizontal (columns) 5px, vertical (rows) 2px */
    }

    .oui-table thead th,
    .oui-category-cell,
    .oui-feature-name,
    .oui-data-grey,
    .oui-data-purple,
    .oui-data-salmon {
        padding: 10px 8px; /* compact spacing */
    }

    /* Header a bit smaller on tablets */
    .oui-table thead th {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .oui-table {
        font-size: 8px; /* reduced by 25% from 11px */
    }

    /* Smaller header and tighter padding */
    .oui-table thead th {
        font-size: 13px; /* keep original header font size */
        padding: 8px 6px;
    }

    /* Reduce header border-radius to half */
    .oui-table-header-features,
    .oui-table-header-grey,
    .oui-table-header-purple,
    .oui-table-header-salmon {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    .oui-category-cell {
        padding: 8px 10px;
        font-size: 10px; /* reduced by 25% from 13px */
    }

    .oui-feature-name,
    .oui-data-grey,
    .oui-data-purple,
    .oui-data-salmon {
        padding: 7px 6px;
    }
}

/* Extra small screens - very compact */
@media (max-width: 480px) {
    .oui-table {
        font-size: 8px; /* reduced by 25% from 10px */
    }

    .oui-table thead th {
        font-size: 12px; /* keep original header font size */
        padding: 6px 4px;
    }

    /* Keep header border-radius at half */
    .oui-table-header-features,
    .oui-table-header-grey,
    .oui-table-header-purple,
    .oui-table-header-salmon {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    .oui-category-cell {
        padding: 6px 8px;
        font-size: 9px; /* reduced by 25% from 12px */
    }

    .oui-feature-name,
    .oui-data-grey,
    .oui-data-purple,
    .oui-data-salmon {
        padding: 6px 4px;
        font-size: 10px; /* reduced by 25% from 14px */
    }
}