html {
  /* background-color: rgb(205, 205, 205) */
  /* background-color: rgb(224, 226, 203) */
  /* background: linear-gradient(#333365,#6f6f93, #9797aa) fixed; */
  /* background: linear-gradient(#458588, #b16286, #98971a) fixed; */
}

body {
  max-width: 1200px;
  margin: auto;
  padding: 1em;
  line-height: 1.5;
  /* background-color: pink; */
  background-color: white;
}

a {
  text-decoration: none;
  color: blue;
}
/* a:visited {
  color: lightcoral;
} */
/* a:active {
  color: rgb(104, 86, 206);
} */
/* a:hover {
  text-decoration: underline;
} */

p {
  white-space: pre-line;
}

/* header and footer areas */
.menu {
  padding: 0;
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 5px;
  /* justify-content: space-between; */
}

.menu li {
  display: inline-block;
}
.article-meta,
.linkz {
  text-decoration: none;
  /* background: #eee;
  background: linear-gradient(180deg, #fbfbfb 0, #e4e4e4 49%, #dfdfdf 51%, #f6f6f6);
  border: 1px solid #c2c2c2; */
  color: black;
  /* text-shadow: 0 1px 1px hsla(0, 0%, 100%, 0.9); */
  padding: 5px;
  border-radius: 5px;
}

/* Navigation active state */
.linkz.active {
  /* background-color: #007acc; */
  /* color: blue; */
  text-decoration: underline;
  
}

.linkz:hover {
color: blue;

}



.customLinks {
  /* color: #444; */
  text-decoration: none;
  padding: 5px;
  border-radius: 5px;
}
.spetalLinks {
  background: linear-gradient(
    180deg,
    #fbfbfb 0,
    #e4e4e4 49%,
    #dfdfdf 51%,
    #f6f6f6
  );
  border: 1px solid #c2c2c2;
  color: #444;
  text-shadow: 0 1px 1px hsla(0, 0%, 100%, 0.9);
  padding: 5px;
  border-radius: 5px;
}
.superLinks {
  text-decoration: none;
  background: oklch(89.9% 0.061 343.231);

  text-shadow: 0 1px 1px hsla(0, 0%, 100%, 0.9);
  padding: 5px;
  border-radius: 5px;
}

.lbl {
  text-align: left;
  display: flex;
  flex-grow: 1;
  justify-content: flex-start;
}

.menu,
.article-meta,
footer {
  text-align: center;
}
.title {
  font-size: 1.1em;
}
footer a {
  text-decoration: none;
}
hr {
  border-style: dashed;
  /* color: black; */
  color: #ddd;
}

/* code */
pre {
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code {
  background: #f9f9f9;
}
pre code {
  background: none;
}

/* misc elements */
img,
iframe,
video {
  max-width: 100%;
}
main {
  hyphens: auto;
}
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th {
  border-bottom: 1px solid #ddd;
}
th,
td {
  padding: 5px;
}
thead,
tfoot,
tr:nth-child(even) {
  background: #eee;
}

/* list */

.linkList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
}
.linkList li {
  list-style: none;
  display: flex;
  align-items: start;
  gap: 15px;
  padding: 10px;
  /* border: 1px solid white; */
  /* border-radius: 8px; */
}
.linkList li:hover span {
  text-decoration: underline;
}
.linkList li .image-container {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  display: block;
  background-color: #f0f0f0;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.linkList li .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.linkList li img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  display: block;
  background-color: #f0f0f0;
  object-fit: cover;
}

.linkList li {
  flex-shrink: 0;
}

.linkList li .box {
  flex-grow: 1;
}

.linkList li .box span {
  font-size: 16px;
  /* font-weight: bold; */
  display: block;
  margin-bottom: 5px;
  /* color: black; */
}
.linkList li .box div {
  margin: 0;
  text-decoration: none;
  text-align: left;
  font-size: 14px;
  color: #555;
}

.lazy-load {
  width: 100%;
  height: auto;
}

.image-wrapper {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border: 2px solid rgb(140 140 140);
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin: 0 0 1em 0; /* removes centering, adds bottom spacing */
}

caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}

thead,
tfoot {
  background-color: rgb(228 240 245);
}

th,
td {
  border: 1px solid rgb(160 160 160) !important;
  padding: 8px 10px;
}

td:last-of-type {
  text-align: center;
}

tbody > tr:nth-of-type(even) {
  background-color: rgb(237 238 242);
}

tfoot th {
  text-align: right;
}

tfoot td {
  font-weight: bold;
}


/* Blog List  */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-item {
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #eee;
}

.post-item:last-child {
  border-bottom: none;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5em;
  flex-wrap: wrap;
  gap: 0.5em;
}

.post-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.post-title:hover {
  color: blue;
  text-decoration: underline;
}

.post-date {
  font-size: 0.9em;
  color: #666;
  font-family: monospace;
}

.post-description {
  margin: 0.5em 0;
  color: #555;
  font-style: italic;
}

.post-meta {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  font-size: 0.85em;
}

.post-categories .category {
  background-color: #f0f0f0;
  padding: 0.2em 0.5em;
  border-radius: 3px;
  margin-right: 0.3em;
  color: #666;
  text-decoration: none;
  display: inline-block;
}

.post-categories .category:hover {
  background-color: #e0e0e0;
  color: #333;
}

.post-tags .tag {
  color: #666;
  margin-right: 0.5em;
  text-decoration: none;
}

.post-tags .tag:hover {
  color: blue;
  text-decoration: underline;
}

/* Back button styling */
.back-button {
  display: inline-block;
  margin-bottom: 1em;
  color: #666;
  text-decoration: none;
  font-size: 0.9em;
}

.back-button:hover {
  color: blue;
  text-decoration: underline;
}

/* Taxonomy List Styles */
.taxonomy-list {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.taxonomy-item {
  margin-bottom: 0.5em;
}

.taxonomy-link {
  text-decoration: none;
  color: #333;
  font-size: 1.1em;
}

.taxonomy-link:hover {
  color: blue;
  text-decoration: underline;
}

.taxonomy-count {
  color: #666;
  font-size: 0.9em;
  font-weight: normal;
}

