/*
===============================================================================
AFISH â€” OJS 3.5.0.4 BASELINE THEME
Journal of Aquatic and Fisheries Products Technology
Program Studi Teknologi Hasil Perikanan
Fakultas Perikanan dan Ilmu Kelautan, Universitas Mulawarman

File      : AFISH_OJS3504_Baseline_v1.0.css
Version   : 1.0
Target    : OJS 3.5.0.4 / Default Theme
Approach  : JTAF-standard structure, adapted to AFISH marine identity
Namespace : afish-*
===============================================================================

DESIGN PRINCIPLES
- Modern scholarly journal appearance
- Compact, readable, responsive
- Native OJS pages remain usable without custom HTML
- Custom AFISH HTML blocks/classes can be added progressively
- No external fonts required
- No JavaScript dependency
- Background pattern is CSS-only (no external image dependency)
===============================================================================
*/


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */

:root {
  --afish-navy-950: #062635;
  --afish-navy-900: #083344;
  --afish-navy-800: #0b3d52;
  --afish-navy-700: #0e5169;

  --afish-teal-700: #0f6f78;
  --afish-teal-600: #0f8290;
  --afish-teal-500: #1198a5;
  --afish-teal-400: #22b8b5;

  --afish-aqua-300: #79d5cf;
  --afish-aqua-200: #b8ebe7;
  --afish-aqua-100: #dff6f3;
  --afish-aqua-50:  #f1fbfa;

  --afish-coral-600: #d9772d;
  --afish-coral-500: #ee9442;
  --afish-coral-100: #fff0df;

  --afish-ink:       #24323a;
  --afish-muted:     #64747d;
  --afish-line:      #d9e4e7;
  --afish-surface:   #ffffff;
  --afish-bg:        #f5fafb;
  --afish-soft:      #eef6f7;
  --afish-cream:     #fffaf1;

  --afish-success:   #2e7d5b;
  --afish-warning:   #b87818;
  --afish-danger:    #b94b4b;

  --afish-radius-sm: 7px;
  --afish-radius:    12px;
  --afish-radius-lg: 18px;

  --afish-shadow-sm: 0 2px 10px rgba(8, 51, 68, .07);
  --afish-shadow:    0 8px 28px rgba(8, 51, 68, .10);
  --afish-shadow-lg: 0 14px 42px rgba(8, 51, 68, .14);

  --afish-max:       1180px;
  --afish-text-max:  820px;

  --afish-font:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --afish-serif:
    Georgia, "Times New Roman", Times, serif;

  --afish-transition: 180ms ease;
}


/* ==========================================================================
   02. BASE / ACCESSIBILITY / TYPOGRAPHY
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--afish-ink);
  font-family: var(--afish-font);
  font-size: 15px;
  line-height: 1.68;
  background-color: var(--afish-bg);

  /*
    AFISH signature pattern:
    subtle aquatic ripple / fish-scale geometry, CSS-only.
  */
  background-image:
    radial-gradient(circle at 0 100%, rgba(17,152,165,.055) 0 13px, transparent 14px),
    radial-gradient(circle at 20px 100%, rgba(17,152,165,.055) 0 13px, transparent 14px);
  background-size: 40px 20px;
  background-position: 0 0, 0 10px;
}

body,
button,
input,
select,
textarea {
  font-family: var(--afish-font);
}

a {
  color: var(--afish-teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition:
    color var(--afish-transition),
    background-color var(--afish-transition),
    border-color var(--afish-transition),
    box-shadow var(--afish-transition),
    transform var(--afish-transition);
}

a:hover,
a:focus {
  color: var(--afish-coral-600);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(34,184,181,.28);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  color: #fff;
  background: var(--afish-teal-600);
}

.pkp_structure_page {
  background: transparent;
}

.pkp_structure_content {
  max-width: var(--afish-max);
  margin-right: auto;
  margin-left: auto;
}

.pkp_structure_main {
  color: var(--afish-ink);
}

.pkp_structure_main p,
.pkp_structure_main li {
  line-height: 1.72;
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4,
.pkp_structure_main h5 {
  color: var(--afish-navy-900);
  font-family: var(--afish-font);
  line-height: 1.3;
  letter-spacing: -.015em;
}

.pkp_structure_main h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
}

.pkp_structure_main h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
}

.pkp_structure_main h3 {
  font-size: 1.15rem;
}


/* ==========================================================================
   03. HEADER / JOURNAL IDENTITY
   ========================================================================== */

.pkp_structure_head {
  position: relative;
  z-index: 100;
  border: 0;
  background:
    linear-gradient(135deg, rgba(6,38,53,.98), rgba(15,111,120,.96));
  box-shadow: 0 5px 24px rgba(6,38,53,.18);
}

.pkp_head_wrapper {
  max-width: var(--afish-max);
}

.pkp_site_name {
  padding-top: 18px;
  padding-bottom: 18px;
}

.pkp_site_name > a {
  color: #fff !important;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.14);
}

.pkp_site_name .is_img img {
  max-height: 92px;
  width: auto;
  object-fit: contain;
}

.pkp_site_name .is_text {
  color: #fff;
}

.pkp_site_name .is_text:hover {
  color: var(--afish-aqua-200);
}


/* ==========================================================================
   04. PRIMARY NAVIGATION / USER NAVIGATION
   ========================================================================== */

.pkp_site_nav_menu {
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(6,38,53,.42);
}

.pkp_navigation_primary {
  font-weight: 700;
  letter-spacing: .015em;
}

.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a {
  color: rgba(255,255,255,.94) !important;
}

.pkp_navigation_primary > li > a {
  padding-top: 13px;
  padding-bottom: 13px;
  border-bottom: 3px solid transparent;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  color: #fff !important;
  border-bottom-color: var(--afish-coral-500);
}

.pkp_navigation_primary ul {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0 0 var(--afish-radius-sm) var(--afish-radius-sm);
  background: var(--afish-navy-900);
  box-shadow: var(--afish-shadow);
}

.pkp_navigation_primary ul a {
  color: rgba(255,255,255,.94) !important;
}

.pkp_navigation_primary ul a:hover,
.pkp_navigation_primary ul a:focus {
  color: #fff !important;
  background: var(--afish-teal-700);
}

.pkp_navigation_user a:hover,
.pkp_navigation_user a:focus {
  color: var(--afish-aqua-200) !important;
}

.pkp_navigation_search_wrapper a {
  color: rgba(255,255,255,.96) !important;
}


/* ==========================================================================
   05. BREADCRUMBS
   ========================================================================== */

