/* ===============================
   OFFICIAL JOURNAL FONTS
   =============================== */

/* Playfair – headings */
@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Raleway – Bold */
@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   GLOBAL TYPOGRAPHY
   ========================================================= */

body,
p,
li,
td,
th,
input,
textarea {
  font-family: "Raleway", "Segoe UI", Arial, sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  color: #1f2937;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.obj_article_summary .title a,
.pkp_block .title {
  font-family: "Raleway", "Segoe UI", sans-serif !important;
  font-weight: 700;
  color: #c48429;
}

/* hide default footer brand */
.pkp_brand_footer {
  display: none;
}

/* ===============================
   SUBJECT PAGE CSS 
   =============================== */

:root {
  --soft-blue: #eef3ff;
  --soft-teal: #eef8f7;
  --soft-green: #f1f8f3;
  --soft-purple: #eeeaf7;
  --soft-peach: #fff4ec;
  --soft-yellow: #fff8e6;

  --border-soft: #e3e8f0;
  --text-main: #1f2937;
  --text-muted: #4b5563;
}

/* SUBJECT TILE GRID */
.subject-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 40px 0;
}

.subject-tile {
  padding: 22px 20px;
  min-height: 140px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.subject-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

/* title */
.subject-tile h3 {
  font-size: 19px;
  margin: 0 0 6px;
}

/* description */
.subject-tile p {
  font-size: 14px;
  margin: 0;
  color: var(--text-muted);
}

/* SUBJECT COLORS */

.tile-biology,
.tile-physics,
.tile-math-ai,
.tile-design,
.tile-sports,
.tile-business,
.tile-geography,
.tile-philosophy,
.tile-religion {
  background: var(--soft-green);
}

.tile-math-aa,
.tile-digital,
.tile-chemistry,
.tile-politics,
.tile-environment,
.tile-psychology {
  background: var(--soft-blue);
}

.tile-compsci,
.tile-economics,
.tile-physics,
.tile-history,
.tile-anthropology {
  background: var(--soft-yellow);
}

/* MOBILE */
@media (max-width: 768px) {
  .subject-tile {
    min-height: 130px;
  }

  .subject-tile h3 {
    font-size: 18px;
  }

  .subject-tile p {
    font-size: 13.5px;
  }
}

/* ===============================
   JOURNAL HEADER
   =============================== */
.journal-header {
  width: 100%;
  min-height: 420px;
  background-image:
    /* linear-gradient(rgba(38, 36, 123, 0.55), rgba(0, 0, 0, 0.25)), */
    /* url("https://biobytes.s3.ap-south-1.amazonaws.com/journal/Blogs/65a4245d-b8c3-489b-8a70-1242a5da4bcb.jpg"); */
    url("https://avishkaranjournal.s3.ap-south-1.amazonaws.com/HomePageImages/Header/JournalHeaderHeroImage.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===============================
   INNER CONTAINER
   =============================== */

.journal-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* ===============================
   BRAND
   =============================== */

.journal-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  max-width: 90%;
}

/* Logo */
.journal-logo {
  height: 64px;
  flex-shrink: 0;
}

/* Title */
.journal-title {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.4);
}

/* ===============================
   TAGLINE (FIXED & READABLE)
   =============================== */

.journal-tagline {
  /* margin-top: 72px; */
  max-width: 900px;
  font-size: 28px;
  font-weight: 300;
  color: #c48429;
  line-height: 1.55;
  letter-spacing: 0.2px;
  white-space: normal;
  word-wrap: break-word;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Each animated word */
.journal-tagline span {
  opacity: 0;
  display: inline-block;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  margin-right: 0.25em;
  /* 🔥 FIXES WORD SPACING */
}

/* Visible state */
.journal-tagline span.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   MOBILE FIX
   =============================== */

@media (max-width: 768px) {
  .journal-header {
    min-height: 220px;
    margin-top: 0;
  }

  .journal-header-inner {
    padding: 22px 16px;
  }

  .journal-logo {
    height: 40px;
  }

  .journal-title {
    font-size: 13px;
    line-height: 1.3;
  }

  .journal-tagline {
    font-size: 12px;
    max-width: 100%;
    line-height: 1.6;
    font-weight: 500;
  }
}

/* hide OJS site name */
.pkp_site_name {
  display: none !important;
}

/* ===============================
   SUBMISSION BUTTON
   =============================== */



.block_make_submission a {
  display: inline-flex;
  padding: 12px 22px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2563eb, #4f46e5);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  transition: 0.2s;
}

.block_make_submission a:hover {
  background: linear-gradient(90deg, #1d4ed8, #4338ca);
  transform: translateY(-2px);
}

.apply_to_join_ajyr a {
  display: inline-flex;
  padding: 15px 27px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2563eb, #4f46e5);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  transition: 0.2s;
}

.apply_to_join_ajyr a:hover {
  background: linear-gradient(90deg, #1d4ed8, #4338ca);
  transform: translateY(-2px);
}


/* ===============================
   FOOTER
   =============================== */
footer {
  /* background: #26247b; */
  /* background: url("https://biobytes.s3.ap-south-1.amazonaws.com/journal/Blogs/66c2173f-4cf7-454b-9bfe-824ca8c0649b.jpg"); */

  background-image:
    /* linear-gradient(rgba(37, 36, 123, 0.706), rgba(0, 0, 0, 0.706)), */
    linear-gradient(rgba(0, 0, 0, 0.23)),
    /* url("https://biobytes.s3.ap-south-1.amazonaws.com/journal/Blogs/66c2173f-4cf7-454b-9bfe-824ca8c0649b.jpg"); */
    url("https://avishkaranjournal.s3.ap-south-1.amazonaws.com/HomePageImages/Footer/JouranlFooter.jpeg");
  color: #fff;
  padding: 50px 20px 15px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  /* IMPORTANT */
}

.footer-container h3 {
  color: #f4b400;
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-container p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 8px;
  color: white;
}

/* FIX UL ISSUES */
.footer-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-container li {
  margin-bottom: 8px;
}

.footer-container a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-container a:hover {
  color: #f4b400;
}

/* FOOTER BOTTOM */
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #bdbdbd;
  margin-top: 30px;
  border-top: 1px solid #2a3b65;
  padding-top: 12px;
}

/* TABLET */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-container h3 {
    margin-top: 20px;
  }
}

/* ===============================
   EDITORIAL BOARD
   =============================== */

/* =========================
   EDITOR CARD BASE
========================= */
.editor-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #fafafa;
  border: 1px solid #eaeaea;
  margin-bottom: 18px;
  overflow: hidden;
}

/* =========================
   IMAGE (CONSISTENT SIZE)
========================= */
.editor-img,
.editor-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-position: center top;
  flex-shrink: 0;
  object-fit: cover;
  /* 🔥 prevents shrinking */
  background: #eee;
  border: 2px solid #e5e5e5;
  padding: 2px;
}

