/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f7f9f8;
    color: #2c2c2c;
    line-height: 1.6;
}

/* ===== HEADER ===== */
header {
    background-color: #1b5e4a;
    border-bottom: 3px solid #0f3d30;
}

/* ===== NAVBAR ===== */
.navbar {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

/* ===== LOGO ===== */
.logo {
    color: #1d773f;
    font-size: 1.4rem;
    font-weight: bold;
}

/* ===== MENU ===== */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 10px 14px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
}

nav ul li a:hover {
    background-color: #2e7d67;
}

/* ===== DROPDOWN ===== */
nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

nav ul li ul li a {
    color: #2c2c2c;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}

nav ul li ul li a:hover {
    background-color: #e8f3f0;
}

/* SHOW DROPDOWN */
nav ul li:hover ul {
    display: block;
}

/* ===== MAIN CONTENT ===== */
.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

h1,
h2 {
    color: #1b5e4a;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

/* ===== FOOTER ===== */
footer {
    background-color: #0f3d30;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* ===== TWO COLUMN LAYOUT ===== */
.page-layout {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    gap: 25px;
    align-items: start;
}

/* ===== RIGHT SIDEBAR ===== */
.sidebar {
    background: #c2cfcc;
    border: #4ea68e solid;
    padding: 15px;
    border-radius: 6px;
}

.sidebar h3 {
    color: #1b5e4a;
    margin-bottom: 12px;
    font-size: 1.1rem;
    text-align: center;
    border-bottom: 1px solid #b5d6cf;
    padding-bottom: 5px;
}

/* ===== INFO BOXES ===== */
.info-box {
    background: #a898da;
    padding: 4% 6px;
    font-size: xx-small;
    margin-bottom: 12px;
    border-radius: 5px;
}

.info-box strong {
    display: block;
    color: #b00020;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.info-box span {
    font-size: 0.9rem;
    color: #2c2c2c;
}

/*bullets and sub bullets*/
.container ul {
    margin-left: 20px;
    padding-left: 20px;
}

.container ul ul {
    margin-left: 20px;
    padding-left: 20px;
    list-style-type: circle;
}

/* Table styling for All Issues page */
.table {
    width: 100%;
    border-collapse: collapse;
    /* Ensures single clean borders */
    margin-top: 20px;
    font-size: 15px;
}

.table thead th {
    border: 1px solid #444;
    padding: 10px;
    text-align: center;
    background-color: #f2f2f2;
    font-weight: 600;
}

.table tbody td {
    border: 1px solid #444;
    padding: 10px;
    text-align: center;
}

.table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.table tbody tr:hover {
    background-color: #eef4ee;
}

.table a {
    color: #1a5d1a;
    text-decoration: none;
    font-weight: 500;
}

.table a:hover {
    text-decoration: underline;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7f8;
    margin: 0;
    padding: 20px;
}

.board-title {
    text-align: center;
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.editorial-board {
    max-width: 1100px;
    margin: auto;
}

.editor-card {
    position: relative;
    background: #ffffff;
    padding: 15px 18px;
    margin-bottom: 12px;
    border-left: 5px solid #2e7d32;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.editor-basic {
    font-size: 15px;
    line-height: 1.6;
}

/* ================= MEMBER HOVER STYLE ================= */

.editor-hover {
    display: none;
    position: absolute;

    /* Center the hover box */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: max-content;
    /* adjusts to content */
    max-width: 320px;
    /* safety limit */
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 14px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 100;

    /* center-align content */
    text-align: center;
}

/* Image styling */
.editor-hover img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 10px auto;
    display: block;
}

/* Links */
.editor-hover a {
    color: #1565c0;
    text-decoration: none;
    font-size: 14px;
}

.editor-hover a:hover {
    text-decoration: underline;
}

/* Show on hover */
.editor-card:hover .editor-hover {
    display: block;
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {
    .editor-hover {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
        text-align: center;
    }
}

/* Wrapper to center the button */
.button-wrap {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Anchor reset */
.button-wrap a {
    text-decoration: none;
}

/* Main button container */
.button-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border: 2px solid #e00909;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 320px;
}

/* Hover effect */
.button-container:hover {
    background-color: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Primary logo */
.logo-container {
    width: 42px;
    height: auto;
    object-fit: contain;
}

/* Text alignment */
.text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Secondary logo (Cashfree) */
.secondary-logo {
    height: 14px;
    vertical-align: middle;
    margin-left: 4px;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .button-containe 
}

/* ===== Vat-Vriksha Reviewer Section ===== */
#vatvriksha-review {
    width: 100%;
    margin: 30px auto;
    padding: 20px 10px;
    text-align: center;
}

/* Button wrapper */
.vr-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Common button style */
.vr-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #1b5e20;
    /* deep academic green */
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.4px;
    border: 2px solid #1b5e20;
    transition: all 0.3s ease;
    min-width: 260px;
    text-align: center;
}

/* Hover effect */
.vr-button:hover {
    background-color: #ffffff;
    color: #1b5e20;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Active (click) effect */
.vr-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Focus accessibility */
.vr-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.35);
}

/* Mobile optimization */
@media (max-width: 600px) {
    .vr-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .vr-button {
        width: 90%;
        max-width: 360px;
    }
}

/* ===== Full Width Journal Banner ===== */

.full-width-banner {
  width: 100%;
  background: var(--primary-color, #379478);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Inner content aligned like rest of site */
.journal-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Text styling inherits site fonts & colors */
.journal-info h1 {
  margin: 0;
  color: white;
}

.journal-info p {
  margin: 4px 0;
  color: white;
}

.issn {
  font-size: 0.7em;
  opacity: 0.85;
}

/* Logo control */
.journal-logo img {
  max-height: 80px;
  width: auto;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .journal-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .journal-logo {
    margin-top: 12px;
  }

  .journal-logo img {
    max-height: 60px;
  }
}

.article-list {
    padding-left: 20px;
    margin-top: 15px;
}

.article-list li {
    margin-bottom: 18px;
    line-height: 1.6;
}

.article-list a {
    text-decoration: none;        /* removes underline */
    color: inherit;               /* keeps site colour scheme */
    display: block;
}

.article-list a:hover {
    color: #146c5f;               /* subtle hover, adjust if needed */
}

/* ================================
   Vat-Vriksha Footer CSS
   (Compact Version)
   ================================ */

#vatvriksha-footer {
  background: #0f3d2e;
  color: #e6f2ee;
  font-family: "Segoe UI", Arial, sans-serif;
  padding: 25px 20px 12px;   /* reduced padding */
  margin-top: 30px;         /* reduced gap above footer */
}

/* Footer container */
#vatvriksha-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 25px;                /* reduced column gap */
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Footer columns */
#vatvriksha-footer .footer-column {
  flex: 1;
  min-width: 260px;
}

/* Headings */
#vatvriksha-footer h3 {
  font-size: 16px;          /* slightly smaller */
  margin-bottom: 8px;      /* reduced space */
  color: #9ee6c8;
  border-bottom: 1px solid rgba(158, 230, 200, 0.3);
  padding-bottom: 4px;
}

/* Paragraph text */
#vatvriksha-footer p {
  margin: 3px 0;            /* very tight spacing */
  font-size: 13.5px;
  line-height: 1.35;        /* reduced line height */
  color: #e6f2ee;
}

/* Strong text */
#vatvriksha-footer strong {
  color: #ffffff;
  font-weight: 600;
}

/* Links */
#vatvriksha-footer a {
  color: #9ee6c8;
  text-decoration: none;
  word-break: break-word;
}

#vatvriksha-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Footer bottom bar */
#vatvriksha-footer .footer-bottom {
  margin-top: 18px;         /* reduced spacing */
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 12.5px;
  line-height: 1.4;
  color: #cfe8df;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 768px) {
  #vatvriksha-footer {
    padding: 20px 15px 10px;
  }

  #vatvriksha-footer .footer-container {
    flex-direction: column;
    gap: 18px;
  }

  #vatvriksha-footer h3 {
    font-size: 15px;
  }

  #vatvriksha-footer p {
    font-size: 13px;
    line-height: 1.35;
  }
}

