/* ==========================================================================
   Kubrik Template - Joomla 6
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Page backgrounds */
  --color-page-bg: #2D1A16;
  --color-page-black: #000000;

  /* Text colors */
  --color-text-primary: #E9E4E2;
  --color-text-secondary: #D8CECB;
  --color-text-muted: #CAC4BF;
  --color-text-footer: #B9B2AC;

  /* Heading colors */
  --color-heading-h1: #9E938A;
  --color-heading-h2: #9E938A;
  --color-heading-h3: #B2AAA3;
  --color-heading-h4: #CAC4BF;
  --color-post-header: #D6A88F;

  /* Links */
  --color-link: #E3A35F;
  --color-link-visited: #83776D;
  --color-link-hover: #FEE3B4;

  /* Footer links */
  --color-footer-link: #FDD590;
  --color-footer-link-hover: #FDCA72;

  /* Block/module colors */
  --color-block-bg: #140C0A;
  --color-block-header-bg: rgba(9, 6, 6, 0.25);
  --color-block-header-border: rgba(40, 26, 26, 0.58);
  --color-block-header-text: #D0BAA4;
  --color-block-border: rgba(141, 111, 104, 0.21);

  /* Sheet/wrapper */
  --color-sheet-bg: rgba(179, 152, 143, 0.13);
  --color-sheet-border: rgba(199, 193, 188, 0.2);

  /* Header */
  --color-header-border: rgba(40, 26, 26, 0.5);

  /* Footer */
  --color-footer-bg: #2E241F;

  /* Typography */
  --font-body: Verdana, Geneva, Arial, Helvetica, sans-serif;
  --font-heading: 'Trebuchet MS', Arial, Helvetica, sans-serif;
  --font-nav: Tahoma, Arial, Helvetica, sans-serif;
  --font-size-base: 13px;
  --line-height-base: 1.5;
}

/* --------------------------------------------------------------------------
   Base Styles
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-primary);
  background-color: var(--color-page-bg);
  background-image: url('../images/page-brick.png');
  background-repeat: repeat;
  background-attachment: fixed;
  min-width: 1000px;
  margin: 0;
  padding: 0;
}

/* Page bottom gradient overlay */
.gradient-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}


/* --------------------------------------------------------------------------
   Glare Overlay - decorative, on top left
   -------------------------------------------------------------------------- */
.glare-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/page-glare.png');
  background-repeat: no-repeat;
  background-position: top left;
  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Page Wrapper
   -------------------------------------------------------------------------- */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 1000px;
  margin: 9px auto 0;
  padding-bottom: 20px;
  background: var(--color-sheet-bg);
  border-radius: 4px;
  box-shadow: 0 0 7px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-sheet-border);
  border-bottom: none;
  border-left: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  width: 1000px;
  height: 150px;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.24);
  border: 1px solid var(--color-header-border);
  border-top: none;
  border-bottom: none;
  position: relative;
  background-image: url('../images/header-bg.jpg');
  background-position: 0 0;
  background-repeat: no-repeat;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  padding-left: 75px;
  margin-top: 10px;
}

.header-logo a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-quote {
  position: absolute;
  top: 75px;
  right: 80px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
}

.quote-bird {
  position: absolute;
  bottom: 18px;
  right: 172px;
}

.quote-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: bold;
  font-style: italic;
  text-align: center;
  line-height: 125%;
  color: #F3F2F2;
  text-shadow: 0px 0px 6px rgba(23, 23, 23, 0.98);
}

/* --------------------------------------------------------------------------
   Content Row (Three-Column Layout)
   -------------------------------------------------------------------------- */
.content-row {
  display: flex;
  gap: 0;
}

.sidebar-left {
  width: 200px;
  flex-shrink: 0;
}

.main-content {
  flex: 1;
  padding: 14px;
  color: var(--color-text-secondary);
}

