/*
VIP Professional OJS 3.4.x CSS Kit
Journal: Journal of Punjabi Theatre, Music and Performing Arts
Palette: Midnight navy, antique gold, ivory
Important: Upload the supplied banner in OJS Website Settings > Appearance > Setup as the journal logo/header image.
This CSS styles the uploaded image and OJS interface; it does not replace OJS core files.
*/

/* ---------- Brand palette and global typography ---------- */
:root {
  --punjabi-navy: #071d35;
  --punjabi-navy-2: #0b2c4c;
  --punjabi-gold: #d6a43b;
  --punjabi-gold-light: #f5d98b;
  --punjabi-ivory: #fbf7ef;
  --punjabi-ink: #243449;
  --punjabi-muted: #617184;
  --punjabi-line: #e7dfcf;
  --punjabi-white: #ffffff;
}

html { scroll-behavior: smooth; }
body {
  color: var(--punjabi-ink);
  background: #f6f4ef;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}
a { color: #9a6b12; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--punjabi-navy); }

/* ---------- OJS masthead / uploaded banner ---------- */
.pkp_structure_head {
  background: var(--punjabi-navy);
  border-bottom: 4px solid var(--punjabi-gold);
  box-shadow: 0 5px 18px rgba(4, 20, 37, .18);
}
.pkp_site_name_wrapper {
  background: var(--punjabi-navy);
  padding: 0 !important;
}
.pkp_site_name {
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center;
  max-width: 1600px;
}
.pkp_site_name a {
  display: block;
  padding: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  box-shadow: none !important;
}
.pkp_site_name img {
  display: block;
  width: 100%;
  max-width: 1600px;
  max-height: none !important;
  height: auto !important;
  object-fit: contain;
  margin: 0 auto;
}
.pkp_site_name .is_img { max-height: none !important; }

/* Keep the primary navigation clear and elegant beneath the banner */
.pkp_navigation_primary_row {
  background: var(--punjabi-navy-2);
  border-top: 1px solid rgba(245,217,139,.28);
  border-bottom: 1px solid rgba(245,217,139,.45);
}
.pkp_navigation_primary > li > a {
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  padding: 14px 13px !important;
  transition: background .2s ease, color .2s ease;
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li > a[aria-current="page"] {
  color: var(--punjabi-gold-light) !important;
  background: rgba(255,255,255,.07);
}
.pkp_navigation_search_wrapper a,
.pkp_search button,
.pkp_search .search_controls button {
  color: var(--punjabi-gold-light) !important;
}

/* ---------- Main layout and page surfaces ---------- */
.pkp_structure_page {
  max-width: 1600px;
  margin: 0 auto;
  background: var(--punjabi-white);
  box-shadow: 0 0 35px rgba(7,29,53,.06);
}
.pkp_structure_content {
  padding-top: 28px;
  padding-bottom: 45px;
}
.pkp_structure_main {
  min-width: 0;
}
.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.page_title {
  color: var(--punjabi-navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
}
.pkp_structure_main h1,
.page_title {
  font-size: clamp(28px, 3vw, 40px);
  border-bottom: 2px solid var(--punjabi-gold);
  padding-bottom: 12px;
}
.pkp_structure_main h2 { font-size: 28px; }
.pkp_structure_main h3 { font-size: 21px; }
.pkp_structure_main p { margin-bottom: 1.1em; }

/* ---------- Cards, lists, tables and forms ---------- */
.obj_article_summary,
.obj_issue_summary,
.pkp_block,
.block_make_submission,
.obj_announcement_summary,
.obj_galley_link {
  border: 1px solid var(--punjabi-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(7,29,53,.045);
}
.obj_article_summary,
.obj_issue_summary,
.obj_announcement_summary {
  padding: 20px !important;
  margin-bottom: 18px !important;
  border-left: 4px solid var(--punjabi-gold);
}
.obj_article_summary:hover,
.obj_issue_summary:hover {
  box-shadow: 0 9px 25px rgba(7,29,53,.09);
}
.obj_article_summary .title a,
.obj_issue_summary .title a {
  color: var(--punjabi-navy);
  font-weight: 700;
}
.obj_article_summary .title a:hover,
.obj_issue_summary .title a:hover { color: #a8791d; }

.pkp_block {
  padding: 18px !important;
  margin-bottom: 22px;
}
.pkp_block .title {
  color: var(--punjabi-navy);
  font-size: 20px;
  border-bottom: 1px solid var(--punjabi-line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.pkp_block ul { padding-left: 20px; }
.pkp_block li { margin: 7px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
th {
  color: #fff;
  background: var(--punjabi-navy);
  text-align: left;
}
th, td {
  padding: 11px 13px;
  border: 1px solid var(--punjabi-line);
}
tr:nth-child(even) td { background: #fbf8f1; }

input[type="text"], input[type="email"], input[type="password"],
input[type="search"], select, textarea {
  border: 1px solid #cfc8bb !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  background: #fff !important;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(214,164,59,.35) !important;
  border-color: var(--punjabi-gold) !important;
}
button, .pkp_button, .cmp_button, .block_make_submission a {
  border-radius: 6px !important;
}
.pkp_button,
.cmp_button,
.block_make_submission a,
button[type="submit"] {
  color: #fff !important;
  background: var(--punjabi-navy) !important;
  border: 1px solid var(--punjabi-gold) !important;
  padding: 10px 17px !important;
  font-weight: 700 !important;
}
.pkp_button:hover,
.cmp_button:hover,
.block_make_submission a:hover,
button[type="submit"]:hover {
  color: var(--punjabi-navy) !important;
  background: var(--punjabi-gold-light) !important;
}

/* ---------- Breadcrumbs, pagination and metadata ---------- */
.cmp_breadcrumbs {
  color: var(--punjabi-muted);
  font-size: 14px;
  padding: 8px 0 16px;
}
.cmp_pagination a,
.cmp_pagination .current {
  border-radius: 5px;
}
.cmp_pagination .current {
  color: #fff !important;
  background: var(--punjabi-navy) !important;
  border-color: var(--punjabi-gold) !important;
}
.item .value, .item .label, .metadata, .date {
  color: var(--punjabi-muted);
}

/* ---------- Footer ---------- */
.pkp_structure_footer_wrapper {
  color: #f7f3e9;
  background: var(--punjabi-navy);
  border-top: 4px solid var(--punjabi-gold);
}
.pkp_structure_footer {
  padding-top: 28px;
  padding-bottom: 28px;
}
.pkp_structure_footer a { color: var(--punjabi-gold-light); }
.pkp_structure_footer a:hover { color: #fff; }
.pkp_brand_footer { opacity: .85; }

/* ---------- Responsive layout ---------- */
@media (max-width: 768px) {
  .pkp_site_name img { width: 100%; height: auto !important; }
  .pkp_structure_content { padding: 18px 14px 30px; }
  .pkp_structure_main h1, .page_title { font-size: 28px; }
  .pkp_structure_main h2 { font-size: 23px; }
  .obj_article_summary, .obj_issue_summary { padding: 15px !important; }
  .pkp_navigation_primary > li > a { padding: 10px 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
