﻿.gua-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin-top: 20px;
}

h1 {
    font-size:30px;
}

h3 {
    font-size: 22px;
}

.gua-header {
    text-align: center;
    border-bottom: 2px solid #eee;
    margin-top:20px;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.yao-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    min-height: 60px;
}
 

/* Left Side: The Yao Line Drawing */
.yao-visual {
    flex: 0 0 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 5px;
}

.line {
    height: 12px;
    background-color: #000;
    width: 100%;
    position: relative;
}

/* Yang Line: Solid */
.line-yang {
    width: 100px;
}

/* Yin Line: Broken */
.line-yin {
    width: 100px;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
}

    .line-yin::before, .line-yin::after {
        content: "";
        height: 12px;
        background-color: #000;
        width: 42%;
    }

/* Right Side: Translation/Notes */
.yao-content {
    flex: 1;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #ddd;
}

.yao-label {
    font-weight: bold;
    font-size: 0.8em;
    color: #666;
    margin-bottom: 5px;
    display: block;
}