/* =========================
   TEXT AREA
========================= */
.editor-text {
  flex: 1;
  min-width: 0;
  /* 🔥 prevents overflow */
}

.editor-text h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.editor-affiliation {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.4;
}

.editor-name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.linkedin-icon {
  width: 16px;
  /* 👈 control size here */
  height: 16px;
  display: block;
  /* removes extra space */
}

.linkedin-link:hover .linkedin-icon {
  transform: scale(1.05);
  opacity: 0.85;
}

/* =========================
   TAGS (MAIN ISSUE FIXED)
========================= */
.editor-tags {
  display: flex;
  flex-wrap: wrap;
  /* 🔥 allows wrapping */
  gap: 8px;
  /* 🔥 spacing */
}

.editor-tags .tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  white-space: nowrap;
  /* 🔥 prevents breaking */
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {
  .editor-item {
    flex-direction: column;
    /* 🔥 stack layout */
    align-items: center;
    text-align: center;
  }

  .editor-img,
  .editor-photo {
    width: 90px;
    height: 90px;
    object-position: center top;
  }

  .editor-text {
    width: 100%;
  }

  .editor-tags {
    justify-content: center;
  }
}

/* ===============================
   STUDENT GRID
   =============================== */

.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.student-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 20px 12px;
  text-align: center;
}

.student-photo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: block;
  margin: 0 auto 10px;
}

.student-name {
  margin: 6px 0 2px;
  font-size: 13px;
  color: #c48429;
  font-weight: 600 !important;
}