.cmp_breadcrumbs {
  margin-bottom: 16px;
  padding: 9px 13px;
  border: 1px solid var(--afish-line);
  border-radius: var(--afish-radius-sm);
  background: rgba(255,255,255,.82);
  color: var(--afish-muted);
  font-size: .86rem;
  box-shadow: var(--afish-shadow-sm);
}

.cmp_breadcrumbs a {
  color: var(--afish-teal-700);
  font-weight: 600;
  text-decoration: none;
}


/* ==========================================================================
   06. MAIN CONTENT + SIDEBAR
   ========================================================================== */

.pkp_structure_content {
  padding-top: 28px;
  padding-bottom: 34px;
}

.pkp_structure_main {
  border-radius: var(--afish-radius-lg);
  background: rgba(255,255,255,.95);
  box-shadow: var(--afish-shadow-sm);
}

@media (min-width: 992px) {
  .pkp_structure_main {
    padding: 30px 34px;
  }
}

.pkp_structure_sidebar {
  font-size: .92rem;
}

.pkp_structure_sidebar .pkp_block,
.pkp_block {
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--afish-line);
  border-radius: var(--afish-radius);
  background: rgba(255,255,255,.97);
  box-shadow: var(--afish-shadow-sm);
}

.pkp_block .title {
  margin: 0;
  padding: 11px 14px;
  color: #fff;
  background:
    linear-gradient(105deg, var(--afish-navy-800), var(--afish-teal-700));
  font-size: .91rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.pkp_block .content {
  padding: 13px 14px 14px;
}

.pkp_block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pkp_block li + li {
  border-top: 1px dashed #dce8e9;
}

.pkp_block li a {
  display: block;
  padding: 8px 2px;
  color: var(--afish-ink);
  font-weight: 600;
  text-decoration: none;
}

.pkp_block li a:hover {
  color: var(--afish-teal-700);
  transform: translateX(2px);
}


/* ==========================================================================
   07. BUTTONS / GALLEYS / ACTIONS
   ========================================================================== */

.cmp_button,
a.cmp_button,
button.cmp_button,
.pkp_structure_main .pkp_button,
.obj_galley_link,
.galleys_links a,
.obj_article_summary .galleys_links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--afish-teal-700);
  border-radius: 999px;
  color: #fff !important;
  background: var(--afish-teal-700);
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: none;
}

.cmp_button:hover,
a.cmp_button:hover,
button.cmp_button:hover,
.pkp_structure_main .pkp_button:hover,
.obj_galley_link:hover,
.galleys_links a:hover,
.obj_article_summary .galleys_links a:hover {
  border-color: var(--afish-coral-500);
  color: #fff !important;
  background: var(--afish-coral-500);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(217,119,45,.18);
}


/* ==========================================================================
   08. HOMEPAGE â€” JTAF-STYLE BASELINE
   ========================================================================== */

.page_index_journal .homepage_image {
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: var(--afish-radius-lg);
  box-shadow: var(--afish-shadow);
}

.page_index_journal .homepage_image img {
  display: block;
  width: 100%;
}

.page_index_journal .homepage_about {
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid var(--afish-line);
  border-left: 5px solid var(--afish-teal-600);
  border-radius: var(--afish-radius);
  background:
    linear-gradient(135deg, #fff 0%, var(--afish-aqua-50) 100%);
  box-shadow: var(--afish-shadow-sm);
}

.page_index_journal .homepage_about h2 {
  margin-top: 0;
}

.page_index_journal .additional_content {
  margin-top: 24px;
}

.page_index_journal .current_issue {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--afish-line);
  border-radius: var(--afish-radius-lg);
  background: #fff;
  box-shadow: var(--afish-shadow);
}

.page_index_journal .current_issue > h2,
.page_index_journal .current_issue .current_issue_title {
  position: relative;
  margin-top: 0;
  padding-bottom: 12px;
  color: var(--afish-navy-900);
}

.page_index_journal .current_issue > h2::after,
.page_index_journal .current_issue .current_issue_title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 9px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--afish-teal-500), var(--afish-coral-500));
}


/* Optional custom homepage helpers */

.afish-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, .75fr);
  gap: 24px;
  align-items: start;
}

.afish-home-panel,
.afish-info-card {
  border: 1px solid var(--afish-line);
  border-radius: var(--afish-radius);
  background: #fff;
  box-shadow: var(--afish-shadow-sm);
}

.afish-home-panel {
  padding: 22px 24px;
}

.afish-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 20px 0;
}

.afish-info-card {
  padding: 16px;
}

.afish-info-card strong,
.afish-info-card .afish-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--afish-teal-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}


/* ==========================================================================
   09. CURRENT ISSUE / ISSUE TOC
   ========================================================================== */

.obj_issue_toc {
  margin-top: 12px;
}

.obj_issue_toc .heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--afish-line);
  border-radius: var(--afish-radius);
  background:
    linear-gradient(135deg, var(--afish-aqua-50), #fff 62%);
}

.obj_issue_toc .heading .cover {
  margin: 0 auto;
}

.obj_issue_toc .heading .cover img {
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(8,51,68,.16);
}

.obj_issue_toc .heading .description {
  color: var(--afish-muted);
}

.obj_issue_toc .published {
  color: var(--afish-muted);
  font-size: .9rem;
}

.obj_issue_toc .sections {
  margin-top: 24px;
}

.obj_issue_toc .section {
  margin-top: 24px;
}

.obj_issue_toc .section > h2,
.obj_issue_toc .section > h3 {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-left: 5px solid var(--afish-coral-500);
  border-radius: 0 var(--afish-radius-sm) var(--afish-radius-sm) 0;
  background: var(--afish-soft);
  color: var(--afish-navy-900);
  font-size: 1.06rem;
  font-weight: 800;
}


/* ==========================================================================
   10. ARTICLE LIST / SCHOLARLY SUMMARY
   ========================================================================== */

.obj_article_summary {
  position: relative;
  margin: 0 !important;
  padding: 17px 16px 17px 20px !important;
  border: 1px solid transparent;
  border-bottom-color: var(--afish-line);
  background: #fff;
  transition:
    border-color var(--afish-transition),
    background var(--afish-transition),
    box-shadow var(--afish-transition),
    transform var(--afish-transition);
}

.obj_article_summary::before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 17px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: transparent;
}

.obj_article_summary:hover {
  z-index: 1;
  border-color: #cae2e3;
  border-radius: var(--afish-radius-sm);
  background: var(--afish-aqua-50);
  box-shadow: var(--afish-shadow-sm);
  transform: translateY(-1px);
}

