/* Nerdminer Online - Tech/Mining Theme CSS */

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    background-attachment: fixed;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 10px 0;
    margin: 0 0 20px 0;
    background: rgba(247, 147, 26, 0.1);
    border-radius: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(247, 147, 26, 0.3);
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li + li:before {
    content: "›";
    margin: 0 10px;
    color: #f7931a;
}

.breadcrumb a {
    color: #f7931a;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ff9500;
    text-decoration: underline;
}

/* Container */
.container {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(247, 147, 26, 0.2);
    border: 1px solid rgba(247, 147, 26, 0.1);
}

/* Typography */
h1 {
    color: #f7931a;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    background: linear-gradient(90deg, #f7931a, #ff9500, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(247, 147, 26, 0.3);
}

h2 {
    color: #ff9500;
    font-size: 2rem;
    margin: 40px 0 20px 0;
    border-left: 5px solid #f7931a;
    padding-left: 15px;
    text-shadow: 0 2px 10px rgba(247, 147, 26, 0.3);
}

h3 {
    color: #ffa500;
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
}

h4 {
    color: #ffb84d;
    font-size: 1.2rem;
    margin: 25px 0 12px 0;
}

p {
    margin-bottom: 15px;
    text-align: justify;
    color: #e0e0e0;
}

/* Intro Box */
.intro {
    font-size: 1.1rem;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(45, 53, 97, 0.3) 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #f7931a;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.1);
}

