.content-page-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.page-title {
    font-size: 1.9em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0;
    background: #c12a1a;
    padding: 5px 8px 7px;
    border-radius: 0px;
    text-align: center;
    line-height: 1em;
    margin: 0;
}

.page-intro {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.page-content {
    margin-bottom: 20px;
}

.content-body {
    line-height: 1.8;
    color: #333;
    font-size: 1.1em;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    color: #000;
    margin-top: 15px;
    margin-bottom: 0px;
    font-weight: bold;
}

.content-body h1 { font-size: 2em; }
.content-body h2 { font-size: 1.85em; }
.content-body h3 { font-size: 1.65em; }
.content-body h4 { font-size: 1.55em; }
.content-body h5 { font-size: 1.45em; }
.content-body h6 { line-height: 1em;font-size: 0.7em;padding: 20px 0 0;margin: 0; }

.content-body p {
    text-align: justify;
    font-size: 1.1em;
    line-height: 1.3;
    color: #000;
    margin: 5px 0 0;
}

.content-body ul,
.content-body ol {
    margin-bottom: 15px;
    padding-right: 25px;
    margin-top: 5px;
}

.content-body li {
    font-size: 1.1em;
    line-height: 1.3;
    color: #000;
    margin: 0;
    list-style-type: circle;
}

.content-body blockquote {
    border-right: 4px solid #1f1ed9;
    padding: 15px 20px;
    margin: 20px 0 0;
    background: #f8f9fa;
    border-radius: 8px;
}

.content-body code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.content-body pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.content-body pre code {
    background: none;
    padding: 0;
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
}

.content-body table th,
.content-body table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: right;
}

.content-body table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
}

.content-body table tr:nth-child(even) {
    background: #f9f9f9;
}

.content-body table tr:hover {
    background: #f5f5f5;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.content-body a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s;
}

.content-body a:hover {
    border-bottom-color: #007bff;
}

.no-content {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Associated Signs Styles */
.associated-signs-outer-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 0px;
    margin-bottom: 20px;
}

.associated-signs-section {
    margin-top: 30px;
    padding-top: 0px;
    border-top: 0px solid #f0f0f0;
}

.section-title {
    color: #000;
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 800;
}

.section-title i {
    color: #2b28d7;
    margin-left: 10px;
}

.signs-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.signs-row {
    display: contents;
}

.sign-item {
    width: 100%;
}

/* Center single sign */
.sign-item:only-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
}

.sign-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.sign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.sign-card .sign-image {
    position: relative;
    width: 100%;
    max-width: none;
    height: 240px;
    max-height: none;
    aspect-ratio: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sign-card .sign-image img {
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s;
}

.sign-card:hover .sign-image img {
    transform: scale(1.05);
}

.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
    text-align: center;
}

.no-image i {
    margin-bottom: 10px;
    color: #dee2e6;
}

.sign-info {
    padding: 5px 20px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.sign-title {
    color: #000;
    font-size: 1.8em;
    margin-bottom: 0px;
    font-weight: 800;
    margin: 0;
}

.sign-description {
    color: #000;
    margin-bottom: 0px;
    line-height: 1.3;
    background: none;
    border-right: 0px;
    margin: 0;
    padding: 15px;
}

.sign-card .btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px 0;
}

.no-signs {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-page-container {
        margin: 10px;
        padding: 15px;
    }
    
    .page-title {
        font-size: 2em;
    }
    
    .page-intro {
        font-size: 1.1em;
    }
    
    .content-body {
        font-size: 1em;
    }
    
    .content-body h1 { font-size: 1.7em; }
    .content-body h2 { font-size: 1.5em; }
    .content-body h3 { font-size: 1.3em; }
    .content-body h4 { font-size: 1.1em; }
    .content-body h5 { font-size: 1em; }
    .content-body h6 { font-size: 0.9em; }
    
    /* Associated Signs Responsive */
    .associated-signs-outer-container {
        padding: 0 15px;
    }
    
    .associated-signs-section {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .signs-grid {
        gap: 15px;
        grid-template-columns: 1fr;
    }
    
    /* Center single sign on mobile */
    .sign-item:only-child {
        max-width: 100%;
    }
    
    .sign-card {
        margin-bottom: 15px;
    }
    
    .sign-card .sign-image {
        height: 180px;
    }

    .sign-card .sign-image img {
        max-width: 150px;
        max-height: 150px;
    }
    
    .sign-info {
        padding: 15px;
    }
    
    .sign-title {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8em;
    }
    
    .content-page-container {
        margin: 0;
        padding: 15px;
        border-radius: 0;
        box-shadow: none;
    }
}
