/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

        /* Base Styles with Professional Improvements */
        :root {
            --primary-color: #0056b3;
            --primary-hover: #00376d;
            --bg-gradient-start: #ffffff;
            --bg-gradient-end: #f8f9fa;
            --text-main: #333333;
            --text-secondary: #495057;
            --border-color: #dee2e6;
            --border-color-darker: #ced4da;
            --bg-light: #f8f9fa;
            --bg-card: #ffffff;
            --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 2px 10px rgba(0, 0, 0, 0.05);
            --radius-sm: 2px;
            --radius-md: 4px;
        }

        /* Global Typography */
        body {
            background: linear-gradient(to bottom, var(--bg-gradient-start), var(--bg-gradient-end));
            color: var(--text-main);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 600;
            line-height: 1.3;
            margin-top: 1.5em;
            margin-bottom: 0.5em;
            color: #222;
        }

        h1 { font-size: 2.25rem; }
        h2 { font-size: 1.875rem; }
        h3 { font-size: 1.5rem; }
        h4 { font-size: 1.25rem; }
        h5 { font-size: 1.125rem; }
        h6 { font-size: 1rem; }

        p, ul, ol, li {
            text-align: justify;
            margin-bottom: 1rem;
            hyphens: auto;
        }

        p {
            margin-bottom: 1.5rem;
        }

        /* Content Container */
        .container {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-md);
            padding: 2rem;
            margin: 1rem auto;
            max-width: 1200px;
            width: calc(100% - 2rem);
        }

        /* Header Styles */
        .site-header {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-md);
            margin-bottom: 0;
            padding: 1rem 0;
            position: relative;
            z-index: 10;
        }

        .site-header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: none;
            border: none;
            padding: 0 2rem;
        }

        .site-logo {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .site-logo:hover {
            color: var(--primary-hover);
        }

        /* Navigation */
        .main-navigation {
            display: flex;
            gap: 1.5rem;
        }

        .main-navigation a {
            color: var(--text-main);
            font-weight: 500;
            text-decoration: none;
            padding: 0.5rem 0;
            border-bottom: 2px solid transparent;
            transition: all 0.2s ease;
        }

        .main-navigation a:hover,
        .main-navigation a.active {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
        }

        /* Enhanced Breadcrumb */
        .breadcrumb {
            border: 1px solid var(--border-color-darker);
            margin-top: 0.4rem;
            margin-bottom: 1rem;
            padding: 0.75rem 1rem;
            background-color: var(--bg-light);
            color: var(--text-secondary);
            font-size: 0.875rem;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            box-shadow: var(--shadow-sm);
        }

        .breadcrumb a {
            text-decoration: none;
            color: var(--primary-color);
            font-weight: 500;
            margin-right: 0.5rem;
            transition: color 0.3s ease;
            display: inline-flex;
            align-items: center;
        }

        .breadcrumb a:hover {
            color: var(--primary-hover);
            text-decoration: underline;
        }

        .breadcrumb a:not(:first-child)::before {
            content: "›";
            margin: 0 0.5rem;
            color: var(--text-secondary);
            font-weight: normal;
        }

        /* Content Areas */
        .content-area {
            padding: 2rem 0;
        }

        .entry-content {
            line-height: 1.8;
        }

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

        .entry-content h2,
        .entry-content h3 {
            margin-top: 2rem;
            margin-bottom: 1rem;
        }

        /* Code & Blockquotes */
        code {
            background-color: #f5f5f5;
            padding: 0.2rem 0.4rem;
            border-radius: 3px;
            font-size: 0.9em;
            font-family: Consolas, Monaco, 'Andale Mono', monospace;
        }

        pre {
            background-color: #f5f5f5;
            padding: 1rem;
            border-radius: 4px;
            overflow-x: auto;
            font-family: Consolas, Monaco, 'Andale Mono', monospace;
            margin-bottom: 1.5rem;
        }

        blockquote {
            border-left: 4px solid var(--primary-color);
            padding-left: 1.5rem;
            margin-left: 0;
            margin-right: 0;
            font-style: italic;
            color: var(--text-secondary);
        }

        /* Tables */
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 1.5rem;
        }

        th, td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        th {
            background-color: var(--bg-light);
            font-weight: 600;
        }

        tr:hover {
            background-color: rgba(0, 0, 0, 0.02);
        }

        /* Cards & Boxes */
        .card {
            background-color: var(--bg-card);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-md);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        /* Buttons */
        .btn {
            display: inline-block;
            padding: 0.5rem 1.25rem;
            border-radius: var(--radius-md);
            background-color: var(--primary-color);
            color: white;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.2s ease;
            border: none;
            cursor: pointer;
            line-height: 1.5;
        }

        .btn:hover {
            background-color: var(--primary-hover);
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .btn-secondary {
            background-color: var(--text-secondary);
        }

        .btn-secondary:hover {
            background-color: #3d4852;
        }

        /* Images */
        img {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius-sm);
        }

        figure {
            margin: 2rem 0;
        }

        figcaption {
            text-align: center;
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-top: 0.5rem;
        }

        /* Footer */
        .site-footer {
            background-color: var(--bg-light);
            border-top: 1px solid var(--border-color);
            padding: 2rem 0;
            margin-top: 3rem;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 2rem;
        }

        .footer-column {
            flex: 1;
            min-width: 200px;
        }

        .footer-heading {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-main);
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s ease;
        }

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

        .copyright {
            text-align: center;
            margin-top: 2rem;
            color: var(--text-secondary);
            font-size: 0.875rem;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            h1 { font-size: 1.875rem; }
            h2 { font-size: 1.5rem; }
            h3 { font-size: 1.25rem; }
            
            .container {
                padding: 1.5rem;
            }
            
            .site-header .container {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
                padding: 0 1rem;
            }
            
            .footer-content {
                flex-direction: column;
                gap: 1.5rem;
            }
        }

        /* Print Optimizations */
        @media print {
            body {
                background: none;
                color: black;
            }
            
            .container, .site-header, .breadcrumb {
                box-shadow: none;
                border: none;
            }
            
            .site-header {
                position: static;
            }
            
            a {
                text-decoration: none;
                color: black;
            }
            
            .breadcrumb, .site-footer {
                display: none;
            }
        }