/* ==========================================================
   Spectrum of Innovation — International Conference on
   Engineering and Technology · conference style sheet
   OJS 3.4 · Default theme
   Same design system as the Spectrum International Conferences
   site stylesheet. Accent colour: #3d6fe8 (technology).
   Upload: Website → Appearance → Advanced → Journal style sheet
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --c: #3d6fe8;            /* this conference's spectrum colour */
  --c-soft: #eaf0fd;
  --sp-navy: #0b1630;
  --sp-navy-2: #11244a;
  --sp-ink: #1c2540;
  --sp-muted: #5b6785;
  --sp-line: #e3e8f2;
  --sp-bg: #f5f7fb;
}

html, body { overflow-x: hidden; }

body {
  background: var(--sp-bg);
  font-family: 'Montserrat', 'Noto Sans', sans-serif;
  color: var(--sp-ink);
}

/* ---------- Header: text hero ---------- */
.pkp_structure_head {
  position: relative;
  background:
    radial-gradient(ellipse at 78% 50%, rgba(61,111,232,.38), rgba(61,111,232,0) 55%),
    linear-gradient(120deg, #0b1630 0%, #11244a 60%, #0d1a38 100%) !important;
  border-bottom: 0 !important;
}

/* rainbow strip under the header (same as site) */
.pkp_structure_head::after {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #e84545 0 12.5%, #f07d0a 12.5% 25%, #ffd21f 25% 37.5%, #22b86a 37.5% 50%, #10a9c2 50% 62.5%, #3d6fe8 62.5% 75%, #7c4ee8 75% 87.5%, #d0409e 87.5% 100%);
}

.pkp_structure_head .pkp_head_wrapper {
  position: relative !important;
  max-width: 1200px !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box;
}

.pkp_structure_head .pkp_site_name_wrapper,
.pkp_structure_head .pkp_site_name {
  display: block !important;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

.pkp_structure_head .pkp_site_name_wrapper {
  padding: 56px 0 44px !important;
}

/* small line above the title */
.pkp_structure_head .pkp_site_name_wrapper::before {
  content: "SPECTRUM INTERNATIONAL CONFERENCES  \00B7  MONTHLY  \00B7  OPEN ACCESS";
  display: block;
  white-space: pre-wrap;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  color: #8fa8d8;
  margin-bottom: 14px;
}

/* conference title (text title) */
.pkp_structure_head .pkp_site_name a,
.pkp_structure_head .pkp_site_name .is_text {
  display: inline-block !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: clamp(26px, 3.6vw, 44px) !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_head .pkp_site_name a:hover,
.pkp_structure_head .pkp_site_name a:focus {
  color: #ffffff !important;
  text-decoration: none !important;
  outline: none;
}

/* if a logo is uploaded, show it at a sensible size */
.pkp_structure_head .pkp_site_name .is_img img {
  max-height: 96px !important;
  width: auto !important;
}

/* coloured line under the title — this conference's colour */
.pkp_structure_head .pkp_site_name_wrapper::after {
  content: "";
  display: block;
  width: 96px;
  height: 4px;
  margin-top: 20px;
  border-radius: 2px;
  background: var(--c);
}

.pkp_structure_head .pkp_site_nav_toggle {
  position: absolute;
  z-index: 6;
}

/* Register / Login over the banner */
.pkp_navigation_user_wrapper {
  position: absolute !important;
  top: 14px;
  right: 24px;
  z-index: 5;
}

.pkp_navigation_user_wrapper a {
  color: #dbe5ff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
}

.pkp_navigation_user_wrapper a:hover,
.pkp_navigation_user_wrapper a:focus {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Primary navigation (About, Archives, …) ---------- */
.pkp_navigation_primary_row {
  background: rgba(255, 255, 255, .06) !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.pkp_navigation_primary > li > a {
  color: #dbe5ff !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .03em;
  border-bottom: 3px solid transparent;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  color: #ffffff !important;
  border-bottom-color: var(--c) !important;
  text-decoration: none;
}

.pkp_navigation_search_wrapper a { color: #dbe5ff !important; }

@media (max-width: 767px) {
  .pkp_structure_head .pkp_site_name_wrapper { padding: 44px 0 30px !important; }
  .pkp_structure_head .pkp_site_name_wrapper::before { font-size: 10px; letter-spacing: .12em; }
  .pkp_navigation_user_wrapper { top: 6px; right: 8px; }
  .pkp_navigation_user_wrapper a { font-size: 12px; }
}

/* ---------- Main area ---------- */
.pkp_structure_content {
  width: auto !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 24px 0 !important;
  box-sizing: border-box;
}

.pkp_structure_main { background: transparent; }

a { color: var(--c); }
a:hover, a:focus { color: var(--sp-navy-2); }

.pkp_structure_main h1,
.pkp_structure_main h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--sp-navy);
}

.pkp_structure_main h3,
.pkp_structure_main h4 { color: var(--sp-navy); }

/* Conference summary on the homepage */
.page_index_journal .homepage_about {
  background: #fff;
  border: 1px solid var(--sp-line);
  border-left: 5px solid var(--c);
  border-radius: 10px;
  padding: 26px 30px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
}

.page_index_journal .homepage_about h2 { margin-top: 0; }

/* Current issue / proceedings */
.page_index_journal .current_issue,
.obj_issue_toc .sections .section {
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

.obj_issue_toc .sections .section > h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c);
  background: none;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--c-soft);
}

/* Article list */
.obj_article_summary {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sp-line);
}

.obj_article_summary:last-child { border-bottom: 0; }

.obj_article_summary .title a {
  color: var(--sp-navy);
  font-weight: 600;
}

.obj_article_summary .title a:hover { color: var(--c); }

.obj_article_summary .authors { color: var(--sp-muted); }

/* PDF / galley buttons — pill style like the site cards */
.obj_galley_link {
  display: inline-block;
  padding: 6px 16px !important;
  border-radius: 999px !important;
  border: 2px solid var(--c) !important;
  background: var(--c) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
}

.obj_galley_link:hover { filter: brightness(.92); }

/* General buttons */
.cmp_button,
button.submit,
.pkp_button_primary {
  background: var(--c) !important;
  border-color: var(--c) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600;
}

/* ---------- Sidebar ---------- */
.pkp_structure_sidebar .pkp_block {
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.pkp_structure_sidebar .pkp_block .title {
  font-weight: 700;
  color: var(--sp-navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
}

/* "Make a Submission" as a big button */
.pkp_block.block_make_submission {
  background: var(--c) !important;
  border-color: var(--c) !important;
  text-align: center;
}

.pkp_block.block_make_submission a {
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

/* ---------- Additional Content boxes ---------- */
.inn-box {
  background: #fff;
  border: 1px solid var(--sp-line);
  border-top: 4px solid var(--c);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 0 24px;
}

.inn-box h3 {
  margin: 0 0 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: var(--sp-navy);
}

.inn-table {
  width: 100%;
  border-collapse: collapse;
}

.inn-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--sp-line);
  vertical-align: top;
}

.inn-table tr:last-child td { border-bottom: 0; }

.inn-table td:first-child {
  width: 42%;
  font-weight: 600;
  color: var(--sp-navy);
}

.inn-cta {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  background: var(--c);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(61, 111, 232, .30);
}

.inn-cta:hover { filter: brightness(.92); }

/* ---------- Footer (same as site) ---------- */
.pkp_structure_footer_wrapper {
  background: var(--sp-navy);
  color: #c9d6f5;
  border-top: 6px solid transparent;
  border-image: linear-gradient(90deg, #e84545, #f07d0a, #ffd21f, #22b86a, #10a9c2, #3d6fe8, #7c4ee8, #d0409e) 1;
}

.pkp_structure_footer_wrapper a { color: #fff; }

.pkp_structure_footer .pkp_footer_content {
  font-size: 14px;
  line-height: 1.7;
}

.pkp_brand_footer { display: none !important; }

.pkp_structure_footer {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
  min-height: 0 !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .pkp_structure_content { padding: 24px 16px 0 !important; }
  .inn-box { padding: 20px; }
  .inn-table td:first-child { width: 50%; }
}
