
        :root {
            --primary: #003ea6;
            --dark: #1e293b;
            --light: #f8fafc;
            --text: #334155;
            --text--2: #003ea6;
            --primary--r: #972121;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Verdana', sans-serif; }

        body {
            background-color: var(--light);
            background-image: url('../images/ddcv_bg3.gif');
            background-repeat: repeat;            
            color: var(--text);
            line-height: 1.6;
        }

        /* Top Bar */        
        .header-top {
            background: #fff;
            padding: 5px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            border-bottom: 1px solid #eee;
        }

        .header-top a { color: var(--text); text-decoration: none; margin-left: 15px; }

        /* Navigation */
        nav {
            background: white;
            height: 70px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 5%;
            position: sticky;
            top: 0;
            z-index: 1000;            
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .logo-text {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none; }
            
        /*.logo-text { font-size: 1.2rem; font-weight: bold; color: var(--primary); text-transform: uppercase; }*/
        .nav-links { display: flex; list-style: none; }
        .nav-links li { margin-left: 20px; }
        .nav-links a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
        .nav-links a:hover, .nav-links a.active { color: var(--primary); text-decoration:underline; }

        .menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

        /* Brand Bar - Updated height */
        .brand-bar {
            height: 240px; /* Fixed Height */
            background-image: url('../images/head_logo_2.jpg'); /* Default Desktop Image */
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
            border-bottom: 1px solid #ddd;
            position: relative;
            opacity: 1;
        }
        
        .brand-bar::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(255, 255, 255, 0); 
            z-index: 1;
        }

        .brand-bar img { height: 80%; width: auto; object-fit: contain; position: relative; z-index: 2; }

        /* Background swap for screens wider than 1400px */
        @media (min-width: 1400px) {
            .brand-bar {
                background-image: url('../images/head_pecha1.jpg');
            }
        }

        /* Main Content */
        .container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
        .welcome-grid { display: flex; gap: 40px; margin-bottom: 45px; background: rgba(255, 255, 255, 0.9); padding: 25px; border-radius: 8px; }
        .welcome-text { flex: 2; font-family: 'Georgia', "serif"; }
        .practice-groups { flex: 1; background: #f3eedf; padding: 20px; border-radius: 8px; }
        /*.practice-groups { flex: 1; background: #e2e8f0; padding: 20px; border-radius: 8px; }*/

        /* New Events  --------------------- */
        .new-event-section { text-align: center; background: white; padding: 40px 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
        .event-poster { max-width: 400px; width: 100%; height: auto; margin-bottom: 20px; border: 5px solid #fff; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
        .event-details h2 { color: #972121; margin: 10px 0; }
        .event-details h3 { color: #008000; }
        .event-date { font-weight: bold; margin-top: 15px; margin-bottom: 20px; }
        .event-image {
            flex: 1;
            height: 300px;
            object-fit: cover;
            overflow: hidden;        }   
            
        .btn {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 10px 25px;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 600;
        }    
        /* End New Events  --------------------- */    
            
         
        .osection-title {
            font-size: 1.5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
            
        /* Other Events -------------------------*/ 
        .oevent-row {
            display: flex;
            align-items: center;
            margin-bottom: 40px;
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border: 1px solid #eee;
        }
        
        .oevent-poster { max-width: 400px; width: 100%; height: auto; margin-bottom: 0px; border: 5px solid #fff; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
        .oevent-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .oevent-text {
            flex: 1;
            padding: 40px;
        }

        .oevent-text h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        .oevent-text p {
            font-size: 1rem;
            color: #666;
            margin-bottom: 20px;
        }    
        
        /* End Other Events ---------------------*/


        footer { background: var(--dark); color: white; text-align: center; padding: 30px; margin-top: 50px; font-size: 0.8rem;}


        /* Desktop Layout: Image floats left, text floats right and left-justified (> 768px) */
@media (min-width: 769px) {
    .new-event-section {
        text-align: left;
        overflow: hidden; /* Clearfix for floats */
        display: flex;
        align-items: center; /* Vertically centers text */
    }

    .event-poster {
        float: left;
        width: 40%;
        max-width: 400px;
        margin: 0 40px 3px 0;
    }

    .event-details {
        overflow: hidden; /* Text wraps beside floated image */
        text-align: left;
    }

    .event-details .btn {
        display: inline-block;
    }
}
    /* Space between new-event-section and oevents-container */
    .new-event-section {
        margin-bottom: 40px;
    }
            
            

/* oevents-container: 240px image height, NO background */
.oevents-container {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* oevent-row: Keep the background styling */
.oevent-row {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.oevents-container .oevent-image img {
    height: 240px;
    object-fit: cover;
}
		
		/* Mobile View Adjustments */
        @media (max-width: 768px) {
            .menu-toggle { display: block; }
            .nav-links {
                position: absolute; top: 70px; left: -100%; width: 100%;
                height: calc(100vh - 70px); background: white;
                flex-direction: column; align-items: center; padding-top: 50px; transition: 0.4s;
            }
            .nav-links.active { left: 0; }
            .nav-links li { margin: 15px 0; }
            
            /* Background Image Swap for Mobile */
            .brand-bar { 
                height: 240px; 
                padding: 0; 
                flex-direction: column; 
				background-position: center center;
				background-size: cover;
                background-image: url('../images/head_logo_s2.jpg'); 
            }
            .brand-bar img { height: 80px; }            
            .welcome-grid { flex-direction: column; }
            .header-top { flex-direction: column; background-position: center center; }
			
        }