@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/oswald-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/oswald-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/oswald-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/droid-serif-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/droid-serif-700.woff2') format('woff2');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Droid Serif', Georgia, serif;
  color: #252525;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  color: #55b74e;
  text-decoration: none;
}

a:hover {
  color: rgba(85, 183, 78, 0.8);
}

/* Header */
.site-header {
  background: url('/images/cropped-skull-1193784_1920-2400x1300.jpg') no-repeat top center;
  background-size: cover;
  background-color: #414242;
  position: relative;
}

.site-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(65, 66, 66, 0.50);
  pointer-events: none;
}

/* Side Masthead */
.side-masthead {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 30px;
  background-color: #f5f5f5;
  text-align: center;
}

.site-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-logo {
  width: 80px;
  height: auto;
}

.site-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px;
}

.site-title a {
  color: #757575;
  text-decoration: none;
}

.site-title a:hover {
  color: rgba(117, 117, 117, 0.8);
}

/* Navigation */
.menu-toggle {
  display: none;
  cursor: pointer;
  border: none;
  background: none;
  padding: 12px;
  margin: 15px 0 5px;
}

.menu-toggle div {
  width: 30px;
  height: 3px;
  background-color: #757575;
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.menu-toggle.open div:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.menu-toggle.open div:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open div:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
}

.main-navigation {
  display: flex;
  justify-content: center;
  width: 100%;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.main-navigation ul li a {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #757575;
  padding: 12px 18px;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
  color: #ffffff;
  background-color: #55b74e;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 40px;
  text-align: center;
  color: #ffffff;
}

.hero h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 20px;
}

.button {
  display: inline-block;
  background-color: #55b74e;
  color: #ffffff !important;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 30px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button:hover {
  background-color: rgba(85, 183, 78, 0.8);
  color: #ffffff;
}

/* Page Content */
.site-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-area {
  display: flex;
  gap: 40px;
}

.site-main {
  flex: 1;
  min-width: 0;
}

/* Content Typography */
.page-content h1,
.widget-title {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #353535;
  margin-bottom: 20px;
}

.page-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #353535;
  margin-bottom: 15px;
}

.page-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #353535;
  margin-bottom: 15px;
}

.page-content p {
  margin-bottom: 18px;
  line-height: 1.8;
}

.page-content strong {
  font-weight: 700;
}

.page-content em {
  font-style: italic;
}

.page-content hr {
  border: none;
  border-top: 1px solid rgba(37, 37, 37, 0.1);
  margin: 30px 0;
}

.page-content a {
  color: #55b74e;
}

.page-content a:hover {
  color: rgba(85, 183, 78, 0.8);
}

.page-content ul,
.page-content ol {
  margin-left: 20px;
  margin-bottom: 18px;
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* Sidebar */
.widget-area {
  width: 260px;
  flex-shrink: 0;
}

.widget {
  margin-bottom: 30px;
}

.search-form {
  display: flex;
}

.search-field {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid rgba(37, 37, 37, 0.1);
  font-family: 'Droid Serif', Georgia, serif;
  font-size: 14px;
  color: #252525;
}

.search-field:focus {
  outline: none;
  border-color: rgba(37, 37, 37, 0.3);
}

.search-submit {
  background-color: #55b74e;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.search-submit:hover {
  background-color: rgba(85, 183, 78, 0.8);
}

/* Footer */
.site-footer {
  background-color: #eeeeee;
  padding: 40px 20px;
  text-align: center;
}

.footer-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 25px;
  padding: 0;
  margin: 0;
  margin-bottom: 5px;
}

.footer-menu ul li a {
  color: #757575;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu ul li a:hover {
  color: rgba(117, 117, 117, 0.8);
}

.site-info-wrapper {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
}

.site-info-text {
  color: #757575;
  font-size: 14px;
}

/* Password Form */
.password-form {
  margin: 20px 0;
}

.password-form label {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: #353535;
  display: block;
  margin-bottom: 8px;
}

.password-form input[type="password"] {
  padding: 8px 12px;
  border: 1px solid rgba(37, 37, 37, 0.1);
  font-family: 'Droid Serif', Georgia, serif;
  font-size: 14px;
  width: 100%;
  max-width: 300px;
  margin-bottom: 10px;
}

.password-form input[type="submit"] {
  background-color: #55b74e;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.password-form input[type="submit"]:hover {
  background-color: rgba(85, 183, 78, 0.8);
}

.hint-text {
  color: #757575;
  font-style: italic;
  font-size: 14px;
  margin-top: 10px;
}

/* About page image */
.about-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 685;
  margin-bottom: 25px;
  border-radius: 2px;
}

/* Research tattoo image */
.tattoo-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 985;
}

.error-message {
  border: 3px solid #660000;
  background: #CC0000;
  color: #FFF;
  padding: 15px 20px;
  margin-bottom: 20px;
}

.success-message {
  border: 3px solid #2e7d32;
  background: #43a047;
  color: #FFF;
  padding: 15px 20px;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 880px) {
  .menu-toggle {
    display: block;
  }

  .footer-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: none;
  }

  .main-navigation.open ul {
    display: flex;
  }

  .main-navigation ul li a {
    padding: 10px 15px;
    font-size: 18px;
  }

  .content-area {
    flex-direction: column;
  }

  .widget-area {
    width: 100%;
  }

  .hero {
    padding: 50px 20px;
  }

  .hero h2 {
    font-size: 28px;
  }
}
