/*!
 * blog.scss
 * 
 * Styles for 3D rendering page.
 */
/*!
 * _elements.scss
 * 
 * Base styles for standard HTML elements.
 * Includes root, body, a.
 */
:root {
  --transition: all 0.4s ease;
  --transition-link: all 0.2s ease;
  --transition-after-image: all 0.3s ease-in-out;
  --transition-fast: all 0.1s ease;
  --radius-sm: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-round: 50%;
  --header-hight: 4.5rem;
}

/* Safe: only hides outline when using mouse, not keyboard */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px dashed var(--bs-primary);
  outline-offset: 2px;
  border-radius: 0.1rem;
}

body {
  background-color: var(--bs-body-bg);
  font-family: "Source Sans 3";
  font-weight: 400;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Libre Franklin";
  font-weight: 900;
  color: var(--bs-body-color);
  line-height: 0.9;
}

@media (max-width: 767.98px) {
  h1, h2, h3, h4, h5, h6 {
    line-height: 1;
  }
}
h1 {
  font-size: 2rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
}

@media (min-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.6rem;
  }
  h5 {
    font-size: 1.3rem;
  }
  h6 {
    font-size: 0.9rem;
  }
  p {
    font-size: 1rem;
  }
}
@media (min-width: 1200px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.7rem;
  }
  h3 {
    font-size: 2.6rem;
  }
  h4 {
    font-size: 2.3rem;
  }
  h5 {
    font-size: 2rem;
  }
  h6 {
    font-size: 1.8rem;
  }
  p {
    font-size: 1rem;
  }
}
/*!
 * _classes.scss
 * 
 * Utility-based SCSS file containing global helper classes.
 * Includes reusable styling for spacing, text alignment, display, and other common patterns.
 */
.rtl {
  text-align: right;
}

.rtl-md {
  text-align: right;
}
@media (max-width: 767.98px) {
  .rtl-md {
    text-align: left;
  }
}

.small-h3 {
  font-family: "Source Sans 3";
  font-size: 1.9rem;
  font-weight: 500;
}

/*!
 * _components.scss
 * 
 * Styles for reusable UI components across the project.
 * Includes buttons, cards, modals, forms, and other interface elements.
 */
.section-details {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 2rem;
}
@media (max-width: 767.98px) {
  .section-details {
    background-color: unset;
    padding: unset;
  }
}

.section-details-white {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  color: var(--bs-body-color);
}

.btn-primary-01 {
  box-shadow: 0rem 0rem 1rem 0.1rem rgba(0, 0, 0, 0.3294117647);
  padding: 0.4rem 1.4rem;
  font-weight: 600;
  color: white;
  font-size: 1rem;
  border-radius: var(--radius-xl);
  background-color: var(--bs-primary) !important;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary-01:hover {
  background-color: var(--bs-primary-darker) !important;
  color: white;
}

/*!
 * _mixins.scss
 * 
 * Centralized SCSS mixins for layout utilities, responsiveness, and reusability across the project.
 * Include reusable styles like section layouts, media queries, and fallback handling for consistent styling.
 */
/*---------- Hero section ----------*/
#hero-section {
  width: 100%;
  background-image: url(../img/backgrounds/blog-hero-background.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 2.6666666667;
  position: relative;
}
@supports not (aspect-ratio: 1/1) {
  #hero-section::before {
    content: "";
    display: block;
    padding-top: calc(100% / (2.6666666667));
  }
}
@media (max-width: 767.98px) {
  #hero-section {
    min-height: 15rem;
    background-position: center center;
    position: relative;
    background-size: cover;
    background-color: var(--inner-section-bg);
  }
}
#hero-section .heading-1 {
  position: absolute;
  top: 41%;
  left: 5%;
  transform: translate(-50% -50%);
  border-left: 2px solid var(--bs-primary);
}
#hero-section .heading-1 .title {
  color: var(--bs-primary);
  text-transform: uppercase;
  position: relative;
  bottom: 0.3rem;
}
@media (min-width: 992px) {
  #hero-section .heading-1 .title {
    font-size: 4rem;
  }
}
#hero-section .heading-1 .tagline {
  position: relative;
  top: 0.2rem;
}
@media (min-width: 1200px) {
  #hero-section .heading-1 {
    top: 43%;
    left: 9%;
    transform: translate(-50% -50%);
  }
}
#hero-section .section-details {
  margin: auto;
  width: 80%;
  background-color: transparent;
}
#hero-section .section-details .heading {
  border-left: 2px solid var(--bs-primary);
}
#hero-section .section-details .heading .title {
  color: var(--bs-primary);
  text-transform: uppercase;
  position: relative;
  bottom: 0.3rem;
}
#hero-section .section-details .heading .tagline {
  position: relative;
  top: 0.2rem;
}
#hero-section .section-details .search #blog-search-form {
  position: relative;
}
#hero-section .section-details .search #blog-search-form .submit-btn {
  position: absolute;
  top: 0;
  left: 0.9rem;
  height: 100%;
  width: 2rem;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0;
}
#hero-section .section-details .search #blog-search-form .submit-btn::after {
  content: "";
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 1.2rem;
  background-image: url("../img/svg-icons/search.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
}
@media (min-width: 768px) {
  #hero-section .section-details {
    width: 30%;
  }
}
@media (min-width: 992px) {
  #hero-section .section-details {
    width: 35%;
  }
}

