body {
    font-size: 16px;
    font-family: Arial;
}

/* Mobile View (Portrait & Small Screens) - Zero download for d_dnc_software.jpg */
@media screen and (min-width: 50px) and (max-width: 899px) {
    .desktop { display: none; }
    .sml_desktop { display: none; }
    
    
    .hero-cell {
        vertical-align: top;
        height: auto; 
    }
    
    
    .center {
        background: url(images/30yearof.jpg) no-repeat top right;
        background-size: 100px auto;
        max-width: 900px; 
        display: block;
        margin: auto; 
    }
}

/* Desktop & Mobile Landscape View - Triggers d_dnc_software.jpg download dynamically */
@media screen and (min-width: 900px) and (max-width: 10000px) {
    .mobile { display: none; }
    
    .hero-cell {
        vertical-align: middle;
        height: 80vh; /* keeps your nice centered hero look on desktop */
    }
    
    .center {
        background: url(images/30yearof.jpg) no-repeat top right;
        width: 980px; 
        display: inline-block;
        margin: auto;
    }

    /* Conditional background image loader replacing the old <img> tag */
    .dnc-software-image {
        width: 447px;
        height: 325px;
        background-image: url('images/d_dnc_software.jpg');
        background-size: cover;
        background-position: center;
        display: inline-block;
    }
}

.container {
    border-left: none;
    border-right: none;
    text-align: center;
}

.container div {
    width: 300px;
    border-left: 0px dotted #ccc;
    display: inline-block;
    vertical-align: top;
    padding-left: 10px;
}

.container2 {
    border-left: none;
    border-right: none;
    text-align: center;
}

.container2 diva {
    width: 180px;
    border-left: 0px dotted #ccc;
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

.container2 divb {
    max-width: 400px;
    min-width: 300px;
    border-left: 0px dotted #ccc;
    display: inline-block;
    vertical-align: top;
    padding-left: 10px;
}

/* Preview / Expand Styles */
.preview-container {
    position: relative;
    max-height: 145px; 
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.preview-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #ffffff 95%); 
}

.preview-container.expanded {
    max-height: 1000px; 
}

.preview-container.expanded .preview-fade {
    display: none;
}

.more-info-btn {
    margin-top: 15px;
    padding: 10px 24px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}
  
.more-info-btn:hover {
    background-color: #0052a3;
}