/* Computational Linguistics: custom journal stylesheet
   Upload at Settings > Website > Appearance > Advanced > Journal style sheet.
   All rules are scoped to specific OJS page classes so other pages are unaffected. */

/* ---------- Announcements list ---------- */
.page_announcements .obj_announcement_summary {
  position: relative;
  margin: 0 0 16px;
  padding: 18px 22px 16px;
  border: 1px solid #dfe6ec;
  border-left: 4px solid #19496b;
  border-radius: 6px;
  background: #ffffff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.page_announcements .obj_announcement_summary:hover {
  border-left-color: #e2001a;
  box-shadow: 0 4px 14px rgba(18, 53, 79, 0.08);
}
.page_announcements .cmp_announcements > li,
.page_announcements .cmp_announcements {
  border: 0 !important;
  padding: 0 !important;
  margin: 0;
  list-style: none;
}
.page_announcements .obj_announcement_summary h2,
.page_announcements .obj_announcement_summary h3 {
  margin: 0 0 6px;
  font-size: 1.15em;
  line-height: 1.35;
}
.page_announcements .obj_announcement_summary h2 a,
.page_announcements .obj_announcement_summary h3 a {
  color: #12354f;
  text-decoration: none;
}
.page_announcements .obj_announcement_summary h2 a:hover,
.page_announcements .obj_announcement_summary h3 a:hover {
  text-decoration: underline;
}
.page_announcements .obj_announcement_summary .date {
  display: inline-block;
  margin: 0 0 10px;
  padding: 2px 10px;
  border-radius: 12px;
  background: #eef3f7;
  color: #19496b;
  font-size: 0.8em;
  font-weight: bold;
  letter-spacing: 0.03em;
}
.page_announcements .obj_announcement_summary .date::before {
  display: none;
}
.page_announcements .obj_announcement_summary .summary {
  font-size: 0.95em;
  line-height: 1.6;
  color: #33414d;
}
.page_announcements .obj_announcement_summary .read_more {
  display: inline-block;
  margin-top: 6px;
  font-weight: bold;
  color: #19496b;
  text-decoration: none;
}
.page_announcements .obj_announcement_summary .read_more:hover {
  color: #e2001a;
}

/* ---------- Single announcement ---------- */
.page_announcement .obj_announcement_full .date {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  background: #eef3f7;
  color: #19496b;
  font-size: 0.85em;
  font-weight: bold;
}

/* ---------- Sidebar "Announcements" block ---------- */
.pkp_block.block_announcements .obj_announcement_summary {
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e3e8ed;
}
.pkp_block.block_announcements .obj_announcement_summary .date {
  font-size: 0.8em;
  color: #5a6672;
}

/* ---------- Editorial Team: name grids ---------- */
.page_editorial_team ul.cl-people {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  columns: 2 260px;
  column-gap: 28px;
}
.page_editorial_team ul.cl-people li {
  break-inside: avoid;
  margin: 0 0 9px;
  line-height: 1.35;
}
.page_editorial_team ul.cl-people li strong {
  color: #1b2a38;
}
.page_editorial_team ul.cl-people li span {
  font-size: 0.86em;
  color: #5a6672;
}
.page_editorial_team ul.cl-people li span.cl-badge {
  display: inline-block;
  padding: 0 6px;
  border-radius: 8px;
  background: #fff3d6;
  color: #a36f00;
  font-size: 0.72em;
  font-weight: bold;
  vertical-align: 1px;
}

/* ---------- Issue archive: card grid ---------- */
.page_issue_archive .issues_archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.page_issue_archive .issues_archive > li {
  margin: 0;
  padding: 0;
  border: 0;
}
.page_issue_archive .obj_issue_summary {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  padding: 18px 18px 16px;
  border: 1px solid #dfe6ec;
  border-top: 4px solid #19496b;
  border-radius: 6px;
  background: #ffffff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.page_issue_archive .obj_issue_summary:hover {
  border-top-color: #e2001a;
  box-shadow: 0 4px 14px rgba(18, 53, 79, 0.1);
}
.page_issue_archive .obj_issue_summary h2 {
  margin: 0;
  font-size: 1em;
  line-height: 1.3;
}
/* The issue title repeats the journal name, so the whole card becomes the link
   and the volume/number line is shown as the heading. */
