/* Original header rule - keeping for compatibility */
header{width:100%;height:50px;margin-top:0px;text-align:center;background-color:#003366;position:fixed;z-index:2}

/* Override for our custom header */
#header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: white;
    width: 960px;
    height: 58px;
    font-size: 14px;
    line-height: 58px;
    padding-top: 10px;
    text-align: right;
    border-bottom: 1px solid #ddd;
    padding-right: 30px;
    font-family: "Open Sans", Segoe, "Segoe UI", "Lucida Sans Unicode", "Lucida Grande", "Avenir", "Seravek", "Ubuntu", "DejaVu Sans", "Trebuchet MS", Verdana, Arial, sans-serif;
}

#header a {
    text-decoration: none;
    border-bottom: none;
    color: #0055AA;
}

#header a:hover {
    color: #4a85c8;
}
body{margin:auto;padding:48px 0 0 0;color:#000;-webkit-transition:all;-moz-transition:all;-ms-transition:all;-o-transition:all;transition:all;font-family:"Open Sans",
Segoe,"Segoe UI",
"Lucida Sans Unicode","Lucida Grande",
"Avenir","Seravek","Ubuntu",
"DejaVu Sans","Trebuchet MS",Verdana,Arial,sans-serif;font-size:14.4px;line-height:170%;text-align:justify;font-weight:400}
h1,h2,h3,h4,h5,h6,div.title,span.title,div.ftheader,span.venue,span.highlight{font-weight:600}
h3{font-size:20px;margin-bottom:0.6em}
h1,h2{margin-bottom:1.2em}
h3{margin-bottom:0.6em}
ul,ol,dl{float:left;margin:0;padding:5px 10px 6px 30px;width:calc(100% - 30px)}
img.img_responsive{width:100%;height:auto;display:block}
video.img_responsive{width:100%;height:auto;display:block}
div.container a:link,
div.container a:visited{color:#0055AA;text-decoration:none}


/* Profile section styling - original desktop layout */
.profile {
    padding: 0 30px 10px 30px;
    border-bottom: 1px solid #ddd;
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden; /* Clear floats */
}

/* Override heading styles for profile section - original desktop layout */
.heading .profile .img {
    float: left !important;
    margin-right: 40px !important;
    text-align: center !important;
    max-width: 30% !important;
    padding: 0 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.heading .profile .img img {
    width: 220px !important;
    height: auto !important;
    border-radius: 10px;
    margin-bottom: 0;
}

.heading .profile .text.info {
    max-width: 70% !important;
    vertical-align: top !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    display: inline-block !important;
    margin-top: -10px !important;
}

.heading .profile .text.info h1 {
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 20px;
    color: #003373;
    margin-left: 0;
    width: auto;
}

.heading .profile .text.info p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 24px;
}

/* Additional profile styling to match old version */
.profile .img p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 24px;
    color: #a0a8b0;
}

/* Name visibility control - default desktop behavior */
.mobile-name {
    display: none !important;
    transition: all 0.3s ease;
}

.desktop-name {
    display: block !important;
    transition: all 0.3s ease;
}

/* Footer styling */
footer {
    text-align: center;
    padding: 20px;
    margin: 40px auto 0 auto;
    color: #666;
    font-size: 12px;
    max-width: 1000px;
    box-sizing: border-box;
}

footer::before {
    content: "";
    display: block;
    border-bottom: 1px solid #ddd;
    margin: 0 0 20px 0;
}

footer a {
    color: #4a85c8;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Header link visibility control - default desktop behavior */
#header .desktop-only {
    display: inline !important;
}

.profile .img a {
    color: #4a85c8;
    text-decoration: none;
}

.profile .img a:hover {
    text-decoration: underline;
}

/* Publications styling - migrated from old version */
.publication {
    margin-left: 30px;
    width: calc(100% - 30px);
    margin-bottom: 12px;
    overflow: hidden;
    clear: both;
}

.publication .img {
    width: 180px;
    float: left;
    margin-top: 7px;
    margin-right: 50px;
    margin-bottom: 20px;
    max-width: 180px !important;
    padding: 0 !important;
}

.publication .img:hover {
    border-bottom: none;
}

