/* Hosei University colors: blue #233A9A, orange #F28018 */

/* Navbar logo size */
.navbar-brand img,
.navbar-logo {
  max-height: 34px;
}

.intro {
  font-size: 1.15rem;
  margin: 0.5rem 0 1.5rem 0;
}
.intro .btn { margin-right: 0.4rem; margin-bottom: 0.4rem; }

/* Buttons: filled = orange (dark text for readability), outlined = blue */
.intro a.btn-primary {
  background-color: #F28018 !important;
  border-color: #F28018 !important;
  color: #111827 !important;
  font-weight: 700;
}
.intro a.btn-primary:hover {
  background-color: #d66d0c !important;
  border-color: #d66d0c !important;
}
.intro a.btn-outline-primary {
  background-color: transparent !important;
  border-color: #233A9A !important;
  color: #233A9A !important;
}
.intro a.btn-outline-primary:hover {
  background-color: #233A9A !important;
  color: #ffffff !important;
}

/* Orange rule under section headings */
#quarto-content h2,
h2 {
  border-bottom: 2px solid #F28018 !important;
}

/* Post cards */
.quarto-grid-item {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s;
}
.quarto-grid-item:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}
.quarto-title-banner .quarto-title .title {
  font-weight: 700;
}

/* Japanese pages: small link row at the top */
.ja-nav {
  font-size: 0.95rem;
  padding: 0.4rem 0 0.6rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid #d9dde8;
}
.ja-nav a { color: #233A9A; text-decoration: none; margin: 0 0.1rem; }
.ja-nav a:hover { text-decoration: underline; }
