/*
 * IAHIP Bye Laws - Combined Styles
 * Generated: 2025-08-05 13:11:53
 * 
 * This file combines:
 * multi-page-styles.css, table-styles.css
 */



/* ========================================= */
/* MULTI-PAGE-STYLES.CSS */
/* ========================================= */

/* Modern responsive design system for Multi-Page Layout */
:root {
    --primary: #353A50; 
    --accent: #C9AB59; 
    --white: #ffffff;
    --primary-gradient: linear-gradient(135deg, #353A50 0%, #2c3142 100%);
    --accent-gradient: linear-gradient(135deg, #C9AB59 0%, #b8a04a 100%);
    --background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --shadow: 0 10px 40px rgba(53, 58, 80, 0.15);
    --shadow-hover: 0 20px 60px rgba(53, 58, 80, 0.25);
    --card-shadow: 0 8px 30px rgba(53, 58, 80, 0.12);
    --text-primary: #353A50; 
    --text-secondary: #6c757d;
    --border-radius: 20px; 
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
    line-height: 1.7;
    background: var(--background); 
    min-height: 100vh; 
    color: var(--text-primary);
}

.header {
    background: rgba(255, 255, 255, 0.25); 
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3); 
    color: var(--text-primary);
    padding: 30px; 
    border-radius: var(--border-radius); 
    margin-bottom: 30px;
    box-shadow: var(--shadow); 
    position: relative; 
    overflow: hidden;
}

.header::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 4px;
    background: var(--accent-gradient);
}

.header h1 {
    margin: 0 0 15px 0; 
    font-size: 2.5em; 
    font-weight: 700;
    background: var(--accent-gradient); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    background-clip: text;
}

.navigation {
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(20px);
    padding: 20px; 
    border-radius: var(--border-radius); 
    margin-bottom: 30px;
    box-shadow: var(--shadow); 
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-links {
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
    justify-content: center;
}

.nav-link {
    text-decoration: none; 
    color: var(--text-primary); 
    padding: 12px 20px;
    border-radius: 50px; 
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition); 
    font-size: 0.9em; 
    font-weight: 500;
    border: 2px solid transparent; 
    position: relative; 
    overflow: hidden;
}

.nav-link::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%;
    background: var(--primary-gradient); 
    transition: var(--transition); 
    z-index: -1;
}

.nav-link:hover::before, 
.nav-link.current::before { 
    left: 0; 
}