.publication .img img {
    width: 100%;
    border-radius: 5px;
}

.publication .text {
    overflow: hidden;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    display: block !important;
    margin-left: 0 !important;
}

.publication .title {
    color: #003373;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 8px;
}

.publication .title a {
    color: #003373;
    text-decoration: none;
}

.publication .title a:hover {
    text-decoration: underline;
}

.publication .authors {
    font-size: 14px;
    line-height: 24px;
    color: #777777;
    margin-bottom: 8px;
}

.publication .authors .author {
    white-space: nowrap;
    color: #777777;
}

.publication .authors .author.zp {
    text-decoration: underline;
}

.publication .venue {
    color: #882222;
    padding-right: 8px;
}

.publication .tag {
    padding-right: 8px;
}

.publication .tag a {
    color: #0055AA;
    text-decoration: none;
}

.publication .tag a:hover {
    text-decoration: underline;
}

/* News toggle functionality - migrated from old version */
.showBtn {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 24px;
    float: left;
    clear: both;
}

.showBtn a {
    color: #003373;
    cursor: pointer;
    text-decoration: none;
}

.showBtn a:hover {
    text-decoration: underline;
}

#moreNews {
    display: none;
}

#lessNewsBtn {
    display: none;
}

/* Override ul styling for news section to span full width */
.content.talk ul {
    float: none !important;
    margin: 0 !important;
    padding: 5px 10px 6px 30px !important;
    width: calc(100% - 30px) !important;
    list-style-position: inside !important;
    list-style-type: disc !important;
    display: block !important;
}

.content.talk li {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

/* Override the talk span rule that's causing column layout */
.content.talk span {
    float: none !important;
    width: auto !important;
    display: inline !important;
}

/* Ensure the moreNews span can be toggled properly */
#moreNews {
    display: none !important;
}

#moreNews.show {
    display: inline !important;
}

/* Reduce top space for research section lists */
#research-interests ul {
    margin-top: -10px !important;
    padding-top: 0 !important;
}

/* Section dividers - migrated from old version */
.divider {
    width: 100%;
    border-bottom: 1px solid #ddd;
    margin: 10px 0;
}

/* Tablet responsive design */
@media screen and (max-width: 1024px) {
    /* Header adjustments for tablets */
    #header {
        width: 90% !important;
        height: 58px !important;
        font-size: 15px !important;
        padding: 8px 20px !important;
        line-height: 58px !important;
    }
    
    #header a {
        margin: 2px 8px !important;
        font-size: 15px !important;
    }
}

