/* Blog article page (Articles/view.php) in the Touria blog-single design.
   The site's trimmed copy of the theme stylesheet has the article rules but
   not the sidebar widgets, so those come first here, verbatim from the
   theme (section 37); the tourEgitto additions follow. */

/*==========================
37. Blog sidebar widget css
============================*/
/* sidebar widget */
.blog-sidebar .widget {
  background: var(--theme-bg-light);
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 25px;
}

/* sidebar widget title */
.blog-sidebar .widget-title {
  padding-bottom: 10px;
  margin-bottom: 30px;
  position: relative;
  font-size: 22px;
  color: var(--color-dark);
  font-weight: 700;
}
.blog-sidebar .widget-title::before {
  position: absolute;
  content: "";
  width: 15px;
  border-bottom: 3px solid var(--theme-color);
  bottom: 0;
  left: 0;
}
.blog-sidebar .widget-title::after {
  position: absolute;
  content: "";
  width: 30px;
  border-bottom: 3px solid var(--theme-color);
  bottom: 0;
  left: 22px;
}

/* sidebar widget search */
.blog-sidebar .widget .search-form .form-group {
  position: relative;
}
.blog-sidebar .widget .search-form .form-control {
  padding-right: 50px;
}
.blog-sidebar .widget .search-form button {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  padding: 9px 18px 6px 18px;
  background: transparent;
  border: none;
  color: var(--theme-color);
}

/* sidebar widget recent post */
.blog-sidebar .widget .recent-post-item {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.blog-sidebar .widget .recent-post-img img {
  width: 75px;
  border-radius: 15px;
}
.blog-sidebar .widget .recent-post-info {
  flex: 1;
}
.blog-sidebar .widget .recent-post-info h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.blog-sidebar .widget .recent-post-info h5 a:hover {
  color: var(--theme-color);
}
.blog-sidebar .widget .recent-post-info span {
  font-size: 14px;
  color: var(--theme-color);
  font-weight: 500;
}
.blog-sidebar .widget .recent-post-info i {
  margin-right: 5px;
}

/* sidebar widget social */
.blog-sidebar .widget .social-link a {
  width: 35px;
  height: 35px;
  line-height: 32px;
  border: 2px solid var(--theme-color);
  color: var(--theme-color);
  text-align: center;
  margin-right: 5px;
  border-radius: 50px;
  transition: var(--transition);
}
.blog-sidebar .widget .social-link a:hover {
  background: var(--theme-color);
  color: var(--color-white);
}

/* sidebar widget tag */
.blog-sidebar .widget .tag-list a {
  background: var(--color-white);
  color: var(--color-dark);
  padding: 5px 18px;
  margin-bottom: 10px;
  margin-right: 10px;
  border-radius: 50px;
  display: inline-block;
  transition: var(--transition);
}
.blog-sidebar .widget .tag-list a:hover {
  background-color: var(--theme-color);
  color: var(--color-white);
}

/* ---------- tourEgitto additions ---------- */

/* long article titles in the hero */
.site-breadcrumb.site-breadcrumb-lg .blog-single-title {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  font-size: 44px;
  line-height: 1.2;
  text-transform: none;
}
@media (max-width: 991px) {
  .site-breadcrumb.site-breadcrumb-lg .blog-single-title {
    font-size: 34px;
  }
}
@media (max-width: 575px) {
  .site-breadcrumb.site-breadcrumb-lg .blog-single-title {
    font-size: 26px;
  }
}
.site-breadcrumb .breadcrumb-menu li.active {
  max-width: 100%;
  text-transform: none;
}

.blog-single .blog-thumb-img img {
  width: 100%;
  border-radius: 25px;
}
.blog-single .blog-meta-left ul li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* table of contents */
.blog-single .bs-toc {
  margin: 0 0 30px;
  padding: 24px 28px;
  border-radius: 20px;
  background: #fff7ef;
  border: 1px solid #fbe0c8;
}
.blog-single .bs-toc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
}
.blog-single .bs-toc-title i {
  color: var(--theme-color);
}
/* the CMS link labels carry their own numbering ("1- ...") */
.blog-single .bs-toc ol {
  margin: 0;
  padding-left: 4px;
  list-style: none;
}
.blog-single .bs-toc li {
  padding: 4px 0;
  color: var(--theme-color);
  font-weight: 600;
}
.blog-single .bs-toc a {
  color: var(--color-dark);
  font-weight: 500;
}
.blog-single .bs-toc a:hover {
  color: var(--theme-color);
}

