/* Blog Content Typography - Roundy Template Compatible */
.post-content {
    font-size: 18px;
    line-height: 30px;
    color: #404040;
}

.post-content h2 {
    font-size: 32px;
    font-weight: bold;
    line-height: 40px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #000;
    font-family: 'Playfair Display', serif;
}

.post-content h3 {
    font-size: 26px;
    font-weight: bold;
    line-height: 35px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #000;
    font-family: 'Playfair Display', serif;
}

.post-content p {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 20px;
    color: #404040;
}

.post-content a {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

.post-content a:hover {
    text-decoration: none;
}

.post-content strong {
    font-weight: bold;
    color: #000;
}

.post-content em {
    font-style: italic;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
    line-height: 28px;
}

.post-content blockquote {
    border-left: 4px solid #EDEDED;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

.post-content code {
    background-color: #EDEDED;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

.post-content pre {
    background-color: #FCFAFA;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content pre code {
    background-color: transparent;
    padding: 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
}

.post-content table th,
.post-content table td {
    padding: 10px;
    border: 1px solid #EDEDED;
}

.post-content table th {
    background-color: #FCFAFA;
    font-weight: bold;
}

.post-content hr {
    border: none;
    border-top: 1px solid #EDEDED;
    margin: 30px 0;
}

/* Responsive Video/Iframe Wrapper */
.post-content .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px 0;
    border-radius: 5px;
}

.post-content .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.post-content iframe {
    max-width: 100%;
    border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-content {
        font-size: 16px;
        line-height: 26px;
    }
    
    .post-content h2 {
        font-size: 26px;
        line-height: 32px;
    }
    
    .post-content h3 {
        font-size: 22px;
        line-height: 28px;
    }
}