.page_issue_archive .obj_issue_summary a.title {
  position: absolute;
  inset: 0;
  z-index: 1;
  font-size: 0;
  color: transparent;
}
.page_issue_archive .obj_issue_summary .series {
  margin: 0;
  font-size: 1.25em;
  font-weight: bold;
  color: #12354f;
}
.page_issue_archive .obj_issue_summary .description:empty {
  display: none;
}
/* An issue with no volume/number (e.g. "Past Publications") keeps its title. */
.page_issue_archive .obj_issue_summary h2:not(:has(.series)) a.title {
  position: static;
  font-size: 1.25em;
  color: #12354f;
}
.page_issue_archive .obj_issue_summary::after {
  content: "View issue \2192";
  display: block;
  margin-top: 10px;
  font-size: 0.85em;
  font-weight: bold;
  color: #19496b;
}
.page_issue_archive .obj_issue_summary .description {
  position: relative;
  z-index: 2;
  margin-top: 6px;
  font-size: 0.82em;
  word-break: break-all;
}
.page_issue_archive .obj_issue_summary .description p {
  margin: 0;
}

/* ---------- Issue table of contents (issue pages + homepage current issue) ---------- */
.page_issue .obj_issue_toc .heading .published,
.current_issue .obj_issue_toc .heading .published {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  background: #eef3f7;
  color: #19496b;
  font-size: 0.85em;
}
.page_issue .obj_issue_toc .section,
.current_issue .obj_issue_toc .section {
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}
.page_issue .obj_issue_toc .section > h2,
.page_issue .obj_issue_toc .section > h3,
.current_issue .obj_issue_toc .section > h2,
.current_issue .obj_issue_toc .section > h3 {
  position: static;
  display: block;
  margin: 0 0 12px;
  padding: 0 0 6px;
  border-bottom: 2px solid #19496b;
  background: none;
  color: #12354f;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: none;
  letter-spacing: 0;
}
.page_issue .obj_issue_toc .section > h2::before,
.page_issue .obj_issue_toc .section > h2::after,
.current_issue .obj_issue_toc .section > h2::before,
.current_issue .obj_issue_toc .section > h2::after,
.current_issue .obj_issue_toc .section > h3::before,
.current_issue .obj_issue_toc .section > h3::after {
  display: none;
}
.page_issue .obj_issue_toc .cmp_article_list > li,
.current_issue .obj_issue_toc .cmp_article_list > li {
  margin: 0 0 12px;
}
.page_issue .obj_issue_toc .obj_article_summary,
.current_issue .obj_issue_toc .obj_article_summary {
  padding: 14px 18px 12px;
  border: 1px solid #dfe6ec;
  border-left: 4px solid #19496b;
  border-radius: 6px;
  background: #ffffff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.page_issue .obj_issue_toc .obj_article_summary:hover,
.current_issue .obj_issue_toc .obj_article_summary:hover {
  border-left-color: #e2001a;
  box-shadow: 0 4px 14px rgba(18, 53, 79, 0.08);
}
.page_issue .obj_issue_toc .obj_article_summary .title,
.current_issue .obj_issue_toc .obj_article_summary .title {
  margin: 0 0 4px;
  font-size: 1.05em;
  line-height: 1.35;
}
.page_issue .obj_issue_toc .obj_article_summary .title a,
.current_issue .obj_issue_toc .obj_article_summary .title a {
  color: #12354f;
  text-decoration: none;
}
.page_issue .obj_issue_toc .obj_article_summary .title a:hover,
.current_issue .obj_issue_toc .obj_article_summary .title a:hover {
  text-decoration: underline;
}
.page_issue .obj_issue_toc .obj_article_summary .authors,
.current_issue .obj_issue_toc .obj_article_summary .authors {
  font-size: 0.9em;
  color: #5a6672;
}
.page_issue .obj_issue_toc .galleys_links,
.current_issue .obj_issue_toc .galleys_links {
  margin: 10px 0 0;
}
.page_issue .obj_issue_toc .obj_galley_link,
.current_issue .obj_issue_toc .obj_galley_link {
  padding: 3px 12px;
  border: 1px solid #c9a24a;
  border-radius: 14px;
  background: #fff8e5;
  color: #7a5600;
  font-size: 0.82em;
  font-weight: bold;
}
.page_issue .obj_issue_toc .obj_galley_link::before,
.current_issue .obj_issue_toc .obj_galley_link::before {
  display: none;
}
/* The MIT Press article link is always the last galley: show it as the primary button. */
.page_issue .obj_issue_toc .galleys_links > li:last-child .obj_galley_link,
.current_issue .obj_issue_toc .galleys_links > li:last-child .obj_galley_link {
  border-color: #19496b;
  background: #19496b;
  color: #ffffff;
}

/* ---------- Sidebar: Announcements block (compact list) ---------- */
.pkp_block.block_announcements .block_announcements_article {
  margin: 0 0 12px;
  padding: 2px 0 2px 12px;
  border-left: 3px solid #19496b;
  border-bottom: 0;
}
.pkp_block.block_announcements .block_announcements_article:hover {
  border-left-color: #e2001a;
}
.pkp_block.block_announcements .block_announcements_article_headline {
  margin: 0 0 2px;
  font-size: 0.95em;
  line-height: 1.35;
}
.pkp_block.block_announcements .block_announcements_article_headline a {
  color: #12354f;
  text-decoration: none;
}
.pkp_block.block_announcements .block_announcements_article_headline a:hover {
  text-decoration: underline;
}
.pkp_block.block_announcements .block_announcements_article_date,
.pkp_block.block_announcements .block_announcements_article_date strong {
  font-size: 0.8em;
  font-weight: normal;
  color: #5a6672;
}
.pkp_block.block_announcements .block_announcements_article_content {
  display: none;
}
.pkp_block.block_announcements #show-all {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.88em;
  font-weight: bold;
  color: #19496b;
  text-decoration: none;
}

