/* ===================================================
   The International Journal of Applied Research
   in Veterinary Medicine — styles.css
   Modernized 2026 | Therapeutic Solutions LLC
   =================================================== */

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

:root {
  --maroon:       #5E0002;
  --maroon-mid:   #8B0003;
  --maroon-light: #b50005;
  --copper:       #C9A030;
  --copper-light: #D4B84A;
  --white:        #ffffff;
  --surface:      #FDFCFB;
  --bg:           #EDEBEA;
  --nav-main:     #CAC6C1;
  --nav-sub:      #DEDAD7;
  --nav-label:    #7A7470;
  --border:       #CECCCA;
  --text:         #1a0e08;
  --text-muted:   #6A6460;
  --link:         #7C1E08;
  --link-hover:   #a03010;
  --notice-bg:    #fff8f0;
  --notice-bdr:   #C9A030;
  --notice-text:  #3d1800;
  --font-serif:   Georgia, 'Times New Roman', Times, serif;
  --font-ui:      system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html { font-size: 16px; }

body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.site-header {
  background: var(--maroon);
  padding: 1.1rem 1.5rem 0;
}

.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.journal-title {
  flex: 1;
  padding-bottom: 1.1rem;
}

.jt-main {
  font-family: var(--font-serif);
  color: var(--copper);
  line-height: 1.1;
  text-align: center;
}
.jt-the-journal {
  display: block;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.jt-of {
  display: block;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
}
.jt-applied {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jt-rule {
  width: 55%;
  height: 1px;
  background: var(--copper);
  opacity: 0.40;
  margin: 0.4rem auto 0.35rem;
}

.jt-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--copper-light);
  letter-spacing: 0.02em;
  text-align: center;
}

.header-cover img {
  display: block;
  width: 150px;
  border: 2px solid rgba(201,160,48,0.40);
  border-radius: 2px;
}

/* BODY WRAPPER */
.site-body {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  align-items: stretch;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.14);
}

/* NAVIGATION */
.site-nav {
  width: 195px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}

.site-nav a {
  display: block;
  padding: 0.42rem 0.9rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  line-height: 1.3;
  transition: background 0.12s, color 0.12s;
}

.site-nav a.nav-main {
  background: var(--nav-main);
  font-weight: 600;
  color: var(--maroon);
}

.site-nav a.nav-main:hover {
  background: var(--maroon);
  color: var(--copper-light);
}

.site-nav a.nav-sub {
  background: var(--nav-sub);
  padding-left: 1.3rem;
  font-weight: 400;
  color: #2a1a10;
}

.site-nav a.nav-sub:hover {
  background: var(--maroon-mid);
  color: var(--copper-light);
}

.nav-group-label {
  background: var(--nav-main);
  font-weight: 700;
  color: var(--maroon);
  font-size: 0.76rem;
  padding: 0.42rem 0.9rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.3;
}

.site-nav a.nav-jarcet {
  background: #e8e4dc;
  padding-left: 0.9rem;
  font-weight: 400;
  font-style: italic;
  font-size: 0.72rem;
  color: #4a3020;
  line-height: 1.4;
}

.site-nav a.nav-jarcet:hover {
  background: var(--maroon);
  color: var(--copper-light);
}

/* MAIN CONTENT */
.site-content {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 2rem 2.5rem;
}

.site-content h1, .site-content .page-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--maroon);
  text-align: center;
  margin-bottom: 1.1rem;
  font-weight: bold;
  font-style: italic;
}

.site-content h2 {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: var(--maroon);
  margin: 1.4rem 0 0.5rem;
  font-weight: 700;
}

.site-content h3 {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--maroon-mid);
  margin: 1.1rem 0 0.4rem;
  font-weight: 600;
}

.site-content p { margin-bottom: 0.85rem; }

.site-content ul, .site-content ol {
  margin: 0.5rem 0 0.85rem 1.5rem;
}

.site-content li { margin-bottom: 0.3rem; }

.site-content a { color: var(--link); text-decoration: none; }
.site-content a:hover { color: var(--link-hover); text-decoration: underline; }

.site-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.site-content table { max-width: 100%; }
.site-content img { max-width: 100%; height: auto; }

.site-content input[type="text"],
.site-content input[type="email"],
.site-content textarea,
.site-content select {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.3rem 0.5rem;
  font-size: 0.9rem;
  font-family: var(--font-ui);
}

.site-content input[type="submit"],
.site-content button[type="submit"] {
  background: var(--maroon);
  color: var(--copper-light);
  border: none;
  border-radius: 3px;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
}

.site-content input[type="submit"]:hover { background: var(--maroon-mid); }

.notice-ceased {
  background: var(--notice-bg);
  border: 2px solid var(--notice-bdr);
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--notice-text);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1.5;
}

.notice-ceased strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--maroon);
}

.contact-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contact-col { flex: 1; min-width: 200px; }
.contact-col h3 { text-decoration: underline; text-align: center; margin-bottom: 0.6rem; }
.contact-col p { margin-bottom: 0.6rem; }

.policy-content h2 { text-align: left; margin-top: 1.5rem; }
.policy-content p { margin-bottom: 0.75rem; }

/* FOOTER */
.site-footer {
  background: var(--maroon);
  color: #D0C0A4;
  text-align: center;
  padding: 1.1rem 1rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  line-height: 1.9;
}

.site-footer p + p { margin-top: 0.2rem; }

.footer-links a {
  color: var(--copper);
  text-decoration: none;
  margin: 0 0.3rem;
}

.footer-links a:hover { color: var(--copper-light); text-decoration: underline; }

/* PRESS RELEASE LIST */
.press-list { list-style: none; padding: 0; margin: 1rem 0; }
.press-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--border); line-height: 1.4; }
.press-list li:first-child { border-top: 1px solid var(--border); }
.press-date { font-size: 0.82rem; color: var(--text-muted); font-family: var(--font-ui); white-space: nowrap; }

/* RESPONSIVE */
@media (max-width: 700px) {
  .site-body { flex-direction: column; }
  .site-nav { width: 100%; border-right: none; border-bottom: 2px solid var(--border); }
  .site-content { padding: 1rem 1rem 2rem; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .header-cover img { width: 90px; }
  .jt-applied { font-size: 1.45rem; }
  .contact-grid { flex-direction: column; }
}

/* PREVIOUS ISSUES ARCHIVE GRID */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.archive-vol {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.9rem 1rem 1rem;
}

.archive-vol h3 {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.archive-year { font-weight: 400; color: var(--text-muted); }

.archive-vol ul { list-style: none; padding: 0; margin: 0; }
.archive-vol li { padding: 0.25rem 0; font-size: 0.88rem; }
.archive-vol a { color: var(--link); text-decoration: none; }
.archive-vol a:hover { text-decoration: underline; }