.nav-link:hover, 
.nav-link.current {
    color: white; 
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.law-container, 
.law {
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius); 
    overflow: hidden; 
    box-shadow: var(--shadow);
    margin-bottom: 40px; 
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.law:hover, 
.law-container:hover {
    transform: translateY(-5px); 
    box-shadow: var(--shadow-hover);
}

.law-header {
    background: var(--primary-gradient); 
    color: var(--white);
    padding: 30px; 
    text-align: center; 
    position: relative;
}

.law-title { 
    font-size: 2.2em; 
    font-weight: 700; 
    margin: 0; 
}

.law-content { 
    padding: 40px; 
    margin-top: 20px; 
}

.law-description {
    background: var(--accent-gradient); 
    color: var(--white);
    padding: 20px; 
    margin: 20px 0; 
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(201, 171, 89, 0.3);
}

.law-date {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    padding: 12px; 
    margin: 15px 0; 
    border-left: 4px solid #9c27b0;
    border-radius: 8px; 
    font-weight: 600;
}

.law-paragraph {
    margin: 16px 0; 
    padding: 16px 20px; 
    border-radius: 12px;
    transition: var(--transition); 
    border-left: 4px solid transparent;
    background: rgba(255, 255, 255, 0.5);
}

.law-paragraph:hover {
    background: rgba(102, 126, 234, 0.05); 
    border-left-color: var(--primary);
    transform: translateX(8px); 
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

/* Law Grid Layout */
.law-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Law Card Styling */
.law-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.law-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.law-card p {
    color: var(--text-secondary);
    margin: 8px 0;
    font-size: 0.95em;
    line-height: 1.6;
}

.law-card h3 {
    color: var(--text-primary);
    margin: 0 0 15px 0;
    font-size: 1.3em;
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.law-card a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(53, 58, 80, 0.3);
}

.law-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(53, 58, 80, 0.4);
}

/* Search Button Styling */
.search-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    margin: 0 5px;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.nav-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.nav-buttons .nav-link {
    margin-right: 5px;
}

/* Table styling */
.table-container {
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.law-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.law-table th {
    background: var(--primary-gradient);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.law-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(53, 58, 80, 0.1);
    vertical-align: top;
}

.law-table tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body { 
        padding: 15px;
    }
    
    .header { 
        padding: 25px 20px;
    }
    
    .header h1 { 
        font-size: 2em; 
    }
    
    .navigation {
        padding: 15px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-link {
        text-align: center;
        width: 100%;
        padding: 15px;
    }
    
    .search-button {
        width: 100%;
        text-align: center;
        margin: 5px 0;
        padding: 15px;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .law-content { 
        padding: 25px 20px; 
    }
    
    .law-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .law-card {
        padding: 25px 20px;
    }
    
    .law-table {
        font-size: 0.8em;
    }
    
    .law-table th,
    .law-table td {
        padding: 8px 10px;
    }
}

/* COMPLETE MOBILE MENU CSS - ADD TO THE END OF multi-page-styles.css */

/* ========================================= */
/* MOBILE NAVIGATION ENHANCEMENTS - SCROLLABLE FOR 12+ LINKS */
/* ========================================= */

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.75rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    z-index: 1001;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    border-radius: 2px;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay - UPDATED with scroll support for 12+ links */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transform: translateX(-100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(20px);
    padding: 80px 20px 20px 20px; /* Top padding for status bar + some space */
    box-sizing: border-box;
    overflow-y: auto; /* Enable vertical scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Container - UPDATED for scrolling */
.mobile-nav {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Reduced gap between items */
    min-height: min-content; /* Allow container to be smaller than viewport */
}

/* Mobile Navigation Items - UPDATED spacing */
.mobile-nav li {
    margin: 0; /* Remove margin, use gap instead */
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease;
    width: 100%;
    will-change: transform, opacity;
}

.mobile-menu.active .mobile-nav li {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered animation delays - UPDATED for 12+ items */
.mobile-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav li:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav li:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav li:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav li:nth-child(8) { transition-delay: 0.45s; }
.mobile-nav li:nth-child(9) { transition-delay: 0.5s; }
.mobile-nav li:nth-child(10) { transition-delay: 0.55s; }
.mobile-nav li:nth-child(11) { transition-delay: 0.6s; }
.mobile-nav li:nth-child(12) { transition-delay: 0.65s; }
.mobile-nav li:nth-child(13) { transition-delay: 0.7s; }
.mobile-nav li:nth-child(14) { transition-delay: 0.75s; }
.mobile-nav li:nth-child(15) { transition-delay: 0.8s; }

/* Mobile Navigation Links - UPDATED for better fit */
.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem; /* Slightly smaller font */
    font-weight: 500;
    letter-spacing: 0.5px; /* Reduced letter spacing */
    transition: all 0.3s ease;
    display: block;
    padding: 12px 20px; /* Reduced padding */
    border-radius: 25px; /* Smaller border radius */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    transform: scale(1.02); /* Smaller scale to prevent overflow */
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent);
    text-shadow: 0 0 20px rgba(201, 171, 89, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Reduced shadow */
}

.mobile-nav a.current {
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
}

/* Search button styling in mobile menu - UPDATED */
.mobile-nav a.search-button,
.mobile-nav a.mobile-nav-link.search {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-weight: 600;
    margin-bottom: 10px; /* Add space after search button */
}

.mobile-nav a.search-button:hover,
.mobile-nav a.mobile-nav-link.search:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: scale(1.02);
}

/* Prevent scroll when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Enhanced Desktop Navigation for Mobile Compatibility */
.navigation {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 2rem;
}

/* Compact mobile view for very small screens */
@media (max-height: 600px) {
    .mobile-menu {
        padding: 60px 15px 15px 15px; /* Reduced padding on short screens */
    }
    
    .mobile-nav {
        gap: 6px; /* Even smaller gap on short screens */
    }
    
    .mobile-nav a {
        font-size: 1rem; /* Smaller font on short screens */
        padding: 10px 16px; /* Smaller padding on short screens */
    }
}

/* Extra compact for very short screens (landscape phones) */
@media (max-height: 500px) {
    .mobile-menu {
        padding: 40px 10px 10px 10px;
        justify-content: flex-start;
    }
    
    .mobile-nav {
        gap: 4px;
    }
    
    .mobile-nav a {
        font-size: 0.9rem;
        padding: 8px 14px;
        border-radius: 20px;
    }
    
    /* Faster animations on short screens */
    .mobile-nav li {
        transition: all 0.4s ease;
    }
    
    .mobile-nav li:nth-child(n) {
        transition-delay: 0.05s;
    }
}

/* Scroll indicator for mobile menu (optional visual cue) */
.mobile-menu::after {
    content: '';
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active::after {
    opacity: 1;
}

/* Hide scroll indicator if all content fits */
@media (min-height: 800px) {
    .mobile-menu::after {
        display: none;
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* Show hamburger menu */
    .menu-toggle {
        display: flex;
    }
    
    /* Hide desktop navigation */
    .nav-links {
        display: none;
    }
    
    /* Adjust navigation container */
    .nav-container {
        justify-content: space-between;
    }
    
    .navigation {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    /* Adjust body padding for fixed navigation */
    body {
        padding-top: 100px !important;
    }
    
    /* Mobile-specific law container adjustments */
    .law-container,
    .law {
        margin: 0 -10px 30px -10px;
        border-radius: 15px;
    }
    
    .law-header {
        padding: 20px 15px;
    }
    
    .law-content {
        padding: 20px 15px;
    }
    
    /* Mobile search button adjustments */
    .search-button {
        width: 100%;
        text-align: center;
        margin: 10px 0;
        padding: 15px;
        font-size: 16px;
    }
    
    /* Mobile table improvements */
    .table-container {
        margin: 20px -10px;
        border-radius: 10px;
        overflow-x: auto;
    }
    
    .law-table {
        min-width: 100%;
        font-size: 14px;
    }
    
    .law-table th,
    .law-table td {
        padding: 8px 10px;
        white-space: nowrap;
    }
    
    /* Mobile typography adjustments */
    .header h1 {
        font-size: 1.8rem;
    }
    
    .law-title {
        font-size: 1.5rem;
    }
    
    /* Mobile-friendly law cards */
    .law-card {
        padding: 20px 15px;
        margin: 0 -5px 20px -5px;
    }
    
    .law-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
}

/* Tablet responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .search-button {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    body {
        padding-top: 90px !important;
    }
}

/* Accessibility improvements */
.menu-toggle:focus,
.mobile-nav a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .menu-toggle span,
    .mobile-menu,
    .mobile-nav li,
    .mobile-nav a {
        transition-duration: 0.1s !important;
        animation-duration: 0.1s !important;
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .mobile-nav a {
        padding: 1.2rem 2rem;
        font-size: 1.3rem;
    }
    
    .menu-toggle {
        padding: 1rem;
    }
    
    .menu-toggle span {
        width: 28px;
        height: 4px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mobile-menu {
        background: #000;
    }
    
    .mobile-nav a {
        background: #333;
        border: 2px solid #fff;
    }
    
    .mobile-nav a:hover {
        background: #fff;
        color: #000;
    }
}

/* Touch device optimizations */
.touch-device .mobile-nav a {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.touch-device .mobile-menu {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* ========================================= */
/* TABLE-STYLES.CSS */
/* ========================================= */

/* 
Table Styles for IAHIP Bye Laws 
Separate CSS file for professional table styling
Include this file in HTML pages that need table styling
*/

/* Enhanced Table Styles */
.table-container {
    margin: 25px 0;
    padding: 0;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Main table styles - applies to both .law-table class and generic table elements */
.law-table,
.table-container table,
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background-color: white;
    font-size: 14px;
    line-height: 1.5;
}

/* Table headers - applies to both .law-table and generic tables */
.law-table th,
.table-container table th,
table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Table cells - applies to both .law-table and generic tables */
.law-table td,
.table-container table td,
table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    border-left: none;
    border-right: none;
}

/* Alternating row colors */
.law-table tr:nth-child(even),
.table-container table tr:nth-child(even),
table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Hover effects */
.law-table tr:hover,
.table-container table tr:hover,
table tr:hover {
    background-color: #e3f2fd;
    transition: background-color 0.2s ease;
}

/* Header hover - don't change header background on hover */
.law-table tr:first-child:hover,
.table-container table tr:first-child:hover,
table tr:first-child:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Strong text styling */
.law-table strong,
.table-container table strong,
table strong {
    color: #667eea;
    font-weight: 600;
}

/* Multi-page specific table styles (when inside law-content) */
.law-content .table-container {
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(53, 58, 80, 0.15);
}

.law-content .law-table th,
.law-content .table-container table th,
.law-content table th {
    background: linear-gradient(135deg, #353A50 0%, #2c3142 100%);
    padding: 18px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.law-content .law-table td,
.law-content .table-container table td,
.law-content table td {
    padding: 15px;
}

.law-content .law-table tr:nth-child(even),
.law-content .table-container table tr:nth-child(even),
.law-content table tr:nth-child(even) {
    background-color: rgba(53, 58, 80, 0.03);
}

.law-content .law-table tr:hover,
.law-content .table-container table tr:hover,
.law-content table tr:hover {
    background-color: rgba(201, 171, 89, 0.1);
    transition: background-color 0.3s ease;
}

.law-content .law-table strong,
.law-content .table-container table strong,
.law-content table strong {
    color: white;
}

/* Table responsive design */
@media (max-width: 768px) {
    .table-container {
        margin: 20px -10px;
        border-radius: 0;
    }
    
    .law-table,
    .table-container table,
    table {
        font-size: 13px;
    }
    
    .law-table th,
    .law-table td,
    .table-container table th,
    .table-container table td,
    table th,
    table td {
        padding: 8px 6px;
    }
    
    .law-content .law-table th,
    .law-content .law-table td,
    .law-content .table-container table th,
    .law-content .table-container table td,
    .law-content table th,
    .law-content table td {
        padding: 10px 8px;
    }
    
    .law-content .law-table th,
    .law-content .table-container table th,
    .law-content table th {
        font-size: 12px;
        padding: 15px 8px;
    }
}

/* Print styles for tables */
@media print {
    .table-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .law-table th,
    .table-container table th,
    table th {
        background: #f5f5f5 !important;
        color: #333 !important;
    }
    
    .law-table tr:hover,
    .table-container table tr:hover,
    table tr:hover {
        background-color: transparent !important;
    }
}