/* ---------- Registration page ---------- */
.page_register .cmp_form.register {
  max-width: 560px;
  margin-top: 16px;
}
.page_register .cmp_form fieldset {
  margin: 0 0 18px;
  padding: 18px 20px 6px;
  border: 1px solid #dfe6ec;
  border-top: 3px solid #19496b;
  border-radius: 6px;
  background: #ffffff;
}
.page_register .cmp_form fieldset legend:not(.pkp_screen_reader) {
  padding: 0 6px;
  font-size: 0.8em;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #19496b;
}
.page_register .cmp_form fieldset .fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  column-gap: 16px;
}
.page_register .cmp_form fieldset .fields > div {
  margin: 0 0 14px;
}
.page_register .cmp_form .label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9em;
  font-weight: bold;
  color: #1b2a38;
}
.page_register .cmp_form .required {
  color: #e2001a;
}
.page_register .cmp_form input[type="text"],
.page_register .cmp_form input[type="email"],
.page_register .cmp_form input[type="password"],
.page_register .cmp_form select {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #c9d3dc;
  border-radius: 4px;
  background: #ffffff;
  font-size: 0.95em;
}
.page_register .cmp_form input:focus,
.page_register .cmp_form select:focus {
  border-color: #19496b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(25, 73, 107, 0.15);
}
.page_register .cmp_form fieldset.consent {
  border-top-color: #c9d6e3;
  background: #f5f9fc;
}
.page_register .cmp_form fieldset.consent .fields {
  display: block;
}
.page_register .cmp_form .optin label {
  font-size: 0.92em;
  line-height: 1.5;
}
.page_register .cmp_form .buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.page_register .cmp_form .buttons .submit {
  padding: 10px 28px;
  border: 0;
  border-radius: 4px;
  background: #19496b;
  color: #ffffff;
  font-size: 1em;
  font-weight: bold;
  box-shadow: none;
  cursor: pointer;
}
.page_register .cmp_form .buttons .submit:hover {
  background: #12354f;
}
.page_register .cmp_form .buttons .login {
  font-size: 0.92em;
}