.student-school {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* ===============================
   MOBILE MENU – PROFESSIONAL THEME
   =============================== */

@media (max-width: 768px) {

  /* NAV WRAPPER */
  .pkp_navigation_primary {
    padding: 10px 14px;
  }

  /* ============================
     LEVEL 1 — MAIN MENU
     ============================ */
  .pkp_navigation_primary>li {
    list-style: none;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
  }

  .pkp_navigation_primary>li>a {
    display: block;
    padding: 12px 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 15.5px;
    letter-spacing: 0.2px;
    text-decoration: none;
  }

  .pkp_navigation_primary>li>a:hover {
    color: #f4b400;
  }

  /* chevron for dropdown parents */
  .pkp_navigation_primary li.dropdown>a::after {
    content: "▾";
    float: right;
    opacity: 0.9;
  }

  /* ============================
     LEVEL 2 — SUBMENU
     ============================ */
  .pkp_navigation_primary .dropdown-menu {
    position: static !important;
    margin: 6px 0 8px 0;
    padding: 6px 0;
    background: rgba(0, 0, 0, 0.15);
    border-left: 3px solid #f4b400;
    /* GOLD BAR */
    border-radius: 6px;
  }

  .pkp_navigation_primary .dropdown-menu>li>a {
    display: block;
    padding: 9px 12px 9px 14px;
    font-size: 14.5px;
    color: #f5f5f5;
    font-weight: 500;
  }

  .pkp_navigation_primary .dropdown-menu>li>a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f4b400;
  }

  /* ============================
     LEVEL 3 — SUB-SUBMENU
     ============================ */
  .pkp_navigation_primary ul ul ul {
    margin-top: 4px;
    border-left: 2px dashed rgba(255, 255, 255, 0.35);
  }

  .pkp_navigation_primary ul ul ul a {
    padding-left: 22px;
    font-size: 13.5px;
    opacity: 0.9;
  }
}

.hero {
  background: #26247b;
  color: white;
  padding: 45px 10px;
  text-align: center;
  border-radius: 10px;
}

.hero h1 {
  margin: 0;
  font-size: 26px;
}

.hero p {
  margin-top: 6px;
  font-size: 15px;
  opacity: 0.9;
}

/* section content */
.content-section {
  max-width: 900px;
  margin: 25px auto;
}

.content-section h2 {
  color: #26247b;
  margin-bottom: 6px;
}

.content-section ul {
  padding-left: 18px;
}

/* SINGLE PROFILE */
/* 
/* badge style tag */
.tag {
  background: #eef4ff;
  color: #1a3faa;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid #d5e1ff;
}

@media (min-width: 992px) and (min-width: 992px) {
  .pkp_navigation_primary {
    display: inline-block;
    max-width: 100%;
    text-align: left;
  }
}

/* ===============================
   AJYR CARD GRID SECTION
================================ */

.ajyr-cards-section {
  margin: 3rem 0;
  /* slightly reduced */
}

.ajyr-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
  row-gap: 1.5rem;
  /* FIX: tighter vertical spacing */
}

/* ===============================
   CARD
================================ */

.ajyr-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e6e6e6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* Hover effect */
.ajyr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  border-color: #d2d2d2;
}

/* ===============================
   IMAGE
================================ */

.ajyr-card-image {
  overflow: hidden;
}

.ajyr-card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* Image zoom on hover (desktop/tablet only) */
.ajyr-card:hover .ajyr-card-image img {
  transform: scale(1.05);
}

/* ===============================
   CONTENT
================================ */

.ajyr-card-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ajyr-card-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: #c97a1c;
  /* matches heading tone */
}

.ajyr-card-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* ===============================
   SECTION HEADING (INSIDE GRID)
================================ */

.ajyr-cards-heading {
  grid-column: 1 / -1;
  margin: 0.75rem 0 0.25rem;
  /* FIX: no big gap */
}

.ajyr-cards-heading h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  color: #c97a1c;
}

/* ===============================
   LINK WRAPPER
================================ */

.ajyr-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ===============================
   CARD BASE
================================ */

.ajyr-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

/* ===============================
   IMAGE
================================ */

.ajyr-card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* ===============================
   CONTENT
================================ */

.ajyr-card-content {
  padding: 1.4rem;
  position: relative;
  z-index: 3;
  /* text above overlay */
}

.ajyr-card-content h3,
.ajyr-card-content p {
  transition: color 0.3s ease;
}

/* ===============================
   FULL CARD TINT (ABOVE IMAGE)
================================ */