.obj_article_summary:hover::before {
  background:
    linear-gradient(180deg, var(--afish-teal-500), var(--afish-coral-500));
}

.obj_article_summary .title {
  margin-bottom: 6px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.45;
}

.obj_article_summary .title a {
  color: var(--afish-navy-900);
  text-decoration: none;
}

.obj_article_summary .title a:hover {
  color: var(--afish-teal-700);
}

.obj_article_summary .authors {
  color: var(--afish-muted);
  font-size: .91rem;
}

.obj_article_summary .meta {
  margin-top: 7px;
  color: var(--afish-muted);
  font-size: .82rem;
}

.obj_article_summary .pages {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border: 1px solid #cde0e2;
  border-radius: 999px;
  color: var(--afish-teal-700);
  background: #f7fbfb;
  font-size: .76rem;
  font-weight: 700;
}

.obj_article_summary .galleys_links {
  margin-top: 10px;
}


/* Custom scholarly list helpers â€” compatible with future AFISH article HTML */

.afish-article-type {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--afish-navy-800);
  background: var(--afish-aqua-100);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.afish-doi {
  overflow-wrap: anywhere;
  color: var(--afish-teal-700);
  font-size: .82rem;
}

.afish-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: center;
  margin-top: 8px;
  color: var(--afish-muted);
  font-size: .81rem;
}


/* ==========================================================================
   11. ISSUE ARCHIVE
   ========================================================================== */

.page_issue_archive .issues_archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
}

.page_issue_archive .issues_archive > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none;
}

.obj_issue_summary {
  height: 100%;
  padding: 16px;
  border: 1px solid var(--afish-line);
  border-radius: var(--afish-radius);
  background: #fff;
  box-shadow: var(--afish-shadow-sm);
  transition:
    transform var(--afish-transition),
    box-shadow var(--afish-transition),
    border-color var(--afish-transition);
}

.obj_issue_summary:hover {
  border-color: #b9d9dc;
  transform: translateY(-3px);
  box-shadow: var(--afish-shadow);
}

.obj_issue_summary .cover img {
  border-radius: 5px;
  box-shadow: 0 6px 20px rgba(8,51,68,.13);
}

.obj_issue_summary .title {
  font-weight: 800;
}

.obj_issue_summary .title a {
  color: var(--afish-navy-900);
  text-decoration: none;
}

.obj_issue_summary .series,
.obj_issue_summary .description {
  color: var(--afish-muted);
}


/* ==========================================================================
   12. ARTICLE DETAIL PAGE
   ========================================================================== */

.obj_article_details .page_title,
.obj_article_details .title {
  color: var(--afish-navy-900);
}

.obj_article_details .authors,
.obj_article_details .author_bios,
.obj_article_details .article_details {
  color: var(--afish-muted);
}

.obj_article_details .abstract {
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid var(--afish-line);
  border-radius: var(--afish-radius);
  background: var(--afish-aqua-50);
}

.obj_article_details .abstract h2,
.obj_article_details .abstract h3 {
  margin-top: 0;
}

.obj_article_details .item {
  border-color: var(--afish-line);
}

.obj_article_details .label {
  color: var(--afish-navy-800);
  font-weight: 800;
}

.obj_article_details .entry_details {
  color: var(--afish-muted);
}


/* ==========================================================================
   13. EDITOR / REVIEWER / TEAM CARDS
   Use these classes in Static Pages / Custom Blocks later.
   ========================================================================== */

.afish-person-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin: 18px 0 24px;
}

.afish-person-card {
  position: relative;
  overflow: hidden;
  padding: 17px 18px 16px 20px;
  border: 1px solid var(--afish-line);
  border-radius: var(--afish-radius);
  background: #fff;
  box-shadow: var(--afish-shadow-sm);
}

.afish-person-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background:
    linear-gradient(180deg, var(--afish-teal-500), var(--afish-coral-500));
}

.afish-person-card:hover {
  border-color: #bddbdd;
  box-shadow: var(--afish-shadow);
  transform: translateY(-2px);
}

.afish-person-name {
  margin: 0 0 3px;
  color: var(--afish-navy-900);
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.4;
}

.afish-person-role {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--afish-teal-700);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.afish-person-affiliation,
.afish-person-meta {
  color: var(--afish-muted);
  font-size: .86rem;
  line-height: 1.55;
}

.afish-person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.afish-person-links a {
  padding: 3px 8px;
  border: 1px solid #cddfe1;
  border-radius: 999px;
  background: #f9fcfc;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
}


/* ==========================================================================
   14. INDEXING & ABSTRACTING
   IMPORTANT: display only services actually verified for AFISH.
   ========================================================================== */

.afish-indexing {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--afish-line);
  border-radius: var(--afish-radius-lg);
  background:
    linear-gradient(135deg, #fff 0%, var(--afish-soft) 100%);
  box-shadow: var(--afish-shadow-sm);
}

.afish-indexing-title {
  margin: 0 0 14px;
  color: var(--afish-navy-900);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .025em;
}

.afish-indexing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}

.afish-indexing-item {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #d9e6e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(8,51,68,.045);
}

.afish-indexing-item:hover {
  border-color: var(--afish-aqua-300);
  transform: translateY(-2px);
  box-shadow: var(--afish-shadow-sm);
}

.afish-indexing-item img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
  filter: saturate(.92);
}


/* ==========================================================================
   15. POLICY / STATIC PAGE CARDS
   ========================================================================== */

.afish-policy-card,
.afish-note,
.afish-callout {
  margin: 14px 0;
  padding: 16px 18px;
  border: 1px solid var(--afish-line);
  border-radius: var(--afish-radius);
  background: #fff;
}

.afish-policy-card {
  box-shadow: var(--afish-shadow-sm);
}

.afish-note {
  border-left: 5px solid var(--afish-teal-500);
  background: var(--afish-aqua-50);
}

.afish-callout {
  border-left: 5px solid var(--afish-coral-500);
  background: var(--afish-cream);
}

.afish-badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--afish-navy-900);
  background: var(--afish-aqua-100);
  font-size: .74rem;
  font-weight: 800;
}


/* ==========================================================================
   16. TABLES
   ========================================================================== */

.pkp_structure_main table,
.afish-table {
  width: 100%;
  margin: 16px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--afish-line);
  border-radius: 10px;
  background: #fff;
}