.sidebar-right {
  width: 200px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Blog/Article Columns
   -------------------------------------------------------------------------- */
.blog-items {
  display: grid;
  gap: 20px;
}

.blog-items.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.blog-items.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* --------------------------------------------------------------------------
   Sidebar Blocks (Module Chrome)

   STRUCTURE:
   ┌─────────────────────────────────┐
   │ .sidebar-block                  │ ← Outer wrapper (border, shadow, margin)
   │ ┌─────────────────────────────┐ │
   │ │ .block-header               │ │ ← Dark header bar with title
   │ │ ┌─────────────────────────┐ │ │
   │ │ │ h3 "Galvenā izvēlne"    │ │ │ ← Title text (muted tan color)
   │ │ └─────────────────────────┘ │ │
   │ │ ─────────────────────────── │ │ ← border-bottom (dark divider line)
   │ └─────────────────────────────┘ │
   │ ┌─────────────────────────────┐ │
   │ │ .block-content              │ │ ← Content area (menu items, banners, etc)
   │ │   » Sākumlapa               │ │
   │ │   » Kontakti                │ │
   │ └─────────────────────────────┘ │
   └─────────────────────────────────┘

   ----------------------------------------------------------------------- */

/* OUTER WRAPPER - the entire block box
   - Background color shows through as the content area bg
   - Border around the whole block
   - block.png texture overlaid */
.sidebar-block,
.sidebar-blockart-vmenu {
  background-color: #3d2922;
  background-image:
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%),
    url('../images/block.png');
  background-repeat: no-repeat, repeat;
  border: 1px solid #57463a;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.09);
  margin: 8px;
}

/* HEADER BAR - dark strip at top containing the title
   - Sits above the content area
   - border-bottom creates the divider line between header and content */
.sidebar-block .block-header,
.sidebar-blockart-vmenu .block-header {
  background-color: rgba(34, 21, 15, 0.5);
  border-bottom: 3px solid #2b1c1a;
  padding: 2px 5px;
  margin: 0 auto;
}

/* HEADER TITLE TEXT - "Galvenā izvēlne", "Video"
   - Muted tan/beige color
   - Slight glow/shadow effect */
.sidebar-block .block-header h3,
.sidebar-blockart-vmenu .block-header h3 {
  color: #cfc0ac;
  font-family: 'Arial Unicode MS', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  letter-spacing: 1px;
  text-shadow: 2px 0 11px rgb(0, 0, 0);
  text-align: justify;
  margin: 0 5px 0 8px;
}

/* CONTENT AREA - where menu items, banners, text go
   - Inherits background from .sidebar-block parent
   - Contains the actual module content */
.sidebar-block .block-content,
.sidebar-blockart-vmenu .block-content {
  padding: 5px;
  margin: 0 auto;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 150%;
}

/* -------------------------------------------------------------------------
   Plain Module Chrome - minimal styling, no box
   ------------------------------------------------------------------------- */
.module-plain {
  padding: 10px;
}

.module-plain .module-title {
  color: #d6a88f;
  font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: normal;
  margin: 0 0 8px 0;
}

.module-plain .module-content {
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 150%;
}

.module-plain .module-content ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
}

.module-plain .module-content li {
  display: flex;
  align-items: baseline;
}

/* » character bullet */
.module-plain .module-content li::before {
  content: '\00BB';
  color: var(--color-link);
  margin-right: 5px;
  flex-shrink: 0;
}

.module-plain .module-content a {
  color: var(--color-link);
  text-decoration: none;
}

.module-plain .module-content a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Articles Links Module (Latest/Featured articles links)
   -------------------------------------------------------------------------- */
.mod-articles-link {
  font-size: 14px;
}

.mod-articles-link ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mod-articles-link li {
  display: block;
  padding: 0;
}

.mod-articles-link li::before {
  content: '\00BB';
  color: var(--color-link);
  margin-right: 5px;
}

/* Reset margins/padding on all nested elements inside article items */
.mod-articles-item,
.mod-articles-item-content,
.mod-articles-title {
  margin: 0;
  padding: 0;
}

.mod-articles-title {
  font-size: inherit;
  font-weight: normal;
  line-height: 0.8;
}

/* -------------------------------------------------------------------------
   Banner Module Img Centering
   ------------------------------------------------------------------------- */
.mod-banners .banneritem {
  text-align: center;
  margin: 4px;
}

/* --------------------------------------------------------------------------
   Smart Search Module (Sidebar)
   -------------------------------------------------------------------------- */

/* Hide the block header for search - title is redundant */
.sidebar-block:has(.mod-finder) .block-header {
  display: none;
}

/* Contain the search form */
.sidebar-block:has(.mod-finder) .block-content {
  overflow: visible !important;
}

