/* Remove divider lines (borders) from Weblinks module */
.weblinks-nodivider li,
.weblinks-nodivider li a {
  border: none !important;
  border-bottom: none !important;
  background: none !important; /* in case template adds a background line */
}

/* Optional: Adjust spacing so items don’t run together */
.weblinks-nodivider li {
  margin-bottom: 0px;   /* tweak as needed */
  padding-bottom: 0;    /* remove divider spacing */
}
/* ===============================
   FILLED BUTTON STYLE
   Use Module Class Suffix: "weblinks-filled"
   =============================== */
.weblinks-filled ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.weblinks-filled li { margin: 0; padding: 0; }

.weblinks-filled li a {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 6px;
  background: #0073e6;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.weblinks-filled li a:hover {
  background: #005bb5;
  transform: translateY(-2px);
}


/* ===============================
   OUTLINED BUTTON STYLE
   Use Module Class Suffix: "weblinks-outlined"
   =============================== */
.weblinks-outlined ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.weblinks-outlined li { margin: 0; padding: 0; }

.weblinks-outlined li a {
  display: block;
  text-align: left;
  padding: 12px 16px;
  border-radius: 6px;
  background: transparent;
  border: 2px solid #33cc33;
  color: #0099ff !important;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.weblinks-outlined li a:hover {
  background: #0073e6;
  color: #fff !important;
  transform: translateY(-2px);
}
/* Remove divider/line under article titles in Blog/Article modules */
.article-title,
.article-title a,
.page-header,
.page-header h2 {
  border: none !important;
  border-bottom: none !important;
  background: none !important;
  box-shadow: none !important;
  margin-bottom: 12px; /* optional: keep some spacing */
  padding-bottom: 0;
}
/* Article titles inside article modules */
.moduletable.articlemod .mod-articles-title,
.moduletable.articlemod .mod-articles-title a {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14pt !important;
    font-weight: bold;
    line-height: 1.4;
}
.nosuccessmessage #system-message-container { display: none; }