/* mohs8con - Plain styling with basic graphics */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo-img {
    max-width: 150px;
    height: auto;
}

/* Header */
header {
    text-align: center;
    padding: 40px 0 20px;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #222;
    margin-bottom: 10px;
}

header .date {
    font-size: 1rem;
    color: #666;
}

/* Navigation */
nav {
    text-align: center;
    padding: 15px 0;
    margin-bottom: 10px;
}

nav a {
    color: #555;
    text-decoration: none;
    margin: 0 15px;
    padding: 5px 10px;
    font-size: 0.95rem;
    transition: color 0.2s;
    border: 1px solid transparent;
}

nav a:hover {
    color: #000;
}

nav a.active {
    color: #000;
    border: 1px solid #ddd;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    max-width: 150px;
}

.divider-symbol {
    margin: 0 15px;
    color: #aaa;
    font-size: 0.7rem;
}

/* Main Content */
main {
    padding: 20px 0;
}

section {
    margin-bottom: 35px;
}

h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

h2::before {
    content: "// ";
    color: #aaa;
    font-weight: 300;
}

p {
    margin-bottom: 15px;
    color: #444;
}

/* Intro */
.intro p {
    font-size: 1.05rem;
}

.affiliation {
    font-size: 0.95rem !important;
    color: #666;
    margin-top: 10px;
}

.affiliation a {
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #aaa;
    transition: color 0.2s, border-color 0.2s;
}

.affiliation a:hover {
    color: #000;
    border-color: #333;
}

/* Accent Box */
.accent-box {
    position: relative;
    padding: 30px 40px;
    margin: 40px 0;
    text-align: center;
    background: #f5f5f5;
}

.accent-box p {
    margin: 0;
    font-size: 1.05rem;
    color: #333;
}

.corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: #999;
    border-style: solid;
}

.corner.tl {
    top: 8px;
    left: 8px;
    border-width: 2px 0 0 2px;
}

.corner.tr {
    top: 8px;
    right: 8px;
    border-width: 2px 2px 0 0;
}

.corner.bl {
    bottom: 8px;
    left: 8px;
    border-width: 0 0 2px 2px;
}

.corner.br {
    bottom: 8px;
    right: 8px;
    border-width: 0 2px 2px 0;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.detail-icon {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 10px;
}

.detail-item strong {
    color: #333;
    margin-bottom: 5px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-item span {
    color: #555;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.register-link {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: background-color 0.2s, color 0.2s;
    margin: 15px 0;
}

.register-link:hover {
    background-color: #333;
    color: #fff;
}

.signature {
    font-family: 'Courier New', monospace;
    color: #666;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Sponsors Page */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 150px;
}

.sponsor-item:hover {
    border-color: #999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sponsor-logo {
    max-width: 180px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.2s;
}

.sponsor-item:hover .sponsor-logo {
    opacity: 0.8;
}

.sponsor-name {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsor-cta {
    margin-top: 50px;
    text-align: center;
}

@media (max-width: 500px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    color: #888;
    font-size: 0.85rem;
}

/* Talks Page */
.talk {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin-bottom: 20px;
}

.talk-marker {
    color: #888;
    font-size: 1.2rem;
    margin-right: 20px;
    margin-top: 2px;
}

.talk-content {
    flex: 1;
}

.talk h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.talk .speaker {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.talk .abstract {
    color: #444;
    margin-bottom: 0;
}

.talk-template {
    background: #f9f9f9;
    border: 1px dashed #ccc;
}

.talk-template h3,
.talk-template .speaker,
.talk-template .abstract {
    color: #999;
}

.talk-template .talk-marker {
    color: #ccc;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    nav a {
        display: block;
        margin: 10px 0;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .accent-box {
        padding: 25px 20px;
    }
}