/* Infographic */
.infographic {
    background: linear-gradient(135deg, #2d3561 0%, #1a1f3a 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
    border: 2px solid #f7931a;
    box-shadow: 0 0 30px rgba(247, 147, 26, 0.2);
}

.infographic h3 {
    color: #f7931a;
    margin-top: 0;
}

/* Timeline */
.timeline {
    background: rgba(45, 53, 97, 0.3);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid rgba(247, 147, 26, 0.2);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 8px;
    border-left: 3px solid #f7931a;
}

.timeline-date {
    background: linear-gradient(135deg, #f7931a, #ff9500);
    color: #0a0e27;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 15px;
    min-width: 100px;
    text-align: center;
}

/* Statistics */
.statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: linear-gradient(135deg, #2d3561, #1a1f3a);
    color: #f7931a;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.2);
    border: 1px solid rgba(247, 147, 26, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(247, 147, 26, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #f7931a, #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Highlight Box */
.highlight-box {
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #f7931a;
}

/* Flag Colors - Bitcoin Theme */
.flag-colors {
    display: flex;
    height: 60px;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.3);
}

/* Celebration Grid */
.celebration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.celebration-card {
    background: linear-gradient(135deg, rgba(45, 53, 97, 0.5) 0%, rgba(26, 31, 58, 0.5) 100%);
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid #f7931a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.celebration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.3);
}

/* Quote */
.quote {
    font-style: italic;
    background: rgba(45, 53, 97, 0.3);
    padding: 20px;
    border-left: 4px solid #f7931a;
    margin: 25px 0;
    border-radius: 8px;
}

/* Table of Contents */
.toc {
    background: rgba(45, 53, 97, 0.3);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border: 1px solid rgba(247, 147, 26, 0.2);
}

.toc h2 {
    margin: 0 0 20px 0;
    padding: 0;
    color: #f7931a;
    border: none;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.toc li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #f7931a;
    font-weight: bold;
}

.toc a {
    color: #ff9500;
    text-decoration: none;
    transition: color 0.3s;
}

.toc a:hover {
    color: #ffa500;
    text-decoration: underline;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    margin: 40px 0;
    border-collapse: collapse;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.95em;
}

.comparison-table th {
    background: linear-gradient(135deg, #2d3561 0%, #1a1f3a 100%);
    color: #f7931a;
    padding: 16px 12px;
    text-align: left;
    font-size: 1em;
    border-bottom: 2px solid #f7931a;
}

.comparison-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(247, 147, 26, 0.1);
    background: rgba(26, 31, 58, 0.3);
    color: #e0e0e0;
}

.comparison-table tr:hover td {
    background: rgba(45, 53, 97, 0.5);
}

.comparison-table .highlight-row {
    background: rgba(247, 147, 26, 0.15) !important;
    font-weight: 600;
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, #2d3561 0%, #1a1f3a 100%);
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.2);
    position: relative;
    border: 1px solid rgba(247, 147, 26, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    color: #f7931a;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 15px 0;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(247, 147, 26, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(247, 147, 26, 0.1);
    color: #f7931a;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #f7931a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* FAQ Section */
.faq-container {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(247, 147, 26, 0.2);
    margin-top: 40px;
    border: 1px solid rgba(247, 147, 26, 0.1);
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f7931a;
}

.faq-header h2 {
    color: #f7931a;
    font-size: 2.5rem;
    margin-bottom: 15px;
    border: none;
    padding: 0;
}

.faq-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin: 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(247, 147, 26, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.faq-question {
    background: rgba(45, 53, 97, 0.5);
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(247, 147, 26, 0.2);
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(45, 53, 97, 0.7);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #f7931a;
    padding-right: 30px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: bold;
    color: #f7931a;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 20px;
    background: rgba(26, 31, 58, 0.3);
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-answer.show {
    display: block;
}

.faq-answer p {
    margin: 0;
    text-align: justify;
    line-height: 1.7;
    color: #e0e0e0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-intro {
    background: rgba(247, 147, 26, 0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #f7931a;
    margin-bottom: 30px;
}

.faq-intro p {
    margin: 0;
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    color: #e0e0e0;
    margin-top: 60px;
    padding: 0;
    border-top: 4px solid #f7931a;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 50px 40px;
}

.footer-section h3 {
    color: #f7931a;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff9500;
    font-weight: bold;
}

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

.footer-content p {
    margin-bottom: 15px;
    color: #b0b0b0;
}

.footer-content strong {
    color: #f7931a;
}

.footer-content a {
    color: #ff9500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #ffa500;
    text-decoration: underline;
}

.footer-bottom {
    background: rgba(10, 14, 39, 0.8);
    border-top: 1px solid rgba(247, 147, 26, 0.2);
    padding: 25px 40px;
    text-align: center;
}

.footer-bottom-content p {
    margin: 5px 0;
    color: #b0b0b0;
}

.footer-tagline {
    font-size: 0.9rem;
    font-style: italic;
}

.footer-tagline a {
    color: #f7931a;
    text-decoration: none;
    font-weight: bold;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .statistics {
        grid-template-columns: 1fr;
    }

    .celebration-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-date {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .burger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        border-radius: 0 0 10px 10px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
        border: 1px solid rgba(247, 147, 26, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        padding: 15px;
        color: #e0e0e0;
        border-bottom: 1px solid rgba(247, 147, 26, 0.1);
    }

    .nav-link:hover {
        background-color: rgba(247, 147, 26, 0.15);
        color: #f7931a;
    }

    .breadcrumb {
        margin-top: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }

    .footer-bottom {
        padding: 20px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        font-size: 0.9rem;
    }

    .footer-grid {
        padding: 20px 15px;
    }
}

/* Dropdown Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7em;
    margin-left: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 31, 58, 0.98);
    min-width: 220px;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    list-style: none;
    border: 1px solid rgba(247, 147, 26, 0.2);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #90caf9;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95em;
}

.dropdown-menu a:hover {
    background: rgba(247, 147, 26, 0.15);
    color: #f7931a;
    padding-left: 25px;
}

.nav-item.dropdown.active .dropdown-menu {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(45, 53, 97, 0.5);
        margin: 5px 0;
        border-left: 3px solid #f7931a;
    }
    
    .dropdown-menu a {
        padding-left: 30px;
        font-size: 0.9em;
    }
    
    .dropdown-menu a:hover {
        padding-left: 35px;
    }
}
.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    cursor: pointer;
    padding: 20px;
    background: rgba(45,53,97,0.3);
    border-radius: 8px;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(45,53,97,0.5);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px;
}

/* Datenschutz-Block im Footer */
.footer-datenschutz {
    background: rgba(45, 53, 97, 0.3);
    border: 1px solid rgba(247, 147, 26, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    line-height: 1.7;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.footer-datenschutz h4 {
    color: #f7931a;
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff9500;
    padding-bottom: 8px;
}

.footer-datenschutz p {
    color: #b0b0b0;
    margin-bottom: 12px;
}

.footer-datenschutz ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0;
}

.footer-datenschutz ul li {
    margin: 6px 0;
    padding-left: 22px;
    position: relative;
    color: #e0e0e0;
}

.footer-datenschutz ul li::before {
    content: "✔";
    color: #f7931a;
    font-weight: bold;
    position: absolute;
    left: 0;
}


/* ========================================
   RESPONSIVE FIXES
   ======================================== */

/* Table Responsiveness */
@media (max-width: 992px) {
    .comparison-table {
        font-size: 0.85em;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 768px) {
    /* Make tables scrollable on mobile */
    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.8em;
    }
    
    .comparison-table thead,
    .comparison-table tbody,
    .comparison-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 6px;
        font-size: 0.85em;
    }
    
    /* Alternative: Stack table cells vertically */
    .comparison-table.stack-mobile {
        display: block;
    }
    
    .comparison-table.stack-mobile thead {
        display: none;
    }
    
    .comparison-table.stack-mobile tbody,
    .comparison-table.stack-mobile tr,
    .comparison-table.stack-mobile td {
        display: block;
        width: 100%;
    }
    
    .comparison-table.stack-mobile tr {
        margin-bottom: 20px;
        border: 1px solid rgba(247, 147, 26, 0.2);
        border-radius: 8px;
        padding: 10px;
    }
    
    .comparison-table.stack-mobile td {
        text-align: left;
        padding: 8px 10px;
        border: none;
        position: relative;
        padding-left: 50%;
    }
    
    .comparison-table.stack-mobile td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        font-weight: bold;
        color: #f7931a;
    }
}

/* Infographic responsiveness */
@media (max-width: 768px) {
    .infographic {
        padding: 20px 15px;
    }
    
    .infographic h3 {
        font-size: 1.2rem;
    }
    
    .infographic p {
        font-size: 0.95em;
    }
}

/* Statistics Grid */
@media (max-width: 480px) {
    .statistics {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Celebration Grid - Better mobile stacking */
@media (max-width: 768px) {
    .celebration-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .celebration-card {
        padding: 20px 15px;
    }
}

/* Timeline improvements */
@media (max-width: 480px) {
    .timeline {
        padding: 15px;
    }
    
    .timeline-item {
        padding: 12px;
    }
    
    .timeline-date {
        font-size: 0.85em;
        padding: 6px 10px;
        min-width: 80px;
    }
}

/* Breadcrumb overflow fix */
@media (max-width: 480px) {
    .breadcrumb {
        padding: 10px 15px;
        font-size: 0.9em;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .breadcrumb li {
        white-space: nowrap;
    }
}

/* Navigation improvements */
@media (max-width: 768px) {
    .nav-brand {
        font-size: 1.1rem;
    }
    
    .nav-container {
        padding: 0 15px;
    }
}

/* Highlight boxes */
@media (max-width: 768px) {
    .highlight-box {
        padding: 15px;
        font-size: 0.95em;
    }
    
    .highlight-box h4 {
        font-size: 1.1rem;
    }
}

/* FAQ improvements */
@media (max-width: 768px) {
    .faq-container {
        padding: 30px 20px;
    }
    
    .faq-header h2 {
        font-size: 2rem;
    }
    
    .faq-header p {
        font-size: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1.05rem;
        padding-right: 25px;
    }
    
    .faq-question::after {
        font-size: 1.5rem;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 1.6rem;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer {
        padding: 15px;
        font-size: 0.95em;
    }
}

/* Quote responsiveness */
@media (max-width: 768px) {
    .quote {
        padding: 15px;
        font-size: 0.95em;
    }
}

/* TOC improvements */
@media (max-width: 768px) {
    .toc {
        padding: 20px 15px;
    }
    
    .toc h2 {
        font-size: 1.5rem;
    }
}

/* Intro section */
@media (max-width: 768px) {
    .intro {
        padding: 20px 15px;
        font-size: 1rem;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    body {
        padding: 5px;
    }
    
    .container {
        padding: 15px;
        border-radius: 10px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
}

/* Footer Datenschutz block */
@media (max-width: 768px) {
    .footer-datenschutz {
        padding: 20px 15px;
    }
    
    .footer-datenschutz h4 {
        font-size: 1.1rem;
    }
}

/* Prevent horizontal overflow */
* {
    max-width: 100%;
}

img {
    height: auto;
}

/* Fix for monospace code overflow */
@media (max-width: 768px) {
    [style*="font-family:monospace"] {
        font-size: 0.85em;
        word-break: break-word;
    }
}