@import url('/cbt/css/root-3e507b4799b69634f24b146cc3cac5c0.css');

.article-container {
    padding: 50px 20px 20px;
    margin: 0 auto;
    width: 80%;
    height: 100%;
    line-height: 1.7;
    font-family: 'Ubuntu', sans-serif;
    background-color: #ffffff;
    color: #222;
}

.banner {
    width: 100%;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-family: 'ubuntu', sans-serif;
}

.banner .title-text-section {
    background-color: var(--secondary-colour);
    border-radius: 10px;
}

.banner h1, h2 {
    text-align: center;
}

.banner p {
    margin: 2px;
}

.banner .author-section {
    text-align: center;
    font-size: 15px;
    background: grey;
    background-clip: content-box;
    border-radius: 10px;
    padding-top: 1px;
}

.banner .author-section p {
    margin: 2px;
}

.banner .article-avatar {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    width: 100px;
    height: 100px;
    border-color: white;
    border-style: dotted;
    border-width: 4px;
    border-radius: 50%;
}

.banner .article-banner {
    display: block;
    background-size: contain;
    background-position: center;
    min-height: 300px;
    object-fit: contain;
    border-radius: 20px;

    @media (min-width: 1200px) {
        min-height: 400px;
    }

    @media (max-width: 767px) {
        min-height: 200px;
    }
}

.banner .author-avatar {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    width: 100px;
    height: 100px;
    border-color: white;
    border-style: dotted;
    border-width: 4px;
    border-radius: 50%;
    background-color: white;
}

.tags {
    border-radius: 10%;
    padding-left: 10px;
    padding-right: 10px;
    color: black;
}

.extra-article-h2 {
    text-align: left;
}

.article-container .article-content {
    text-align: justify;
    font-size: 17px;
    letter-spacing: 0.2px;
}

.article-container .article-content h2,
.article-container .article-content h3 {
    text-align: left;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.3;
    color: #2d2d2d;
}

.article-container .article-content h2 {
    font-size: 24px;
    border-left: 4px solid #3d8644;
    padding-left: 10px;
}

.article-container .article-content h3 {
    font-size: 20px;
    color: #3d8644;
}

.article-container .article-content p {
    font-size: 18px;
    margin-bottom: 1em;
}

.article-container .article-content a {
    color: #3d8644;
    text-decoration: underline;
}

.article-container .article-content ul,
.article-container .article-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.article-container .article-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background-color: #f9f9f9;
    border-left: 4px solid #3d8644;
    font-style: italic;
    color: #555;
}

.article-container .comment-section {
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: black;
    max-width: 75%;
    font-family: 'ubuntu', sans-serif;
}

.recommended-article-thumbnail-cell {
    width: 15%;
}

.recommended-article-thumbnail {
    display: inline-block;
    overflow: hidden;
    border: 1px solid #ddd; /* Border color */
    border-radius: 4px; /* Rounded corners */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); /* Box shadow for a subtle effect */
    margin: 8px; /* Adjust the margin as needed */
}

.recommended-article-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

@media only screen and (max-width: 740px) {
    .article-container .comment-section {
        min-width: 100%;
    }

    .banner .author-section {
        margin-top: 5px;
    }

    .recommended-article-thumbnail-cell {
        width: auto;
    }
}

.comment-section .panel-body {
    margin-right: 10px;
    overflow: auto;
}

.comment-section .media-list .media img {
    width: 64px;
    height: 64px;
    border: 2px solid #e5e7e8;
}

.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}

.media-body {
    -ms-flex: 1;
    flex: 1;
}

.comment-section .media-list .media {
    border-bottom: 1px dashed #efefef;
    margin-bottom: 25px;
}

.profile-links a {
    color: white;
    text-decoration: none !important;
}

.search-article-result-thumbnail-cell {
    width: 15%;
}

.search-article-result-thumbnail {
    display: inline-block;
    overflow: hidden;
    border: 1px solid #ddd; /* Border color */
    border-radius: 4px; /* Rounded corners */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); /* Box shadow for a subtle effect */
    margin: 8px; /* Adjust the margin as needed */
}

.search-article-result-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

@media only screen and (max-width: 740px) {
    .search-article-result-thumbnail-cell {
        width: auto;
    }
}