.ajyr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: #26247b; */
  /* blue */
  /* opacity: 0; */
  color: black;
  mix-blend-mode: multiply;
  /* 🔥 SAME AS YOUR RED IMAGE */
  transition: opacity 0.35s ease;
  z-index: 2;
  /* ABOVE IMAGE, BELOW TEXT */
}

/* ACTIVATE TINT */
.ajyr-card:hover::before {
  opacity: 0.85;
}

/* ===============================
   IMAGE STILL MOVES (OPTIONAL)
================================ */

.ajyr-card:hover .ajyr-card-image img {
  transform: scale(1.05);
}

/* ===============================
   TEXT COLORS ON TINT
================================ */

.ajyr-card:hover .ajyr-card-content h3 {
  color: #f4b400;
  /* yellow */
}

/* .ajyr-card:hover .ajyr-card-content p {
  color: blac;
} */

/* ===============================
   RESPONSIVE BREAKPOINTS
================================ */

/* Tablet */
@media (max-width: 900px) {
  .ajyr-cards-container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.4rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .ajyr-cards-container {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  /* FIX: mobile image dominance */
  @media (max-width: 600px) {
    .ajyr-card-image {
      height: 180px;
      /* card controls height */
      background: #f6f6f6;
    }

    .ajyr-card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* 🔥 KEY FIX */
      padding: 0;
      /* 🔥 remove padding */
      background: none;
      transform: none !important;
    }
  }

  .ajyr-card-content {
    padding: 1.1rem;
  }

  .ajyr-card-content h3 {
    font-size: 1rem;
  }

  .ajyr-card-content p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

.ajyr-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 800px;
  overflow: hidden;

  /* CARD LOOK */
  border-radius: 20px;
  margin: 1.5rem auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.55); */
  background: rgba(0, 0, 0, 0.478);
  z-index: 1;
}

.hero-section video,
.hero-overlay {
  border-radius: 20px;
}

.hero-content p span[style*="#c48429"] {
  font-weight: 600;
}

/* Text content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  color: #fff;
}

.hero-content p {
  font-size: clamp(2rem, 2vw, 1.25rem);
  max-width: 800px;
  opacity: 1;
  color: white;
  text-shadow: #1f2937;
}

@media (max-width: 768px) {
  .hero-content p {
    font-size: 19px;
  }
}

/* ===============================
   AJYR LOGO SLIDER (FINAL)
================================ */




.ajyr-logo-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
  /* color: #c48429; */
  color: #fff;
  text-align: center;

}





.ajyr-logo-section {
  overflow: hidden;
}




.word-reveal {

   background: #26247b;
  color: white;
  padding: 25px 10px;
  text-align: center;
  border-radius: 10px;

}



/* #headerNavigationContainer,
.pkp_structure_head {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 2000;
  border-bottom: none;
} */

.pkp_head_wrapper {
  padding-top: 2.1rem;
}

/* Nav links on hero */
.pkp_navigation_primary>li>a,
.pkp_navigation_user>li>a,
.pkp_search {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {

  #headerNavigationContainer,
  .pkp_structure_head {
    background: transparent;
    top: env(safe-area-inset-top);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
    border-bottom: none;
  }

  .pkp_head_wrapper {
    padding-top: 0.5rem;
  }



  .pkp_site_nav_toggle {
    position: absolute;
    top: 14px;
    left: 335px;
    width: 2.857rem;
    height: 2.857rem;
    border: 0;
    background: none;
    box-shadow:
      1px 0 0 rgba(255, 255, 255, 0.2),
      -1px 0 0 rgba(255, 255, 255, 0.2);
    z-index: 999;
  }
}

/* ===============================
   ANNOUNCEMENT STYLING
   =============================== */

/* Wrapper spacing – adjust responsibly */
.announcement {
  margin-top: 11rem;
  /* NOT 167px */
}

/* Clickable link */
.announcement-link {
  display: inline-block;
  font-weight: 600;
  color: white;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
  transition: opacity 0.2s ease;
}

.announcement-link:hover {
  opacity: 0.85;
}

/* =========================================================
   AJYR AUTHOR GUIDELINES
   CLEAN • MODERN • ACADEMIC
   ========================================================= */

.author-guidelines {
  max-width: 920px;
  margin: 64px auto;
  padding: 0 18px;
}

/* =========================================================
   HEADINGS
   ========================================================= */

.author-guidelines .guidelines-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #26247b;
  margin: 56px 0 14px;
  line-height: 1.35;
}

