/*
Single Post Styles - Article Content, Sidebar, Related Posts
*/

/* Single Post Template Wrapper */
.single-post-container {
    width: 950px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

.single-post-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.single-post-content {
    background: #fff;
}

/* Breadcrumbs */
.breadcrumbs-nav {
    margin-bottom: 0 0 10px;
    padding: 10px 0;
}

.breadcrumbs-container {
    font-size: 12px;
    color: #666;
    font-family: 'Roboto Condensed', sans-serif;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #16a085;
}

.breadcrumb-separator {
    margin: 0 2px;
    color: #999;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
}

.article-category-badge {
    margin-bottom: 15px;
    display: none;
}

.category-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #151515;
    margin-bottom: 20px;
    margin-top: 0;
    font-family: 'Roboto', sans-serif;
}

.article-meta {
    padding-bottom: 20px;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #1a936f;
    font-family: 'Roboto', sans-serif;
}

.meta-label {
    color:#1a936f;
}

.author-name,
.updated-date {
    color: #1a936f;
}

.meta-separator {
    color: #1a936f;
}

/* Simple Meta Info */
.simple-meta-info {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.simple-meta-info {
    font-size: 14px;
    color: #1a936f;
    font-family: 'Roboto', sans-serif;
}

.simple-author,
.simple-date {
    color: #1a936f;
    font-weight: 400;
}

.simple-meta-info .meta-separator {
    color: #1a936f;
    margin: 0 8px;
}

/* Article Excerpt */
.article-excerpt {
    margin-top: 20px;
    border-bottom: 1px solid #eee;
}

.article-excerpt p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    font-style: italic;
    margin: 0;
    text-align: justify;
}

/* Featured Image */
.article-featured-image {
    margin: 30px 0;
}

.featured-image-figure {
    margin: 0;
    text-align: center;
}

.featured-image {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.placeholder-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: linear-gradient(135deg, #1a936f 0%, #16a085 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

/* Article Content */
.article-content {
    margin: 30px 0;
}

.content-wrapper {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.content-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 20px;
    color: #151515;
}

.content-wrapper h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #151515;
}

.content-wrapper p {
    margin-bottom: 20px;
    text-align: justify;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-wrapper li {
    margin-bottom: 8px;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.content-wrapper blockquote {
    border-left: 4px solid #1a936f;
    padding: 20px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Article Footer */
.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.tag-link {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #1a936f;
    color: white;
}

/* Sidebar */
.single-post-sidebar {
    background: #fff;
}

.sidebar-section {
    padding: 0;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    text-transform: uppercase;
    line-height: 21px;
    font-weight: 500;

}

/* Related Articles - Simple Design */
.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.related-article-item-simple {
    background: #fff;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.related-article-item-simple:last-child {
    border-bottom: none;
}

.related-article-item-simple:hover {
    background-color: #f8f9fa;
}

.related-article-link-simple {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 15px 0;
    gap: 12px;
}

.related-article-image-simple {
    width: 80px;
    height: 55px;
    flex-shrink: 0;
}

.related-thumb-simple {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-item-simple:hover .related-thumb-simple {
    transform: scale(1.05);
}

.related-article-content-simple {
    flex: 1;
}

.related-article-title-simple {
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    margin: 0;
    color: #333;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-item-simple:hover .related-article-title-simple {
    color: #1a936f;
}

.no-related-articles {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-size: 14px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.no-related-articles a {
    color: #1a936f;
    text-decoration: none;
}

.no-related-articles a:hover {
    text-decoration: underline;
}

/* Advertisement Section */
.ad-section {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    text-align: center;
}

.ad-content {
    padding: 20px;
}

.ad-label {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: 'Roboto Condensed', sans-serif;
}

.ad-space {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 4px;
    color: #999;
}

/* Discover More Section */
.discover-more {
    padding: 0;
    margin: 20px 0;
}

div > .discover-more > .container{
    padding: 0 !important;
}

.discover-title {
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: #151515;
    line-height: 18px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 1px;
    position: relative;
}

.discover-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1a936f;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Ensure only 3 items are shown */
.discover-article:nth-child(n+4) {
    display: none;
}

.discover-article {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.discover-article-link {
    display: block;
    text-decoration: none;
    color: #1a936f;
    font-size: 12px;
}

.discover-article-image {
    width: 100%;
    height: 169px;
    overflow: hidden;
}

.discover-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.discover-article-title {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 10px;
    color: #151515;
}

.discover-article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.no-discover-posts {
    text-align: center;
    color: #666;
    font-size: 16px;
    padding: 40px 20px;
    grid-column: 1 / -1;
} 

.discover-article-category {
    background: transparent;
    color: #1a936f;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: block;
    font-weight: 700;
    font-family: 'Roboto Condensed';
}