/* ---------- Login and lost-password pages ---------- */
.page_login .cmp_form.login,
.page_lost_password .cmp_form {
  max-width: 440px;
  margin-top: 16px;
}
.page_login .cmp_form fieldset.fields,
.page_lost_password .cmp_form fieldset.fields {
  margin: 0;
  padding: 22px 24px 16px;
  border: 1px solid #dfe6ec;
  border-top: 3px solid #19496b;
  border-radius: 6px;
  background: #ffffff;
}
.page_login .cmp_form .fields > div,
.page_lost_password .cmp_form .fields > div {
  margin: 0 0 16px;
}
.page_login .cmp_form .label,
.page_lost_password .cmp_form .label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9em;
  font-weight: bold;
  color: #1b2a38;
}
.page_login .cmp_form .remember .label {
  display: inline;
  font-weight: normal;
}
.page_login .cmp_form .required,
.page_lost_password .cmp_form .required {
  color: #e2001a;
}
.page_login .cmp_form input[type="text"],
.page_login .cmp_form input[type="password"],
.page_lost_password .cmp_form input[type="text"],
.page_lost_password .cmp_form input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #c9d3dc;
  border-radius: 4px;
  background: #ffffff;
  font-size: 0.95em;
}
.page_login .cmp_form input:focus,
.page_lost_password .cmp_form input:focus {
  border-color: #19496b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(25, 73, 107, 0.15);
}
.page_login .cmp_form .password a {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85em;
}
.page_login .cmp_form .buttons,
.page_lost_password .cmp_form .buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 0;
}
.page_login .cmp_form .buttons .submit,
.page_lost_password .cmp_form .buttons .submit {
  padding: 10px 28px;
  border: 0;
  border-radius: 4px;
  background: #19496b;
  color: #ffffff;
  font-size: 1em;
  font-weight: bold;
  box-shadow: none;
  cursor: pointer;
}
.page_login .cmp_form .buttons .submit:hover,
.page_lost_password .cmp_form .buttons .submit:hover {
  background: #12354f;
}

/* ---------- Article landing page ---------- */
.pkp_page_article .obj_article_details .page_title {
  color: #12354f;
  line-height: 1.3;
}
.pkp_page_article .obj_article_details .item .label,
.pkp_page_article .obj_article_details .entry_details .item .label {
  margin: 0 0 6px;
  font-size: 0.75em;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #19496b;
}
.pkp_page_article .obj_article_details .authors .name {
  font-weight: bold;
  color: #1b2a38;
}
.pkp_page_article .obj_article_details .authors .affiliation {
  font-size: 0.88em;
  color: #5a6672;
}
.pkp_page_article .obj_article_details .item.abstract {
  padding: 16px 20px;
  border-left: 4px solid #19496b;
  border-radius: 4px;
  background: #f5f9fc;
}
.pkp_page_article .obj_article_details .item.abstract h2.label {
  margin-top: 0;
}
.pkp_page_article .obj_article_details .item.abstract p {
  line-height: 1.65;
}
.pkp_page_article .obj_article_details .item.keywords .label {
  display: inline;
  margin-right: 4px;
}
.pkp_page_article .obj_article_details .item.keywords .value {
  font-size: 0.92em;
  color: #33414d;
}
.pkp_page_article .obj_article_details .entry_details .item {
  padding: 14px 18px;
  border-bottom: 1px solid #e3e8ed;
}
.pkp_page_article .obj_article_details .galleys_links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pkp_page_article .obj_article_details .galleys_links li {
  display: block;
  margin: 0 0 8px;
}
.pkp_page_article .obj_article_details .obj_galley_link {
  display: block;
  padding: 8px 14px;
  border: 1px solid #c9a24a;
  border-radius: 4px;
  background: #fff8e5;
  color: #7a5600;
  font-size: 0.88em;
  font-weight: bold;
  text-align: center;
}
.pkp_page_article .obj_article_details .obj_galley_link::before {
  display: none;
}
.pkp_page_article .obj_article_details .galleys_links li:last-child .obj_galley_link {
  border-color: #19496b;
  background: #19496b;
  color: #ffffff;
}