.author-guidelines .guidelines-title:first-child {
  margin-top: 0;
}

.author-guidelines .guidelines-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #c48429;
  margin: 32px 0 12px;
}

/* Soft section separation (editorial feel) */
.author-guidelines .guidelines-title:not(:first-child) {
  border-top: 1px solid #e5e7eb;
  padding-top: 36px;
}

/* =========================================================
   BODY TEXT
   ========================================================= */

.author-guidelines p,
.author-guidelines .guidelines-text,
.author-guidelines .MsoNormal {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
  margin: 0 0 16px;
}

/* Lists */
.author-guidelines ul {
  padding-left: 20px;
  margin: 0 0 18px;
}

.author-guidelines li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* =========================================================
   LINKS
   ========================================================= */

.author-guidelines a {
  color: #26247b;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(38, 36, 123, 0.3);
}

.author-guidelines a:hover {
  color: #c48429;
  border-bottom-color: rgba(196, 132, 41, 0.6);
}

/* =========================================================
   TABLE — MODERN EDITORIAL STYLE
   ========================================================= */

.guidelines-table-wrapper {
  margin: 36px 0 48px;
  overflow-x: auto;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* Table base */
.guidelines-table-wrapper table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}

/* Header */
.guidelines-th {
  background: #f9fafb;
  color: #26247b;
  font-weight: 700;
  padding: 16px 14px;
  text-align: left;
  border-bottom: 2px solid #26247b;
  white-space: nowrap;
}

/* Body cells */
.guidelines-td {
  padding: 16px 14px;
  color: #374151;
  vertical-align: top;
  border-bottom: 1px solid #eef2f7;
}

/* First column emphasis */
.guidelines-td:first-child {
  font-weight: 600;
  color: #111827;
}

/* Numeric columns alignment */
.guidelines-td:nth-child(3),
.guidelines-td:nth-child(4),
.guidelines-td:nth-child(5) {
  text-align: center;
  white-space: nowrap;
}

/* Subtle hover */
.guidelines-table-wrapper tbody tr {
  transition: background 0.15s ease;
}

.guidelines-table-wrapper tbody tr:hover {
  background: #f8faff;
}

/* Remove last border */
.guidelines-table-wrapper tbody tr:last-child .guidelines-td {
  border-bottom: none;
}

/* =========================================================
   FIGURES & TABLE TEXT BLOCKS
   ========================================================= */

.author-guidelines strong {
  font-weight: 600;
  color: #111827;
}

.author-guidelines em {
  font-style: italic;
  color: #374151;
}

/* =========================================================
   MOBILE RESPONSIVENESS
   ========================================================= */

@media (max-width: 768px) {
  .author-guidelines {
    margin: 40px auto;
  }

  .author-guidelines .guidelines-title {
    font-size: 1.35rem;
    margin-top: 44px;
  }

  .author-guidelines .guidelines-subtitle {
    font-size: 1rem;
  }

  .author-guidelines p,
  .author-guidelines .guidelines-text,
  .author-guidelines .MsoNormal {
    font-size: 15px;
  }

  .guidelines-table-wrapper table {
    font-size: 14px;
  }

  .guidelines-th,
  .guidelines-td {
    padding: 12px 10px;
  }
}

/* ===============================
   GUIDELINES LIST STYLE
   =============================== */

.author-guidelines .guidelines-list {
  padding-left: 20px;
  margin: 0 0 18px;
}

.author-guidelines .guidelines-list li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: #374151;
}

/* Optional: subtle marker style */
.author-guidelines .guidelines-list li::marker {
  color: #26247b;
}




.flipbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  margin: 48px 0;
}

.flipbook-card {
  max-width: 360px;
}

.flipbook-card img {
  width: 100%;
  height: auto;
  display: block;
}

.flipbook-title {
  margin: 16px 0 12px;
  font-size: 18px;
  font-weight: 500;
  color: #2b2b2b;
  line-height: 1.4;
}

.flipbook-link {
  font-size: 14px;
  font-weight: 600;
  color: #8b0000;
  text-decoration: none;
}

.flipbook-link:hover {
  text-decoration: underline;
}