/* Hide the label "Meklēt" above input */
.mod-finder label {
  display: none;
}

/* Input field - dark background to blend with block */
.mod-finder input[type="text"],
.mod-finder input[type="search"],
.sidebar-right input[type="text"],
.sidebar-right input[type="search"],
.sidebar-block input[type="text"],
.sidebar-block input[type="search"] {
  background: #2a1a14 !important;
  border: 1px solid #5a4a3a !important;
  color: #d0c0b0 !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
  flex: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.mod-finder input::placeholder {
  color: #807060;
}

/* Input group - flex row, contained, no gaps */
.mod-finder .input-group,
.sidebar-right .input-group,
.sidebar-block .input-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Awesomplete wrapper - needs to flex too */
.sidebar-block .input-group .awesomplete,
.sidebar-right .input-group .awesomplete {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
}

/* Button - brown gradient, icon only */
.mod-finder .btn,
.sidebar-right .input-group .btn,
.sidebar-block .input-group .btn {
  background: linear-gradient(to bottom, #8b7355 0%, #6b5a47 100%) !important;
  border: 1px solid #5a4a3a !important;
  border-left: none !important;
  color: #f0e8e0 !important;
  padding: 6px 12px !important;
  font-size: 0 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

/* Hide original icon, use Unicode magnifying glass */
.mod-finder .btn .icon-search,
.sidebar-right .btn .icon-search,
.sidebar-block .btn .icon-search {
  display: none;
}

.mod-finder .btn::before,
.sidebar-right .input-group .btn::before,
.sidebar-block .input-group .btn::before {
  content: '\1F50D';
  font-size: 16px;
  filter: grayscale(1);
}

.mod-finder .btn:hover,
.sidebar-right .input-group .btn:hover,
.sidebar-block .input-group .btn:hover {
  background: linear-gradient(to bottom, #a08a6a 0%, #8a7a67 100%) !important;
}

.mod-finder .btn:hover::before,
.sidebar-right .input-group .btn:hover::before,
.sidebar-block .input-group .btn:hover::before {
  filter: grayscale(0.5) brightness(1.3);
}

/* --------------------------------------------------------------------------
   Menu Styling
   -------------------------------------------------------------------------- */
.sidebar-left .menu,
.sidebar-right .menu,
.sidebar-left .mod-menu,
.sidebar-right .mod-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-left .menu li,
.sidebar-right .menu li,
.sidebar-left .mod-menu li,
.sidebar-right .mod-menu li {
  list-style: none;
  padding: 1px 0;
  display: flex;
  align-items: baseline;
}

.sidebar-left .menu li::before,
.sidebar-right .menu li::before,
.sidebar-left .mod-menu li::before,
.sidebar-right .mod-menu li::before {
  content: '\00BB';
  color: var(--color-block-header-text);
  margin-right: 3px;
  font-weight: bold;
}

.sidebar-left .menu a,
.sidebar-right .menu a,
.sidebar-left .mod-menu a,
.sidebar-right .mod-menu a {
  color: var(--color-link);
  text-decoration: none;
}

.sidebar-left .menu a:hover,
.sidebar-right .menu a:hover,
.sidebar-left .mod-menu a:hover,
.sidebar-right .mod-menu a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Bottom Section
   -------------------------------------------------------------------------- */
.bottom-section {
  padding: 10px;
  display: flex;
  gap: 10px;
}

.bottom-section .sidebar-block,
.bottom-section > .module-plain {
  flex: 1;
  margin: 0;
}

.bottom-section ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
}

.bottom-section li {
  display: flex;
  align-items: baseline;
  padding: 2px 0;
}

.bottom-section li::before {
  content: '\00BB';
  color: var(--color-link);
  margin-right: 5px;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   Page Footer Text
   ------------------------------------------------------------------------- */
.page-footer-text {
  position: relative;
  z-index: 1;
  width: 1000px;
  margin: 5px auto;
  padding: 5px;
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--color-text-footer);
  text-align: center;
}

.page-footer-text a {
  color: #575049;
  text-decoration: none;
}

.page-footer-text a:hover {
  color: #6a6259;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Pagination (Main Content Area)
   -------------------------------------------------------------------------- */
.main-content .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-content .page-item {
  display: inline-block;
}

.main-content .page-link,
.main-content .page-link:visited {
  display: inline-block;
  padding: 5px 10px;
  background: linear-gradient(to bottom, #a89080 0%, #8a7565 100%);
  border: 1px solid #6a5a4a;
  color: #4a3a30;
  font-family: var(--font-nav);
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.main-content .page-link:hover {
  background: linear-gradient(to bottom, #b8a090 0%, #9a8575 100%);
  color: #3a2a20;
  text-decoration: none;
}

/* Active/current page */
.main-content .page-item.active .page-link,
.main-content .page-item.active .page-link:visited {
  background: linear-gradient(to bottom, #d0c0b0 0%, #b0a090 100%);
  color: #4a3a30;
  font-weight: bold;
}

/* Disabled items (prev/next when not available) */
.main-content .page-item.disabled .page-link {
  background: linear-gradient(to bottom, #706050 0%, #605040 100%);
  color: #909090;
  cursor: default;
}

/* Hide icon spans and inject arrow symbols */
.main-content .page-link .icon-angle-double-left,
.main-content .page-link .icon-angle-left,
.main-content .page-link .icon-angle-right,
.main-content .page-link .icon-angle-double-right {
  display: none;
}

.main-content .page-link:has(.icon-angle-double-left)::after {
  content: '«';
}

.main-content .page-link:has(.icon-angle-left)::after {
  content: '‹';
}

.main-content .page-link:has(.icon-angle-right)::after {
  content: '›';
}

.main-content .page-link:has(.icon-angle-double-right)::after {
  content: '»';
}

/* "Page 1 of 2" counter text */
.com-content-category-blog__counter,
.com-content-category__counter,
.com-finder__counter {
  color: #d4a574;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: bold;
  float: none !important;
  text-align: left;
  padding: 0;
  margin-bottom: 10px;
}

/* Article Prev/Next Navigation */
.pagenavigation .pagination {
  /* justify-content: center; */
  gap: 10px;
}

.pagenavigation .pagination .btn {
  background: linear-gradient(to bottom, #a89080 0%, #8a7565 100%);
  border: 1px solid #6a5a4a;
  color: #2c221c;
  font-family: var(--font-nav);
  font-size: 15px;
  text-decoration: none;
  padding: 5px 12px;
}

.pagenavigation .pagination .btn:hover {
  background: linear-gradient(to bottom, #b8a090 0%, #9a8575 100%);
  color: #3a2a20;
}

/* Hide the article titles and redundant text */
.pagenavigation .pagination .btn span {
  display: none;
}

.pagenavigation .pagination .btn .icon-chevron-left,
.pagenavigation .pagination .btn .icon-chevron-right {
  display: none;
}
/* Article Paginator Previous / Next Page Button Text */
.pagenavigation .pagination .btn:has(.icon-chevron-left)::before {
  content: '‹ Iepriekšējā';
}

.pagenavigation .pagination .btn:has(.icon-chevron-right)::after {
  content: 'Nākamā ›';
}

/* --------------------------------------------------------------------------
   Category List Table
   -------------------------------------------------------------------------- */
.com-content-category__table .list-title,
#categorylist_header_title,
#categorylist_header_date {
  text-align: left;
}

/* Remove divider lines between category items */
.com-content-categories__item {
  border: none !important;
}

/* Category list item titles */
h2.com-content-categories__item-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: normal;
  margin: 0 0 5px 0;
}

h2.com-content-categories__item-title a {
  color: #d4a574;
  text-decoration: none;
}

h2.com-content-categories__item-title a:hover {
  color: #e8c9a0;
}

/* Category children titles (subcategories within a category) */
.com-content-category__children h3.item-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: normal;
  margin: 0 0 5px 0;
}

.com-content-category__children h3.item-title a {
  color: #d4a574;
  text-decoration: none;
}

.com-content-category__children h3.item-title a:hover {
  color: #e8c9a0;
}

/* Bootstrap Tooltips */
.tooltip {
  font-family: var(--font-body);
  font-size: 12px;
  z-index: 9999 !important;
}

.tooltip-inner {
  background: #2a1a14;
  color: #d0c0b0;
  border: 1px solid #5a4a3a;
  padding: 5px 10px;
  max-width: 250px;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  border-top-color: #5a4a3a;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: #5a4a3a;
}

/* --------------------------------------------------------------------------
   Article Info (Category, Published, Tags)
   -------------------------------------------------------------------------- */

/* Hide the "Details" label */
.article-info-term {
  display: none;
}

/* Reset Bootstrap dd margins, style info text */
.article-info {
  margin: 0;
  padding: 0;
}

.article-info dd {
  margin: 0;
  padding: 2px 0;
  color: #ddd2c7;
  font-size: 13px;
}

.article-info .category-name a {
  color: var(--color-link);
}

.article-info .category-name a:hover {
  color: var(--color-link-hover);
}

/* Tag pills/chips */
.tags.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 8px 0;
  padding: 0;
}

.tags.list-inline li {
  display: inline-block;
}

.tags.list-inline a {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(100, 80, 60, 0.5);
  border: 1px solid #5a4a3a;
  border-radius: 12px;
  color: #d0c0b0;
  font-size: 12px;
  text-decoration: none;
}

.tags.list-inline a:hover {
  background: rgba(120, 100, 80, 0.6);
  color: #f0e0d0;
}

/* --------------------------------------------------------------------------
   Typography - Headings
   -------------------------------------------------------------------------- */
h1 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: bold;
  color: var(--color-heading-h1);
  margin: 0.67em 0;
}

h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: bold;
  color: var(--color-heading-h2);
  margin: 0.75em 0;
}

h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: bold;
  color: var(--color-heading-h3);
  margin: 0.83em 0;
}

h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: bold;
  color: var(--color-heading-h4);
  margin: 1em 0;
}

h5 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: bold;
  color: var(--color-heading-h4);
  margin: 1em 0;
}

h6 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: bold;
  color: #887C72;
  margin: 1em 0;
}

/* Article titles */
.page-header h1,
.item-page h1,
.article-header h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: normal;
  color: var(--color-post-header);
}