/* ---------- Search page ---------- */
.pkp_page_search .page_search .cmp_form {
  margin: 16px 0 24px;
  padding: 20px 22px;
  border: 1px solid #dfe6ec;
  border-top: 3px solid #19496b;
  border-radius: 6px;
  background: #ffffff;
}
.pkp_page_search .page_search .search_input .query {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #c9d3dc;
  border-radius: 4px;
  font-size: 1.05em;
}
.pkp_page_search .page_search input:focus,
.pkp_page_search .page_search select:focus {
  border-color: #19496b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(25, 73, 107, 0.15);
}
.pkp_page_search .page_search .search_advanced {
  margin: 16px 0 0;
  padding: 14px 16px 6px;
  border: 0;
  border-radius: 4px;
  background: #f5f9fc;
}
.pkp_page_search .page_search .search_advanced > legend {
  float: left;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font-size: 0.75em;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #19496b;
}
.pkp_page_search .page_search .search_advanced fieldset legend,
.pkp_page_search .page_search .search_advanced .label {
  font-size: 0.85em;
  font-weight: bold;
  color: #1b2a38;
}
.pkp_page_search .page_search .search_advanced select,
.pkp_page_search .page_search .search_advanced input[type="text"] {
  height: 34px;
  border: 1px solid #c9d3dc;
  border-radius: 4px;
  background: #ffffff;
}
.pkp_page_search .page_search .submit {
  margin-top: 14px;
  text-align: left;
}
.pkp_page_search .page_search .submit button {
  padding: 10px 28px;
  border: 0;
  border-radius: 4px;
  background: #19496b;
  color: #ffffff;
  font-size: 1em;
  font-weight: bold;
  box-shadow: none;
  cursor: pointer;
}
.pkp_page_search .page_search .submit button::before,
.pkp_page_search .page_search .submit button::after,
.pkp_page_search .page_search .submit::before {
  content: none !important;
  display: none !important;
}
.pkp_page_search .page_search .submit button:hover {
  background: #12354f;
}
.pkp_page_search .page_search .search_results {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pkp_page_search .page_search .search_results > li {
  margin: 0 0 12px;
}
.pkp_page_search .page_search .search_results .obj_article_summary {
  padding: 14px 18px 12px;
  border: 1px solid #dfe6ec;
  border-left: 4px solid #19496b;
  border-radius: 6px;
  background: #ffffff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.pkp_page_search .page_search .search_results .obj_article_summary:hover {
  border-left-color: #e2001a;
  box-shadow: 0 4px 14px rgba(18, 53, 79, 0.08);
}
.pkp_page_search .page_search .search_results .title {
  margin: 0 0 4px;
  font-size: 1.05em;
  line-height: 1.35;
}
.pkp_page_search .page_search .search_results .title a {
  color: #12354f;
  text-decoration: none;
}
.pkp_page_search .page_search .search_results .title a:hover {
  text-decoration: underline;
}
.pkp_page_search .page_search .search_results .authors {
  font-size: 0.9em;
  color: #5a6672;
}
.pkp_page_search .page_search .search_results .published {
  display: inline-block;
  margin-top: 6px;
  padding: 1px 10px;
  border-radius: 12px;
  background: #eef3f7;
  color: #19496b;
  font-size: 0.78em;
}
.pkp_page_search .page_search .cmp_pagination {
  margin-top: 16px;
  font-size: 0.9em;
  color: #5a6672;
}