/*---------- Main blog ----------*/
#main-blog {
  background-image: url("../img/backgrounds/background-text-base.jpg");
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
}
#main-blog.articles-section .articles .article {
  background-color: var(--inner-section-bg);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
  min-height: 32rem;
}
#main-blog.articles-section .articles .article .thumbnail-wrapper {
  position: relative;
  overflow: hidden;
}
#main-blog.articles-section .articles .article .thumbnail-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.1) 45%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 55%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
#main-blog.articles-section .articles .article:hover .thumbnail-wrapper::after {
  transform: translateX(100%);
}
#main-blog.articles-section .articles .article .heading {
  color: var(--bs-body-bg);
}
#main-blog.articles-section .articles .article .heading .title {
  font-size: 1.07rem;
  font-weight: 600;
  color: var(--bs-primary);
  line-height: 1.3;
}
#main-blog.articles-section .articles .article .heading .date {
  font-weight: 500;
}
#main-blog.articles-section .articles .article .excerpt {
  color: var(--bs-body-bg);
}
#main-blog.articles-section .articles .article .excerpt p {
  font-size: 0.92rem;
}
@media (min-width: 768px) {
  #main-blog.articles-section .articles .article .excerpt p {
    font-size: 1rem;
  }
}

/*---------- Main single blog ----------*/
#main-single-blog {
  background-color: var(--inner-section-bg);
}
#main-single-blog .article-main {
  background-color: #fff;
}
#main-single-blog .article-main .article-meta {
  background-color: var(--inner-section-bg);
  color: var(--bs-primary-darker);
  font-weight: 700;
}
#main-single-blog .article-main .article-title {
  background-color: var(--bs-body-bg);
}
#main-single-blog .article-main .article-title h1 {
  color: var(--bs-body-color);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}
@media (min-width: 768px) {
  #main-single-blog .article-main .article-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
  }
}
@media (min-width: 1200px) {
  #main-single-blog .article-main .article-title h1 {
    font-size: 2rem;
    font-weight: 800;
  }
}
#main-single-blog .article-main .article-body {
  color: var(--bs-card-color-dark);
}
#main-single-blog .article-main .article-body p, #main-single-blog .article-main .article-body li {
  font-size: 0.98rem;
}
@media (min-width: 768px) {
  #main-single-blog .article-main .article-body p, #main-single-blog .article-main .article-body li {
    font-size: 1rem;
  }
}
@media (min-width: 1200px) {
  #main-single-blog .article-main .article-body p, #main-single-blog .article-main .article-body li {
    font-size: 1.1rem;
  }
}
#main-single-blog .article-main .article-body h1, #main-single-blog .article-main .article-body h2, #main-single-blog .article-main .article-body h3, #main-single-blog .article-main .article-body h4, #main-single-blog .article-main .article-body h5, #main-single-blog .article-main .article-body h6 {
  color: var(--bs-card-color-dark);
}
#main-single-blog .article-main .article-body h2 {
  color: var(--bs-card-color-dark);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}
@media (min-width: 768px) {
  #main-single-blog .article-main .article-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
  }
}
@media (min-width: 1200px) {
  #main-single-blog .article-main .article-body h2 {
    font-size: 1.8rem;
    font-weight: 800;
  }
}
#main-single-blog .article-main .article-body h3 {
  color: var(--bs-card-color-dark);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}
@media (min-width: 768px) {
  #main-single-blog .article-main .article-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
  }
}
@media (min-width: 1200px) {
  #main-single-blog .article-main .article-body h3 {
    font-size: 1.3rem;
    font-weight: 800;
  }
}

/*---------- Comments ----------*/
#blog-comments {
  background-color: var(--inner-section-bg);
}
#blog-comments .comments-wrapper {
  background-color: #fff;
  color: var(--bs-body-color);
}
#blog-comments .comments-wrapper .section-title,
#blog-comments .comments-wrapper .form-title {
  color: var(--bs-card-color-dark);
  font-weight: 700;
}
#blog-comments .comments-wrapper .comment {
  border: 1px solid var(--bs-light-border-subtle);
}
#blog-comments .comments-wrapper .comment .comment {
  border: none;
}
#blog-comments .comments-wrapper .comment .comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  object-fit: cover;
  border: 1px solid var(--bs-border-color);
}
#blog-comments .comments-wrapper .comment .comment-body .comment-meta {
  color: var(--bs-card-color-2);
}
#blog-comments .comments-wrapper .comment .comment-body .comment-meta .comment-author {
  font-weight: 600;
  color: var(--bs-card-color-dark);
  margin-right: 1rem;
}
#blog-comments .comments-wrapper .comment .comment-body .comment-meta .comment-date {
  font-size: 0.9rem;
  color: var(--bs-secondary-color);
}
#blog-comments .comments-wrapper .comment .comment-body .comment-text {
  color: var(--bs-card-color-2);
  font-size: 0.95rem;
  margin-bottom: 0;
}
#blog-comments .comments-wrapper .comment .comment .comment-avatar {
  width: 40px;
  height: 40px;
}
#blog-comments .comments-wrapper .comment .reply-btn {
  background: none;
  border: none;
  color: var(--bs-primary);
  font-size: 0.9rem;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
#blog-comments .comments-wrapper .comment .reply-btn:hover {
  color: var(--bs-primary-darker);
  text-decoration: none;
}
#blog-comments .comments-wrapper .comment-form label {
  color: var(--bs-card-color-dark);
}
#blog-comments .comments-wrapper .comment-form .btn-primary-01 {
  border: none;
  box-shadow: none;
}

/*# sourceMappingURL=blog.css.map */
