/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* Background Ligh */
:root {
  --primary: #1974e6;
  --primary-dark: #1252a1;
  --accent: #8a6b3f;
  --text: #12181f;
  --text-inverse: #ffffff;
  --border: rgba(18, 24, 31, 0.12);
  --radius: 12px;
  --hover: rgba(25, 116, 230, 0.08);
}

.content-home,
.taxonomy-description {
  max-height: 400px;
  overflow-y: scroll;
  padding-right: 8px;
}

.taxonomy-description {
  max-height: 200px;
}



.content-home::-webkit-scrollbar,
.taxonomy-description::-webkit-scrollbar {
  width: 8px;
}

.content-home::-webkit-scrollbar-track,
.taxonomy-description::-webkit-scrollbar-track {
  background: rgba(18, 24, 31, 0.06);
  border-radius: 10px;
}

.content-home::-webkit-scrollbar-thumb,
.taxonomy-description::-webkit-scrollbar-thumb {
  background: linear-gradient(181deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
}

.content-home::-webkit-scrollbar-thumb:hover,
.taxonomy-description::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.15);
}

.content-home,
.taxonomy-description {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(18, 24, 31, 0.06);
  margin-bottom: 20px
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  color: var(--text);
  border-radius: var(--radius);
  overflow: hidden;
}

table tr:first-child {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

table tr:first-child span {
  color: var(--text-inverse);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 14px;
}

table tr:not(:first-child) {
  transition: background 0.2s ease;
}

table tr:not(:first-child):nth-child(even) {
  background: rgba(18, 24, 31, 0.04);
}

table tr:not(:first-child):hover {
  background: var(--hover);
}

table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}

table td:first-child {
  padding-left: 10px
}

table tr:first-child td {
  border-bottom: 2px solid var(--accent);
}

table tr:first-child td:first-child {
  border-top-left-radius: var(--radius);
}

table tr:first-child td:last-child {
  border-top-right-radius: var(--radius);
}

table tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius);
}

table tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius);
}

table tr:not(:first-child) td:nth-child(2) span {
  color: var(--accent);
  font-weight: 600;
}

.wp-caption img {
  border-radius: 5px 5px 0 0
}

.wp-caption .wp-caption-text {
  color: var(--text-inverse);
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
}

.entry-image img {
  border-radius: 5px;
  border: 1px solid var(--border);
}

.entry-header-text .entry-divider {
  display: none
}

/* Post List */
#post-list .box-image {
  border-radius: 5px 0px 0px 5px;
  border: 1px solid var(--primary);
  overflow: hidden;
  border-right: none
}

#post-list .box-text {
  border-radius: 0px 5px 5px 0px;
  border: 1px solid var(--primary);
  overflow: hidden;
  border-left: none
}

.section-title b {
  display: none
}

.widget .current-cat {
  color: var(--text);
}

.widget .current-cat>a {
  color: var(--accent);
  font-weight: 600;
}

.section-title.section-title-center {
  justify-content: center;
  text-align: center;
}

#page-breadcrumbs {
  margin-top: 10px;
}

#page-breadcrumbs a {
  font-weight: 600;
}

#page-breadcrumbs+#content {
  padding-top: 0;
}