/* Section spacing */
.moduletable {
  margin-top: 50px;
}

/* Section headers */
.moduletable h3 {
  font-size: 1.9rem;
  font-weight: 800;
  padding-bottom: 8px;
  margin-bottom: 25px;
}

/* Card styling */
.mod-articles-category .item-content {
  background: #ffffff;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.mod-articles-category .item-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Images */
.mod-articles-category img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Obits subtle styling */
.moduletable.obits-section {
  background: #f8f8f8;
  padding: 30px;
}

/* Add dark blue lines between sections */
.moduletable {
  border-bottom: 4px solid #223366;
  padding-bottom: 30px;
  margin-bottom: 40px;
}

/* Remove last section's border */
.moduletable:last-child {
  border-bottom: none;
}

/* Article cards styling for news look */
.mod-articles-category .item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(34,51,102,0.08);
  margin-bottom: 32px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e4ef;
  transition: box-shadow 0.2s, transform 0.2s;
}

.mod-articles-category .item:hover {
  box-shadow: 0 8px 32px rgba(34,51,102,0.16);
  transform: translateY(-2px) scale(1.01);
}

.mod-articles-category .item-content {
  background: none;
  box-shadow: none;
  padding: 20px 24px 18px 24px;
}

.mod-articles-category .item img {
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

/* News Website Customizations for Cassiopeia Extended */

/* Headlines: Times New Roman */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Times New Roman', Times, serif !important;
}

/* Remove underline from all links */
a, a:visited {
  text-decoration: none !important;
}

/* Link color: dark blue/gray */
a, a:visited {
  color: #223366 !important;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #445577 !important;
}

/* News layout enhancements */
body {
  background: #f4f6fa;
}

.article-header, .item-title, .moduletable h3 {
  font-family: 'Times New Roman', Times, serif !important;
  color: #223366;
}
