#banner {
  display: flex;
  justify-content: center;
  margin: 1em auto;
  width: 800px;
  height: auto;
  background-color:#000000; 
  outline-color: #e0e2db;
  outline-style: ridge;
  outline-width: 3px;
}

.enter {
	text-align: justify;
  text-justify: inter-word;
}

#subhead {
  display: flex;
  justify-content: center;
  margin: 1em auto;
  width: 800px;
  height: 50px;
  color: #ffffff;
  font-size: 20px;
  font-style: italic;
  font-family: "Garamond, serif";
  background-color:#000000; 
  outline-color: #00136a;
  outline-style: ridge;
  outline-width: 3px;
}

body {
  background-color: #000000;
  background-image: url('../images/global/bg.jpg');
  background-position: top;
  background-repeat: repeat;
  background-attachment: fixed;
  font-size: 15px;
  font-family: "Lucida Console";
}

p {
  line-height: 1.5em;
  font-size: 16px;
}

img {
  max-width: 100%;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0 10px 1px 0;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a { 
  color: #454545;
  font-weight: bold;
  text-decoration: underline;
}

a:hover { 
  opacity: 0.6;
  }

a:visited {
  text-decoration: none;
  color:#454545;
}

a:visited:hover {
  opacity: 0.8;
}

h1, h2, h3, h4, h5 {
  color: #000000;
  font-family: "Garamond, serif";
}

/*CONTAINER*/
#container {
  margin: auto;
  max-width: 800px;
  padding: 1rem;
  background-color: #ffffff;
  color: #000000; 
  outline-color: #e0e2db;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}

/*NAV BAR HEADER*/
#header {
  background-color: #000000;
  padding: 1% 5%;
  border-color: #000000 ;
  border-style: ridge;
  border-width: 0 0 0 0;
  color: #000000;
  font-family: Garamond, serif;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
  text-align: center;
}
#header li {
  font-size: 1.3em;
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 0em;
  margin-top: 0em;
  padding: 2px 2px 1px 1px;
}
#header li a {
  color: #ffffff;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}

/*BLOG CARD STYLE*/
* {
  box-sizing: border-box;
}

#blogcardcont {
  width: 700px;
  padding: 25px 0 0 0;
  margin: -20px 0px 15px 10px;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
 .blog-card {
  display: flex;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 3px 24px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}

.post-image {
  width: auto;
  height: auto;
  max-width: none;
  padding: 5px 10px 10px 10px;
  margin: 30px 0px;
  filter: drop-shadow(1px 1px 1px / 1))
}

.article-details {
  padding: 10px;
}

.post-category {
  display: inline-block;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  margin: 8px 0px 5px 0;
  padding: 0 0 2px 0;
  border-bottom: 1px solid #000000;
}

.post-title {
  font-size: 15;
  line-height: 1.7;
  color: #000000;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.post-author {
  font-size: 14px;
  line-height: 1;
  margin: 10px 0 0 0;
  padding: 12px 0 5px 0;
  border-top: 1px solid #ebebeb;
  display: inline-block;
  color: #5C5C5C;
}

.post-date {
  font-size: 14px;
  line-height: 1;
  margin: 0 0 10px 0;
  padding: 12px 0 8px 0;
  display: inline-block;
  color: #5C5C5C;
}

.post-tags {
  font-size: 14px;
  line-height: 1;
  margin: 0 0 10px 0;
  padding: 12px 0 8px 0;
  display: inline-block;
  color: #5C5C5C;
}

#recentpostlistdiv ul a {
  font-size: 15px;
}

@media (max-width: 700px) {
  #container {
    width: 330px;
  }

  .post-image {
    width: 100%;
  }

  .blog-card {
    flex-wrap: wrap;
  }
}

.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.1em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer p {
  font-size: 10px;
  padding: 0 5% 10px 5%;
}

/*ARCHIVE PAGE TABLE STYLE*/

table {
  width: 100%;
  border-collapse: separate;   /* Change from collapse → separate */
  border-spacing: 0 20px;      /* Move here (adds 10px vertical gap between rows) */
}

tr {
  font-size: 15px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.1); /* Faint separator line */
}

th {
  font-size: 18px;
  padding: 10px 0;
}

/* First column: Post titles */
td:first-child {
  text-align: left;
  width: 65%;          /* Adjust to preference */
  padding-right: 20px; /* Space before next column */
}

/* Second column: Category */
td:nth-child(2) {
  width: 15%;
  white-space: nowrap; /* Prevent wrapping */
}

/* Third column: Date */
td:nth-child(3) {
  width: 20%;
  white-space: nowrap;
}

/* Post title links with no indentation */
td a {
  display: inline-block;
  font-size: 17px;
  text-decoration: none;
  color: black;
  padding: 0;          /* Remove padding to stop indent on wrap */
  margin: 0;
}

/*ARCHIVE PAGE TABLE FILTER*/

.filter-buttons {
  margin-bottom: 15px;
}

.filter-btn {
  background: black;
  color: white;
  border: 1px solid white;
  padding: 6px 14px;
  cursor: pointer;
  font-family: "Times New Roman", serif; /* Or use your current font */
  font-size: 14px;
  margin-right: 5px;
  transition: background 0.2s ease;
}

.filter-btn:hover {
  background: #333;
}

.filter-btn.active {
  background: #d8d8d8;
  color: black;
}

#postTable tr {
  opacity: 1;
  transition: opacity 0.3s ease;
}

#postTable tr.hidden {
  opacity: 0;
}