/* Blog listing article titles (smaller than full article) */
.blog-item .page-header h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: bold;
  color: var(--color-post-header);
  line-height: 1.2;
  margin: 0 0 8px 0;
}

/* --------------------------------------------------------------------------
   Typography - Body Text
   -------------------------------------------------------------------------- */
p {
  margin: 12px 0;
}

/* --------------------------------------------------------------------------
   Typography - Links
   -------------------------------------------------------------------------- */
a {
  color: var(--color-link);
  text-decoration: none;
}

a:visited {
  color: var(--color-link-visited);
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding: 5px 0;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline;
}

.breadcrumbs li {
  display: inline;
}

.breadcrumbs li + li::before {
  content: '>';
  margin: 0 8px;
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-link);
}

/* --------------------------------------------------------------------------
   System Messages
   -------------------------------------------------------------------------- */
.alert {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 3px;
}

.alert-success {
  background-color: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.4);
}

.alert-warning {
  background-color: rgba(255, 152, 0, 0.2);
  border: 1px solid rgba(255, 152, 0, 0.4);
}

.alert-error {
  background-color: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.4);
}

/* --------------------------------------------------------------------------
   Read More Button
   -------------------------------------------------------------------------- */
.readmore a {
  display: inline-block;
  padding: 5px 12px;
  background: linear-gradient(to bottom, #8b7355 0%, #6b5a47 100%);
  border: 1px solid #5a4a3a;
  border-radius: 4px;
  color: #f0e8e0;
  font-size: 12px;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.readmore a:hover {
  background: linear-gradient(to bottom, #9a8265 0%, #7a6957 100%);
  color: #fff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------------------
   Smart Search Results - !important makes bootstrap defaults ignore spacing and divider
   -------------------------------------------------------------------------------------- */
.search-result-list {
  counter-reset: search-results;
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0;
}

li.result__item {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 8px !important;
  margin: 0 !important;
  counter-increment: search-results;
}

li.result__item::before {
  content: counter(search-results, decimal) ". " !important;
  color: var(--color-link);
  font: var(--font-body);
  font-size: 16px;
  float: left;
  margin-right: 5px;
}

p.result__title {
  margin: 0 !important;
  padding: 0 !important;
  display: inline;
}

.result__title-text {
  font-size: 16px !important;
}

/* Search term highlight */
mark {
  background: transparent !important;
  color: #FEE3B4 !important;
  /* Extra emphasis options --
  font-weight: bold;
  text-decoration: underline; */
  text-decoration-color: #E3A35F;
}