.pkp_structure_main table th,
.afish-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--afish-line);
  color: #fff;
  background: var(--afish-navy-800);
  font-weight: 800;
  text-align: left;
}

.pkp_structure_main table td,
.afish-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e7eef0;
  vertical-align: top;
}

.pkp_structure_main table tr:last-child td,
.afish-table tr:last-child td {
  border-bottom: 0;
}

.pkp_structure_main table tbody tr:nth-child(even),
.afish-table tbody tr:nth-child(even) {
  background: #f9fcfc;
}


/* ==========================================================================
   17. FORMS / SUBMISSION / SEARCH
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea {
  border: 1px solid #cddadd;
  border-radius: var(--afish-radius-sm);
  color: var(--afish-ink);
  background: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--afish-teal-500);
  box-shadow: 0 0 0 3px rgba(17,152,165,.12);
}

fieldset {
  border-color: var(--afish-line);
}


/* ==========================================================================
   18. NOTICES / EMPTY STATE
   ========================================================================== */

.cmp_notification,
.afish-empty-state {
  padding: 16px 18px;
  border: 1px solid var(--afish-line);
  border-left: 5px solid var(--afish-teal-500);
  border-radius: var(--afish-radius);
  background: var(--afish-aqua-50);
  color: var(--afish-ink);
}

.afish-empty-state {
  text-align: center;
}

.afish-empty-state strong {
  display: block;
  margin-bottom: 4px;
  color: var(--afish-navy-900);
}


/* ==========================================================================
   19. FOOTER â€” NATIVE OJS + CUSTOM AFISH FOOTER
   ========================================================================== */

.pkp_structure_footer {
  margin-top: 38px;
  border-top: 5px solid var(--afish-coral-500);
  background:
    linear-gradient(140deg, var(--afish-navy-950), var(--afish-navy-800));
  color: rgba(255,255,255,.88);
}

.pkp_footer_content {
  max-width: var(--afish-max);
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 28px;
  color: rgba(255,255,255,.86);
}

.pkp_footer_content a {
  color: var(--afish-aqua-200);
}

.pkp_footer_content a:hover {
  color: #fff;
}

.pkp_brand_footer {
  max-width: var(--afish-max);
  margin: 0 auto;
  padding-bottom: 18px;
}

.pkp_brand_footer img {
  opacity: .9;
}


/* Recommended custom footer markup classes */

.afish-footer {
  color: rgba(255,255,255,.9);
}

.afish-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 24px;
}

.afish-footer-title {
  margin: 0 0 9px;
  color: #fff;
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: .035em;
}

.afish-footer p,
.afish-footer li {
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  line-height: 1.6;
}

.afish-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.afish-footer li + li {
  margin-top: 6px;
}

.afish-footer-bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.64);
  font-size: .78rem;
}


/* ==========================================================================
   20. SMALL UTILITY CLASSES
   ========================================================================== */

.afish-section-title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 9px;
  color: var(--afish-navy-900);
  font-weight: 850;
}

.afish-section-title::after {
  content: "";
  display: block;
  width: 68px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--afish-teal-500), var(--afish-coral-500));
}

.afish-muted {
  color: var(--afish-muted);
}

.afish-text-center {
  text-align: center;
}

.afish-stack > * + * {
  margin-top: 12px;
}


/* ==========================================================================
   21. RESPONSIVE
   ========================================================================== */