/* Large tablets and small laptops */
@media screen and (max-width: 1024px) and (min-width: 901px) {
    /* Adjust profile padding */
    .profile {
        padding-left: 10px !important;
    }
    
    /* Reduce margin between name and CV line */
    .heading h1 {
        margin-bottom: 5px !important;
        color: #003373 !important;
    }
    
    .heading p {
        margin-bottom: 3px !important;
    }
    
    /* Bio text full width for medium displays */
    .heading .profile .text.info p {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Medium screens (tablets in portrait) - apply centered layout */
@media screen and (max-width: 1024px) {
    /* Hide desktop-only links on medium screens */
    #header .desktop-only {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Header adjustments for medium screens - consistent font sizing */
    #header {
        width: 95% !important;
        height: 58px !important;
        padding: 10px 15px !important;
        font-size: 14px !important;
        line-height: 58px !important;
    }
    
    #header a {
        display: inline-block !important;
        margin: 2px 5px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }
    
    /* Profile section - maintain centered layout on medium screens */
    .profile {
        border-bottom: none !important;
        margin-left: 0 !important;
        padding: 0 5px 5px 5px !important;
        width: auto !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .text {
        border-bottom: none !important;
        padding-left: 5px !important;
    }
    
    .content {
        border-bottom: none !important;
        padding-left: 5px !important;
    }
    
    .heading {
        border-bottom: none !important;
        margin-left: 0 !important;
        padding-left: 5px !important;
    }
    
    /* Profile section medium screens - apply centered layout */
    .profile {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .heading .profile .img {
        float: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .heading .profile .img img {
        text-align: center !important;
        margin: 0 auto 5px auto !important;
        display: block !important;
    }
    
    /* Show mobile name, hide desktop name on smaller screens */
    .heading .profile .img .mobile-name {
        display: block !important;
        font-size: 24px !important;
        line-height: 28px !important;
        margin-bottom: 5px !important;
        color: #003373 !important;
        text-align: center !important;
        font-weight: 600 !important;
    }
    
    .desktop-name {
        display: none !important;
        visibility: hidden !important;
    }
    
    .heading .profile .img p {
        text-align: center !important;
        margin-bottom: 5px !important;
    }
    
    .heading .profile .text.info {
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
        margin-top: 0 !important;
        overflow: visible !important;
        text-align: center !important;
        padding: 0 !important;
    }
    
    .heading .profile .text.info p {
        text-align: left !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Additional spacing fixes for mobile layout */
    .heading .profile .img .mobile-name {
        margin-bottom: 5px !important;
    }
    
    .heading .profile .img p {
        text-align: center !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    /* Bio text width adjustments for medium displays */
    .heading .profile .text.info p {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Publications medium screens */
    .publication .img {
        float: none !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 5px !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .publication .text {
        overflow: visible !important;
        display: block !important;
        text-align: left !important;
    }
    
    /* News section medium screens */
    .content.talk ul {
        padding-left: 20px !important;
    }
    
    /* General medium screen adjustments */
    .divider {
        display: none !important;
    }
    
    h3 {
        font-size: 18px !important;
        text-align: left !important;
    }
}

/* Mobile responsive design - more aggressive breakpoint */
@media screen and (max-width: 1024px) {
    /* Header adjustments - consistent with medium screens */
    #header {
        width: 95% !important;
        height: 58px !important;
        padding: 10px 15px !important;
        font-size: 14px !important;
        line-height: 58px !important;
    }
    
    /* Hide desktop-only links on mobile */
    #header .desktop-only {
        display: none !important;
        visibility: hidden !important;
    }
    
    #header a {
        display: inline-block !important;
        margin: 2px 5px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }
    
    /* Body padding adjustment */
    body {
        padding-top: 80px !important;
    }
    
    /* Profile section mobile - apply centered layout */
    .profile {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .heading .profile .img {
        float: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .heading .profile .img img {
        text-align: center !important;
        margin: 0 auto 5px auto !important;
        display: block !important;
    }
    
    /* Show mobile name, hide desktop name on mobile */
    .heading .profile .img .mobile-name {
        display: block !important;
        font-size: 22px !important;
        line-height: 26px !important;
        margin-bottom: 5px !important;
        color: #003373 !important;
        text-align: center !important;
        font-weight: 600 !important;
    }
    
    .desktop-name {
        display: none !important;
        visibility: hidden !important;
    }
    
    .heading .profile .img p {
        text-align: center !important;
        margin-bottom: 5px !important;
    }
    
    .heading .profile .text.info {
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
        margin-top: 0 !important;
        overflow: visible !important;
        text-align: center !important;
        padding: 0 !important;
    }
    
    .heading .profile .text.info p {
        text-align: left !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Additional spacing fixes for mobile layout */
    .heading .profile .img .mobile-name {
        margin-bottom: 5px !important;
    }
    
    .heading .profile .img p {
        text-align: center !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    /* Remove all borders on mobile to prevent double lines */
    .profile {
        border-bottom: none !important;
        margin-left: 0 !important;
        padding: 0 5px 5px 5px !important;
        width: auto !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }
    
    .text {
        border-bottom: none !important;
        padding-left: 5px !important;
    }
    
    #research-interests {
        border-bottom: none !important;
    }
    
    .content {
        border-bottom: none !important;
        padding-left: 5px !important;
    }
    
    .heading {
        border-bottom: none !important;
        margin-left: 0 !important;
        padding-left: 5px !important;
    }
    
    /* Ensure only dividers create lines on mobile */
    .divider:first-of-type {
        margin-top: 0 !important;
    }
    
    /* Publications mobile */
    .publication .img {
        float: none !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 5px !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .publication .text {
        overflow: visible !important;
        display: block !important;
        text-align: left !important;
    }
    
    /* News section mobile */
    .content.talk ul {
        padding-left: 20px !important;
    }
    
    /* General mobile adjustments */
    .divider {
        display: none !important;
    }
    
    /* Footer mobile adjustments */
    footer {
        padding: 15px 10px !important;
        margin: 20px auto 0 auto !important;
        font-size: 11px !important;
        max-width: 100% !important;
    }
    
    footer::before {
        display: none !important;
    }
    
    h3 {
        font-size: 18px !important;
        text-align: left !important;
    }
}

/* Small mobile devices - adjusted breakpoint */
@media screen and (max-width: 1024px) {
    
    /* Hide desktop-only links */
    #header .desktop-only {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Profile section - apply centered layout */
    .heading .profile {
        text-align: center !important;
        padding: 0 5px 5px 5px !important;
        border-bottom: none !important;
        margin-left: 0 !important;
        width: auto !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .text, .content, .heading {
        text-align: left !important;
        padding-left: 5px !important;
        border-bottom: none !important;
    }
    
    .heading .profile .img {
        text-align: center !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .heading .profile .img img {
        margin: 0 auto 5px auto !important;
        display: block !important;
    }
    
    /* Show mobile name, hide desktop name on small mobile */
    .heading .profile .img .mobile-name {
        display: block !important;
        font-size: 22px !important;
        line-height: 26px !important;
        margin-bottom: 5px !important;
        color: #003373 !important;
        text-align: center !important;
        font-weight: 600 !important;
    }
    
    .desktop-name {
        display: none !important;
        visibility: hidden !important;
    }
    
    .heading .profile .img p {
        text-align: center !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    .heading .profile .text.info {
        text-align: center !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }
    
    .heading .profile .text.info p {
        text-align: left !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Additional spacing fixes for small mobile layout */
    .heading .profile .img .mobile-name {
        margin-bottom: 5px !important;
    }
    
    .heading .profile .img p {
        text-align: center !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    .publication .img, .publication .text {
        text-align: left !important;
        float: none !important;
        width: 100% !important;
    }
    
    h3 {
        text-align: left !important;
    }
}


/* Medium mobile devices */
@media screen and (max-width: 600px) {
    /* Header for medium mobile screens - consistent scaling */
    #header {
        width: 96% !important;
        font-size: 13px !important;
        padding: 8px 12px !important;
    }
    
    #header a {
        margin: 1px 4px !important;
        font-size: 13px !important;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    /* Header for very small screens - consistent scaling */
    #header {
        width: 98% !important;
        height: 58px !important;
        font-size: 12px !important;
        padding: 6px 8px !important;
        line-height: 58px !important;
    }
    
    #header a {
        margin: 1px 2px !important;
        font-size: 12px !important;
    }
    
    /* Hide desktop-only links on very small screens */
    #header .desktop-only {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Body padding for very small screens */
    body {
        padding-top: 70px !important;
    }
    
    /* Profile adjustments - apply centered layout */
    .profile {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .heading .profile .img {
        text-align: center !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .heading .profile .img img {
        width: 180px !important;
        margin: 0 auto 5px auto !important;
        display: block !important;
    }
    
    /* Show mobile name, hide desktop name on very small screens */
    .heading .profile .img .mobile-name {
        display: block !important;
        font-size: 20px !important;
        line-height: 24px !important;
        margin-bottom: 5px !important;
        color: #003373 !important;
        text-align: center !important;
        font-weight: 600 !important;
    }
    
    .desktop-name {
        display: none !important;
        visibility: hidden !important;
    }
    
    .heading .profile .img p {
        text-align: center !important;
        margin-bottom: 5px !important;
    }
    
    .heading .profile .text.info {
        text-align: center !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }
    
    .heading .profile .text.info p {
        text-align: left !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Additional spacing fixes for very small mobile layout */
    .heading .profile .img .mobile-name {
        margin-bottom: 5px !important;
    }
    
    .heading .profile .img p {
        text-align: center !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    /* Publications for very small screens */
    .publication .img img {
        width: 100% !important;
        max-width: 200px !important;
    }
    
    /* General text adjustments - consistent scaling */
    body {
        font-size: 14px !important;
    }
    
    h3 {
        font-size: 16px !important;
        text-align: left !important;
    }
    
    /* Hide dividers on very small screens */
    .divider {
        display: none !important;
    }
    
    /* Footer very small screens adjustments */
    footer {
        padding: 10px 5px !important;
        margin: 15px auto 0 auto !important;
        font-size: 10px !important;
        max-width: 100% !important;
    }
    
    footer::before {
        display: none !important;
    }
    
    /* Reduce padding */
    .profile {
        padding: 0 15px 5px 15px !important;
        margin-left: 0 !important;
    }
    
    .content.talk ul {
        padding-left: 15px !important;
    }
}


div.ftheader a:link,
div.ftheader a:visited,
div.ftsubheader a:link,
div.ftsubheader a:visited{color:#FFFFFF;text-decoration:none}
div.title a:link,
div.title a:visited{color:#000000}
div.authors a:link,
div.authors a:visited{color:#777777}
div.content a:hover,
div.content a:hover div.text,
div.ftsubheader a:hover{text-decoration:underline}
#span.jw{color:#000000;font-weight:600;text-decoration:underline}
#span.jw{color:#000000;font-weight:600}
span.author,span.tag{white-space:nowrap}
div.outercontainer{text-align:center}
div.header,div.container,div.content,div.img,div.text{display:inline-block;zoom:1;text-align:left;margin-left:auto;margin-right:auto;vertical-align:middle;max-width:1000px}
div.header,div.container{min-width:330px}
div.img,div.text{padding-left:10px;padding-right:10px}
div.header{line-height:50px}
div.ftheader,div.ftsubheader{display:inline-block;color:#FFF}
div.ftheader{float:left;padding-left:15px;font-size:1.17em}
div.ftsubheader{float:right;padding-left:10px;padding-right:20px}
div.outercontainer,div.content{padding-top:0px;padding-bottom:0px}
div.container,div.content{width:100%}
div.body{margin-top:50px}
div.content{margin-bottom:10px}
div.heading, div.front{text-align:left;position:relative;z-index:1}
div.heading div.img{padding:30px 30px 30px 10px;max-width:30%}
div.heading div.img img{width:200px}
div.heading span.tag{padding-right:15px}
div.heading ul{padding-bottom:0px}
div.publication{padding-top:0px;padding-bottom:20px}
div.publication div.img{max-width:300px;padding-right:0px;padding-top:5px}
div.publication div.text{max-width:650px;text-align:left;vertical-align:top}
div.authors{font-size:100%;color:#777777}
span.venue,span.highlight,
div.publication span.tag{padding-right:0px;font-size:100%}
span.highlight,
span.highlight a:link,
span.highlight a:visited{color:#BB2222}
span.fullvenue{padding-left:8px}
div.anchor{border-top:50px solid transparent;margin-top:-50px}
div.recruit{display:none}
div.group div.title{padding-left:12px}
div.group li{float:left;width:380px}
div.group li:nth-child(odd){padding-right:80px}
div.group ul.alumni li{float:left;width:100%}
/* Services single column override */
div.group ul.services-single-column li{float:none;width:100%}
div.group ul.services-single-column li:nth-child(odd){padding-right:0px}
div.talk span{float:left;width:320px}
div.talk iframe{padding-bottom:15px;border:0px}
@media only screen and (max-width: 639px) {
    div.ftsubheader{padding-left:5px;padding-right:10px}
    div.heading div.img{padding-right:80px}
    div.publication div.img{display:none}
    div.talk{display:none}
    div.publication div.text{text-align:left}
    div.content,div.publication{padding-top:0px;padding-bottom:10px}
    div.group li:nth-child(odd){padding-right:0px}
    body{font-size:80%}
}
@media only screen and (min-width: 640px) {
    div.heading div.img{padding-right:calc(35px)}
    div.heading div.info{padding-right:calc(40% - 350px)}
    div.publication div.text{padding-left:calc(10px + 2 * min(0px, calc(1% - 8.5px)))}
    div.publication div.text{padding-right:calc(10px + 2 * min(0px, calc(1% - 8.5px)))}
    div.publication div.img{width:24%}
    div.publication div.text{max-width:72%;text-align:left}
}