/* article body typography (CMS HTML) */
.blog-single .bs-section {
  scroll-margin-top: 100px;
  margin-top: 30px;
}
.blog-single .bs-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--body-text-color);
}
.blog-single .bs-body h2,
.blog-single .bs-body h3,
.blog-single .bs-body h4 {
  margin: 28px 0 14px;
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.3;
}
.blog-single .bs-body h2 { font-size: 30px; }
.blog-single .bs-body h3 { font-size: 24px; }
.blog-single .bs-body h4 { font-size: 20px; }
.blog-single .bs-body > :first-child {
  margin-top: 0;
}
.blog-single .bs-body p {
  margin-bottom: 14px;
}
.blog-single .bs-body a {
  color: var(--theme-color);
  font-weight: 500;
}
.blog-single .bs-body a:hover {
  text-decoration: underline;
}
.blog-single .bs-body ul,
.blog-single .bs-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.blog-single .bs-body ul { list-style: disc; }
.blog-single .bs-body ol { list-style: decimal; }
.blog-single .bs-body li {
  margin-bottom: 6px;
}
.blog-single .bs-body img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}
.blog-single .bs-body table {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: collapse;
}
.blog-single .bs-body td,
.blog-single .bs-body th {
  padding: 8px 12px;
  border: 1px solid var(--border-info-color);
}
.blog-single .bs-figure {
  margin: 20px 0 0;
}
.blog-single .bs-figure img {
  width: 100%;
  border-radius: 20px;
}

/* sidebar */
.blog-sidebar .widget.bs-form-widget {
  padding: 0;
  background: none;
  margin-bottom: 0;
}
/* The form is the last widget and follows the scroll: the sidebar stretches
   to the article's height and the track takes the space left under the
   related tours, so the form can stick inside it. */
@media (min-width: 992px) {
  .blog-sidebar-col .blog-sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .blog-sidebar .bs-form-track {
    flex: 1 0 auto;
  }
  .blog-sidebar .bs-form-widget {
    position: sticky;
    top: 90px;
  }
}
.blog-sidebar .widget .search-form .form-control {
  height: 50px;
  border-radius: 50px;
  padding-left: 20px;
  border: 1px solid var(--border-info-color);
  background: #fff;
}
.blog-sidebar .widget .search-form button {
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 18px;
}
.blog-sidebar .widget .recent-post-img img {
  width: 75px;
  height: 75px;
  object-fit: cover;
}
.blog-sidebar .widget .recent-post-info h5 {
  font-size: 16px;
  line-height: 1.4;
}
.blog-sidebar .widget .recent-post-item:last-child {
  margin-bottom: 0;
}
.blog-sidebar .related-tours-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-sidebar .related-tours .tour-rate,
.blog-sidebar .related-tours .tour-location {
  display: none;
}

/* section heading on travel-guide pages (the section's own title) */
.blog-single .bs-section-title {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
}

/* The author/date row that used to sit between the image and the text is gone;
   give the content its own breathing room under the image. */
.blog-single .blog-single-content .blog-info {
  padding-top: 24px;
}

/* Title + breadcrumb trail sit under the banner image (the banner is image
   only), above the article and its sidebar. */
.blog-single .bs-head {
  margin-bottom: 36px;
}
.blog-single .bs-head-title {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
}
.blog-single .bs-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.blog-single .bs-crumbs li {
  display: inline-flex;
  align-items: center;
  color: var(--body-text-color);
}
.blog-single .bs-crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: #b5bbc7;
}
.blog-single .bs-crumbs li a {
  color: var(--color-dark);
}
.blog-single .bs-crumbs li a:hover {
  color: var(--theme-color);
}
.blog-single .bs-crumbs li.active {
  color: var(--theme-color);
}
@media (max-width: 767px) {
  .blog-single .bs-head-title {
    font-size: 26px;
  }
}