@media (min-width: 700px) {
  .obj_issue_toc .heading {
    grid-template-columns: minmax(150px, 205px) minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 991px) {
  .pkp_structure_content {
    padding-top: 18px;
  }

  .pkp_structure_main {
    border-radius: 12px;
  }

  .afish-home-grid {
    grid-template-columns: 1fr;
  }

  .afish-info-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .afish-indexing-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .afish-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14.5px;
  }

  .pkp_site_name {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .page_index_journal .current_issue,
  .page_index_journal .homepage_about {
    padding: 17px;
  }

  .page_issue_archive .issues_archive,
  .afish-person-grid,
  .afish-info-grid {
    grid-template-columns: 1fr;
  }

  .afish-indexing-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .afish-footer-grid {
    grid-template-columns: 1fr;
  }

  .obj_article_summary {
    padding: 14px 12px 14px 17px !important;
  }
}

@media (max-width: 420px) {
  .afish-indexing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .afish-indexing-item {
    min-height: 60px;
    padding: 8px;
  }
}


/* ==========================================================================
   22. PRINT
   ========================================================================== */

@media print {
  body {
    background: #fff !important;
  }

  .pkp_structure_head,
  .pkp_structure_sidebar,
  .pkp_structure_footer,
  .pkp_navigation_primary,
  .pkp_navigation_user {
    display: none !important;
  }

  .pkp_structure_main {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  a {
    color: #000 !important;
    text-decoration: none !important;
  }
}


/* ==========================================================================
   23. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ==========================================================================
   END â€” AFISH OJS 3.5.0.4 BASELINE v1.4
   ========================================================================== */


/* ==========================================================================
   24. VISUAL CALIBRATION v1.1 â€” based on live AFISH OJS 3.5.0.4 screenshots
   ========================================================================== */

/* Header logo: remove any accidental visual frame from the OJS image wrapper */
.pkp_site_name,
.pkp_site_name > a,
.pkp_site_name .is_img,
.pkp_site_name .is_img img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.pkp_site_name .is_img {
  display: inline-block;
  line-height: 0;
}

.pkp_site_name .is_img img {
  max-height: 98px;
}

/* Tighten header/nav relation a little on desktop */
@media (min-width: 992px) {
  .pkp_site_name {
    padding-top: 17px;
    padding-bottom: 17px;
  }

  .pkp_site_nav_menu {
    margin-top: 0;
  }
}

/* Make the background pattern more subtle so content becomes dominant */
body {
  background-image:
    radial-gradient(circle at 0 100%, rgba(17,152,165,.032) 0 13px, transparent 14px),
    radial-gradient(circle at 20px 100%, rgba(17,152,165,.032) 0 13px, transparent 14px);
}

/*
  Homepage currently has no published issue/content yet.
  Avoid showing a large empty white "card" when the native homepage body is empty.
  Future homepage custom sections/current issue will carry their own cards.
*/
.page_index_journal .pkp_structure_main {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
  box-shadow: none;
}

/* If homepage content exists, keep it visually structured */
.page_index_journal .homepage_about,
.page_index_journal .additional_content,
.page_index_journal .current_issue,
.page_index_journal .cmp_announcements {
  background-color: rgba(255,255,255,.97);
}

/* Native Current page / archive pages stay as readable white content panels */
.page_issue_current .pkp_structure_main,
.page_issue_archive .pkp_structure_main,
.page_search .pkp_structure_main,
.page_about .pkp_structure_main {
  background: rgba(255,255,255,.97);
  box-shadow: var(--afish-shadow-sm);
}

/* Current page empty-state refinement */
.page_issue_current .pkp_structure_main {
  padding-bottom: 28px;
}

.page_issue_current .cmp_notification,
.page_issue_current .afish-empty-state {
  margin-top: 18px;
}

/* Breadcrumb made a little more compact than v1.0 */
.cmp_breadcrumbs {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 8px 12px;
  box-shadow: none;
}

/* Sidebar: slightly tighter and more cohesive */
.pkp_structure_sidebar {
  padding-top: 0;
}

.pkp_structure_sidebar .pkp_block,
.pkp_block {
  margin-bottom: 13px;
}

.pkp_structure_sidebar .pkp_block .content {
  padding: 12px;
}

/*
  Legacy/custom sidebar links often arrive as stacked buttons.
  Normalize their corners/spacing without changing their HTML.
*/
.pkp_structure_sidebar .pkp_block .content > a,
.pkp_structure_sidebar .pkp_block .content > p > a,
.pkp_structure_sidebar .pkp_block .content td > a {
  border-radius: 7px;
}

/* Search placement/header visual alignment */
.pkp_navigation_search_wrapper {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.pkp_navigation_search_wrapper a {
  font-weight: 700;
}

/* Reduce the visual gap between nav and first content row */
.pkp_structure_content {
  padding-top: 26px;
}

/* Main/sidebar column visual balance at large screens */
@media (min-width: 992px) {
  .pkp_structure_main {
    border: 1px solid rgba(217,228,231,.82);
  }

  .page_index_journal .pkp_structure_main {
    border: 0;
  }

  .pkp_structure_sidebar {
    padding-left: 0;
  }
}

/* Mobile calibration */
@media (max-width: 767px) {
  .pkp_site_name .is_img img {
    max-height: 74px;
  }

  .pkp_structure_content {
    padding-top: 14px;
  }
}


/* ==========================================================================
   END VISUAL CALIBRATION v1.1
   ========================================================================== */


/* ==========================================================================
   25. VISUAL CALIBRATION v1.2 â€” Homepage / Sidebar / Footer
   Based on live AFISH OJS 3.5.0.4 screenshots and HomePage AFISH_00.pdf
   ========================================================================== */

/* --- A. Main content: keep static HOME page as a clean editorial panel --- */
.page_page .pkp_structure_main,
.page_page .page {
  background: rgba(255,255,255,.98);
}

.page_page .pkp_structure_main {
  border: 1px solid rgba(217,228,231,.88);
  border-radius: var(--afish-radius-lg);
  box-shadow: var(--afish-shadow-sm);
}

.page_page .pkp_structure_main > .page {
  border-radius: inherit;
}

/* Images placed inside static pages, including the AFISH cover */
.page_page .pkp_structure_main img {
  height: auto;
}

.page_page .pkp_structure_main p > img,
.page_page .pkp_structure_main div > img {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

/* --- B. Sidebar shell: cleaner, more compact, less "button wall" --- */
.pkp_structure_sidebar {
  border-radius: var(--afish-radius);
}

.pkp_structure_sidebar .pkp_block {
  overflow: hidden;
  border-color: rgba(210,224,227,.95);
  box-shadow: 0 3px 14px rgba(8,51,68,.06);
}

/*
  Text-only links inside custom sidebar blocks.
  Image/logo links are excluded so template/reference-tool logos remain intact.
*/
@supports selector(a:has(img)) {
  .pkp_structure_sidebar .pkp_block .content a:not(:has(img)) {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0 0 3px;
    padding: 8px 11px !important;
    border: 1px solid #d5e5e7 !important;
    border-radius: 8px !important;
    color: var(--afish-navy-900) !important;
    background: #f8fcfc !important;
    font-size: .79rem;
    font-weight: 800;
    line-height: 1.22;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
  }

  .pkp_structure_sidebar .pkp_block .content a:not(:has(img)):hover,
  .pkp_structure_sidebar .pkp_block .content a:not(:has(img)):focus {
    border-color: var(--afish-teal-500) !important;
    color: #fff !important;
    background:
      linear-gradient(105deg, var(--afish-navy-800), var(--afish-teal-700)) !important;
    transform: translateY(-1px);
  }
}

/* Legacy image links (journal template / reference tools) */
.pkp_structure_sidebar .pkp_block .content a img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.pkp_structure_sidebar .pkp_block .content a:has(img) {
  display: block;
  margin: 8px auto;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.pkp_structure_sidebar .pkp_block .content a:has(img):hover {
  border-color: #d5e5e7;
  background: var(--afish-aqua-50);
}

/* Native Make a Submission block/button */
.pkp_structure_sidebar .block_make_submission a,
.pkp_structure_sidebar a.block_make_submission_link {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  border-color: var(--afish-coral-500) !important;
  color: #fff !important;
  background: var(--afish-coral-500) !important;
  font-weight: 850;
}

.pkp_structure_sidebar .block_make_submission a:hover,
.pkp_structure_sidebar a.block_make_submission_link:hover {
  border-color: var(--afish-navy-800) !important;
  background: var(--afish-navy-800) !important;
}

/* --- C. Current page: slightly more balanced empty state --- */
.page_issue_current .pkp_structure_main {
  min-height: 230px;
}

.page_issue_current .cmp_notification {
  max-width: 100%;
  box-sizing: border-box;
}

/* --- D. Footer: full-width background, centered editorial content --- */
.pkp_structure_footer_wrapper {
  width: 100%;
  margin: 0;
  border-top: 5px solid var(--afish-coral-500);
  background:
    linear-gradient(140deg, var(--afish-navy-950), var(--afish-navy-800)) !important;
}

.pkp_structure_footer {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pkp_footer_content,
.pkp_brand_footer {
  width: min(calc(100% - 32px), var(--afish-max));
  max-width: var(--afish-max);
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box;
}

.pkp_footer_content {
  padding: 24px 0 18px;
}

.pkp_brand_footer {
  padding: 0 0 18px;
}

/* Existing custom footer HTML inside OJS */
.pkp_footer_content table,
.pkp_footer_content div,
.pkp_footer_content p {
  max-width: 100%;
}

.pkp_footer_content hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.17);
}

/* Public statistics link prepared for Statcounter guest stats */
.afish-stats-link {
  margin-top: 10px;
}

.afish-stats-link a {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: var(--afish-aqua-200) !important;
  background: rgba(255,255,255,.06);
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none !important;
}

.afish-stats-link a:hover {
  border-color: var(--afish-coral-500);
  color: #fff !important;
  background: var(--afish-coral-500);
}

/* --- E. Less decorative pattern near primary reading area --- */
@media (min-width: 992px) {
  .pkp_structure_content {
    background: rgba(245,250,251,.18);
  }
}

/* --- F. Small-screen cleanup --- */
@media (max-width: 767px) {
  .page_page .pkp_structure_main {
    border-radius: 10px;
  }

  .pkp_footer_content,
  .pkp_brand_footer {
    width: min(calc(100% - 22px), var(--afish-max));
  }
}


/* ==========================================================================
   END VISUAL CALIBRATION v1.2
   ========================================================================== */


/* ==========================================================================
   26. VISUAL CALIBRATION v1.3 â€” FINAL BASELINE
   Footer integration + submission CTA + OJS/PKP brand refinement
   ========================================================================== */

/* --- A. Stronger Make a Submission CTA for OJS 3.5.x sidebar variants --- */
.pkp_structure_sidebar a[href*="/submission"],
.pkp_structure_sidebar a[href*="/submission/"],
.pkp_structure_sidebar a[href*="submission/wizard"] {
  display: flex !important;
  width: 100% !important;
  min-height: 40px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 9px 12px !important;
  border: 1px solid var(--afish-coral-500) !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: var(--afish-coral-500) !important;
  background-image: none !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.pkp_structure_sidebar a[href*="/submission"]:hover,
.pkp_structure_sidebar a[href*="/submission/"]:hover,
.pkp_structure_sidebar a[href*="submission/wizard"]:hover {
  border-color: var(--afish-navy-800) !important;
  background: var(--afish-navy-800) !important;
  transform: translateY(-1px);
}


/* --- B. Flatten legacy custom footer card into the new full-width footer --- */
.pkp_footer_content > div,
.pkp_footer_content > section,
.pkp_footer_content > table {
  max-width: 100%;
  box-sizing: border-box;
}

/* Remove the visual "blue box inside dark footer" effect */
.pkp_footer_content > div {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Existing footer text remains readable on the dark baseline */
.pkp_footer_content,
.pkp_footer_content p,
.pkp_footer_content div,
.pkp_footer_content span,
.pkp_footer_content td,
.pkp_footer_content th {
  color: rgba(255,255,255,.84) !important;
}

.pkp_footer_content strong,
.pkp_footer_content b {
  color: #fff !important;
}

.pkp_footer_content a {
  color: var(--afish-aqua-200) !important;
  text-decoration-color: rgba(184,235,231,.45);
}

.pkp_footer_content a:hover {
  color: #fff !important;
}

/* Legacy footer separators */
.pkp_footer_content hr,
.pkp_footer_content [style*="border-top"],
.pkp_footer_content [style*="border-bottom"] {
  border-color: rgba(255,255,255,.16) !important;
}


/* --- C. OJS / PKP platform brand: small, white, unobtrusive --- */
.pkp_brand_footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 48px;
  padding-top: 5px;
  padding-bottom: 16px;
}

.pkp_brand_footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pkp_brand_footer img {
  width: auto !important;
  max-width: 116px !important;
  max-height: 54px !important;
  opacity: .58 !important;
  filter: brightness(0) invert(1);
}

.pkp_brand_footer img:hover {
  opacity: .82 !important;
}


/* --- D. Sidebar image resources: cleaner cards, no excessive visual weight --- */
.pkp_structure_sidebar .pkp_block .content a:has(img) {
  padding: 7px !important;
  border: 1px solid #dbe7e9 !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.pkp_structure_sidebar .pkp_block .content a:has(img):hover {
  border-color: var(--afish-aqua-300) !important;
  background: var(--afish-aqua-50) !important;
  box-shadow: 0 3px 10px rgba(8,51,68,.06);
}

.pkp_structure_sidebar .pkp_block .content a:has(img) img {
  max-height: 52px;
  width: auto;
}


/* --- E. Keep homepage text panels compact and publication-like --- */
.page_page .pkp_structure_main p {
  margin-top: .55em;
  margin-bottom: .75em;
}

.page_page .pkp_structure_main h2,
.page_page .pkp_structure_main h3 {
  margin-top: 1.15em;
  margin-bottom: .55em;
}


/* ==========================================================================
   END VISUAL CALIBRATION v1.3 â€” FINAL BASELINE
   ========================================================================== */


/* ==========================================================================
   27. VISUAL CALIBRATION v1.4 â€” FINAL HOTFIX
   Target: native OJS "Make a Submission" block/button variants
   ========================================================================== */

.pkp_structure_sidebar .block_make_submission,
.pkp_structure_sidebar .block_make_submission .content,
.pkp_structure_sidebar .pkp_block.block_make_submission,
.pkp_structure_sidebar .pkp_block.block_make_submission .content {
  text-align: center;
}

/* Catch native anchor/button variants in OJS 3.5.x */
.pkp_structure_sidebar .block_make_submission a,
.pkp_structure_sidebar .block_make_submission .cmp_button,
.pkp_structure_sidebar .pkp_block.block_make_submission a,
.pkp_structure_sidebar .pkp_block.block_make_submission .cmp_button,
.pkp_structure_sidebar .content a.cmp_button,
.pkp_structure_sidebar .content .cmp_button[href*="submission"] {
  display: inline-flex !important;
  width: calc(100% - 18px) !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 6px 9px !important;
  padding: 9px 14px !important;
  border: 1px solid var(--afish-coral-500) !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: var(--afish-coral-500) !important;
  background-image: none !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: 0 3px 10px rgba(217,119,45,.14) !important;
}

.pkp_structure_sidebar .block_make_submission a:hover,
.pkp_structure_sidebar .block_make_submission .cmp_button:hover,
.pkp_structure_sidebar .pkp_block.block_make_submission a:hover,
.pkp_structure_sidebar .pkp_block.block_make_submission .cmp_button:hover,
.pkp_structure_sidebar .content a.cmp_button:hover,
.pkp_structure_sidebar .content .cmp_button[href*="submission"]:hover {
  border-color: var(--afish-navy-800) !important;
  color: #fff !important;
  background: var(--afish-navy-800) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(8,51,68,.16) !important;
}

/* =========================================================
AFISH FOOTER UPGRADE v1.0
Append to AFISH_OJS3504_Baseline_v1.4_FINAL.css
========================================================= */

.afish-footer-modern {
  width: 100%;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.65;
}

.afish-footer-modern * {
  box-sizing: border-box;
}

.afish-footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1.15fr .8fr;
  gap: 28px;
  padding: 8px 0 24px;
}

.afish-footer-col h3,
.afish-footer-col h4 {
  margin: 0 0 10px;
  color: #fff !important;
  font-weight: 800;
  line-height: 1.35;
}

.afish-footer-col h3 {
  font-size: 1.08rem;
}

.afish-footer-col h4 {
  font-size: .92rem;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.afish-footer-col p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.80) !important;
  font-size: .88rem;
}

.afish-footer-col strong {
  color: #fff !important;
}

.afish-footer-contact {
  font-size: .84rem !important;
}

.afish-footer-col a {
  color: var(--afish-aqua-200) !important;
  text-decoration: none;
}

.afish-footer-col a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.afish-footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.afish-footer-pills span {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.06);
  font-size: .72rem;
  font-weight: 700;
}

.afish-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.afish-footer-links li {
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.afish-footer-links li:last-child {
  border-bottom: 0;
}

.afish-footer-links a {
  display: block;
  padding: 6px 0;
  font-size: .84rem;
  font-weight: 650;
}

.afish-footer-map {
  margin: 4px 0 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.afish-footer-map-heading {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.afish-footer-map-heading h4 {
  margin: 0;
  color: #fff !important;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.afish-footer-map-heading span {
  color: rgba(255,255,255,.62);
  font-size: .76rem;
}

.afish-map-frame {
  overflow: hidden;
  height: 220px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
}

.afish-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.afish-footer-bottom-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 18px 0 4px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.68);
  font-size: .78rem;
}

.afish-footer-bottom-modern strong {
  color: rgba(255,255,255,.90) !important;
}

.afish-footer-license {
  text-align: right;
}

.afish-footer-license a {
  color: var(--afish-aqua-200) !important;
  font-weight: 700;
}

/* Statcounter public stats button */
.afish-footer-modern .afish-stats-link {
  margin-top: 13px;
}

.afish-footer-modern .afish-stats-link a {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  color: #fff !important;
  background: rgba(255,255,255,.07);
  font-size: .75rem;
  font-weight: 750;
  text-decoration: none !important;
}

.afish-footer-modern .afish-stats-link a:hover {
  border-color: var(--afish-coral-500);
  background: var(--afish-coral-500);
}

/* OJS/PKP logo */
.pkp_brand_footer {
  min-height: 36px !important;
  padding-top: 0 !important;
  padding-bottom: 10px !important;
}

.pkp_brand_footer img {
  max-width: 92px !important;
  max-height: 42px !important;
  opacity: .42 !important;
}

/* Remove old tiny/footer-like residual text if footer HTML contains empty paragraph dots */
.pkp_footer_content > p:empty,
.pkp_footer_content > div:empty {
  display: none !important;
}

@media (max-width: 900px) {
  .afish-footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .afish-footer-top > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .afish-footer-modern {
    font-size: 13.5px;
  }

  .afish-footer-top,
  .afish-footer-bottom-modern {
    grid-template-columns: 1fr;
  }

  .afish-footer-license {
    text-align: left;
  }

  .afish-footer-map-heading {
    display: block;
  }

  .afish-footer-map-heading span {
    display: block;
    margin-top: 3px;
  }

  .afish-map-frame {
    height: 190px;
  }
}

/* =========================================================
   AFISH HOMEPAGE — COMPACT ANNOUNCEMENT + INDEXING
   Replace previous two-column homepage patch
   ========================================================= */

@media (min-width: 992px) {

    /* -----------------------------------------
       MAIN ANNOUNCEMENT COLUMN
       ----------------------------------------- */
    .page_index_journal .cmp_announcements {
        float: left !important;
        width: 64% !important;
        margin: 0 1.5% 0 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Force announcement item to occupy
       the entire available announcement column */
    .page_index_journal .cmp_announcements .obj_announcement_summary,
    .page_index_journal .cmp_announcements .obj_announcement,
    .page_index_journal .cmp_announcements article,
    .page_index_journal .cmp_announcements li {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Remove unnecessary inner column/grid spacing */
    .page_index_journal .cmp_announcements > ul,
    .page_index_journal .cmp_announcements > div {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       INDEXING COLUMN
       ----------------------------------------- */
    .page_index_journal .additional_content {
        float: right !important;
        width: 34.5% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .page_index_journal .additional_content .afish-home-indexing {
        width: 100% !important;
        margin: 0 !important;
        padding: 12px !important;
        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       COMPACT INDEXING CARDS
       ----------------------------------------- */
    .page_index_journal .afish-home-indexing a {
        min-height: 54px !important;
        padding: 7px !important;
    }

    .page_index_journal .afish-home-indexing img {
        max-height: 30px !important;
        max-width: 90px !important;
        width: auto !important;
        height: auto !important;
    }


    /* -----------------------------------------
       CLEAR FLOAT
       ----------------------------------------- */
    .page_index_journal::after {
        content: "";
        display: table;
        clear: both;
    }
}


/* =========================================================
   TABLET + MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .page_index_journal .cmp_announcements,
    .page_index_journal .additional_content {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page_index_journal .additional_content {
        margin-top: 12px !important;
    }

    .page_index_journal .afish-home-indexing {
        width: 100% !important;
        margin: 0 !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .page_index_journal .afish-home-indexing a {
        width: 100% !important;
    }

}

/* =========================================================
   AFISH — CALL FOR PAPERS ANNOUNCEMENT
   ========================================================= */

.afish-callpaper {
    font-size: 14px;
    line-height: 1.7;
    color: #34434a;
}


/* HERO */
.afish-callpaper .afish-callpaper-hero {
    margin: 0 0 22px;
    padding: 26px 28px;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #063b50 0%,
            #075f73 55%,
            #0a8798 100%
        );

    color: #fff;
    box-shadow: 0 8px 24px rgba(6, 59, 80, .16);
}

.afish-callpaper .afish-callpaper-hero h2 {
    margin: 12px 0 8px !important;
    padding: 0 !important;

    color: #fff !important;
    font-size: 27px !important;
    line-height: 1.2;
    font-weight: 700;

    border: 0 !important;
}

.afish-callpaper .afish-callpaper-hero p {
    margin: 0;
    color: #e7f7fa;
    font-size: 14px;
}

.afish-callpaper-badge {
    display: inline-block;

    padding: 5px 12px;

    border: 1px solid rgba(255,255,255,.3);
    border-radius: 30px;

    background: rgba(255,255,255,.14);

    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}


/* INTRO */
.afish-callpaper-intro {
    margin-bottom: 18px;
}

.afish-callpaper-intro p {
    margin: 0 0 12px;
}


/* QUICK FACTS */
.afish-callpaper-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;

    margin: 18px 0 22px;
}

.afish-callpaper-fact {
    padding: 12px 8px;

    text-align: center;

    background: #f3f9fa;
    border: 1px solid #d8e8eb;
    border-radius: 8px;
}

.afish-callpaper-fact span {
    display: block;

    margin-bottom: 3px;

    color: #74838a;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.afish-callpaper-fact strong {
    display: block;

    color: #06566a;
    font-size: 12px;
}


/* ARTICLE TYPES */
.afish-callpaper-types {
    margin: 0 0 20px;
    padding: 15px 17px;

    background: #edf8fa;

    border-left: 5px solid #09879a;
    border-radius: 8px;
}

.afish-callpaper-types h3,
.afish-callpaper-section h3,
.afish-callpaper-id h3 {
    margin: 0 0 10px !important;
    padding: 0 0 7px !important;

    color: #064d61 !important;
    font-size: 16px !important;
    font-weight: 700;

    border-bottom: 1px solid #dbe8eb;
}

.afish-callpaper-types span {
    display: inline-block;

    margin: 3px 5px 3px 0;
    padding: 5px 10px;

    background: #fff;
    border: 1px solid #cee3e7;
    border-radius: 20px;

    color: #36525d;
    font-size: 12px;
    font-weight: 600;
}


/* SCOPE CARD */
.afish-callpaper-section {
    margin-bottom: 20px;
    padding: 17px 19px;

    background: #fff;
    border: 1px solid #dde6e9;
    border-radius: 9px;
}

.afish-callpaper-section > p {
    margin: 0 0 8px;
    color: #64747b;
}

.afish-callpaper-section ul {
    margin: 8px 0 0;
    padding-left: 21px;
}

.afish-callpaper-section li {
    margin-bottom: 4px;
}


/* INDONESIAN CARD */
.afish-callpaper-id {
    margin-bottom: 20px;
    padding: 17px 19px;

    background: linear-gradient(
        135deg,
        #f8fbfc,
        #ecf7f7
    );

    border: 1px solid #cce2e4;
    border-radius: 9px;
}

.afish-callpaper-id p {
    margin: 0 0 10px;
}

.afish-callpaper-id p:last-child {
    margin-bottom: 0;
}


/* CTA */
.afish-callpaper-cta {
    margin: 22px 0 0;
    padding: 20px;

    text-align: center;

    background: #063b50;
    border-radius: 10px;

    color: #fff;
}

.afish-callpaper .afish-callpaper-cta h3 {
    margin: 0 0 5px !important;
    padding: 0 !important;

    color: #fff !important;
    font-size: 18px !important;

    border: 0 !important;
}

.afish-callpaper-cta p {
    margin: 0 0 14px;
    color: #d9edf1;
    font-size: 12px;
}

.afish-callpaper-cta a {
    display: inline-block;

    padding: 9px 20px;

    background: #fff;
    border: 2px solid #fff;
    border-radius: 6px;

    color: #063b50 !important;
    font-weight: 700;
    text-decoration: none !important;

    transition: all .2s ease;
}

.afish-callpaper-cta a:hover {
    background: transparent;

    color: #fff !important;
}


/* SIGNATURE */
.afish-callpaper-signature {
    margin-top: 20px;
    padding-top: 14px;

    border-top: 1px solid #dde5e8;

    color: #607078;
    font-size: 12px;
}

.afish-callpaper-signature strong {
    color: #064d61;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 760px) {

    .afish-callpaper-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .afish-callpaper .afish-callpaper-hero {
        padding: 20px;
    }

    .afish-callpaper .afish-callpaper-hero h2 {
        font-size: 22px !important;
    }
}

@media (max-width: 420px) {

    .afish-callpaper-facts {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   AFISH ANNOUNCEMENT DETAIL PAGE
   OJS 3.5.0.4 - No Header Plugin Required
   ========================================================= */

.page_announcement {

    --afish-navy: #063b50;
    --afish-teal: #0a8798;
    --afish-soft: #eef8fa;
    --afish-border: #d9e6e9;
}


/* Main announcement content */
.page_announcement .description {
    font-size: 14px;
    line-height: 1.75;
    color: #34434a;
}


/* First content block becomes hero-like */
.page_announcement .description > p:first-child {
    margin: 0 0 20px !important;
    padding: 20px 22px !important;

    background: linear-gradient(
        135deg,
        #063b50,
        #075f73,
        #0a8798
    );

    color: #ffffff !important;

    border-radius: 10px;

    font-size: 15px;
    line-height: 1.6;

    box-shadow: 0 8px 20px rgba(6,59,80,.12);
}

.page_announcement .description > p:first-child strong {
    color: #ffffff !important;
}


/* Paragraph spacing */
.page_announcement .description p {
    margin: 0 0 14px;
}


/* Strong emphasis */
.page_announcement .description strong {
    color: #064d61;
}


/* Section headings */
.page_announcement .description h2,
.page_announcement .description h3,
.page_announcement .description h4 {
    margin-top: 24px !important;
    margin-bottom: 10px !important;

    padding-bottom: 7px !important;

    color: #064d61 !important;

    border-bottom: 1px solid #dbe6e9;
}


/* Lists */
.page_announcement .description ul {
    margin: 10px 0 18px;
    padding: 14px 18px 14px 36px;

    background: #f7fafb;

    border: 1px solid #dde6e9;
    border-radius: 8px;
}

.page_announcement .description li {
    margin-bottom: 5px;
}


/* Links */
.page_announcement .description a {
    color: #087b8d;
    font-weight: 700;
    text-decoration: none;
}

.page_announcement .description a:hover {
    text-decoration: underline;
}


/* Title area */
.page_announcement h1 {
    color: #063b50 !important;
    line-height: 1.25;
}


/* Content card feeling */
.page_announcement .description {
    padding-top: 4px;
}


/* Mobile */
@media (max-width: 760px) {

    .page_announcement .description > p:first-child {
        padding: 16px !important;
    }

}
/* ==========================================================================
   END VISUAL CALIBRATION v1.4
   ========================================================================== */
