/**
 * ACLAS Journal brand polish (plain CSS on top of the Default theme)
 */
:root {
  --aclas-blue: #2f57ef;
  --aclas-blue-dark: #1e3fbf;
  --aclas-navy: #192335;
  --aclas-lilac: #c586ee;
  --aclas-bg-soft: #f6f7ff;
}

/* ---------- Header ---------- */
header#headerContainer, .cmp_header {
  background: #fff;
}
.cmp_header .site-title { line-height: 1.2; }
header .header_title img,
.cmp_header img { max-height: 72px; width: auto; }
.header_title img { margin: 0.6rem 0; }

/* ---------- Hero ---------- */
.aclas-hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(197, 134, 238, 0.35), transparent 60%),
    radial-gradient(900px 380px at -10% 110%, rgba(99, 127, 234, 0.45), transparent 55%),
    linear-gradient(135deg, var(--aclas-navy) 0%, #1d2b45 55%, #22355a 100%);
  border-radius: 14px;
  color: #fff;
  margin: 0.5rem 0 2rem;
  overflow: hidden;
}
.aclas-hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem 2.6rem;
}
.aclas-hero-seal {
  width: 130px;
  height: 130px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.25);
  padding: 4px;
}
.aclas-hero-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9d4f5;
}
.aclas-hero-title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.15;
  font-family: "Lora", Georgia, serif;
  color: #fff;
}
.aclas-hero-sub {
  margin: 0 0 1.2rem;
  color: #dbe3fb;
  font-size: 1.02rem;
}
.aclas-hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.aclas-btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.aclas-btn-primary {
  background: var(--aclas-blue);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(47, 87, 239, 0.45);
}
.aclas-btn-primary:hover {
  background: var(--aclas-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(47, 87, 239, 0.55);
}
.aclas-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff !important;
}
.aclas-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

@media (max-width: 767px) {
  .aclas-hero-inner { flex-direction: column; text-align: center; padding: 1.8rem 1.2rem; }
  .aclas-hero-ctas { justify-content: center; }
}

/* ---------- Sections / TOC cards ---------- */
.obj_issue_toc .section, .current_issue .section {
  background: #fff;
  border: 1px solid #e7e9f4;
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 1px 3px rgba(25, 35, 53, 0.06);
}
.obj_article_summary .title, .obj_issue_toc .title a {
  color: var(--aclas-navy);
}

/* ---------- Buttons / links ---------- */
a { color: var(--aclas-blue); }
a:hover { color: var(--aclas-blue-dark); }
.btn-primary, .obj_button {
  background: var(--aclas-blue) !important;
  border-color: var(--aclas-blue) !important;
}

/* ---------- Announcements ---------- */
.obj_announcement_summary h3, .obj_announcement h3 { color: var(--aclas-navy); }

/* ---------- Footer ---------- */
.pkp_structure_footer_wrapper,
.pkp_structure_footer,
.aclas-footer-brand {
  background: var(--aclas-navy);
  color: #c9d0e0;
}
.pkp_structure_footer_wrapper a { color: #fff; }
.pkp_footer_content { color: #c9d0e0; font-size: 0.95rem; }
.pkp_footer_content p { margin: 0.25rem 0; }
.aclas-copyright { opacity: 0.85; }
/* Hide the OJS/PKP platform badge in the footer */
.pkp_brand_footer { display: none; }


/* ---------- Social / official links ---------- */
.aclas-connect { margin-bottom: 1.2rem; }
.aclas-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.aclas-social-label {
  color: #c9d0e0;
  font-weight: 600;
  margin-right: 4px;
  letter-spacing: 0.02em;
}
.aclas-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff !important;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.aclas-social a:hover {
  background: var(--aclas-blue);
  border-color: var(--aclas-blue);
  transform: translateY(-2px);
}
.aclas-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
/* stroke-based icons (globe, envelope) must not be filled */
.aclas-social svg[stroke] { fill: none; }
.aclas-social a.aclas-official-link {
  width: auto;
  border-radius: 18px;
  padding: 0 14px;
  font-weight: 600;
  font-size: 0.92rem;
  gap: 7px;
}
.aclas-social a.aclas-official-link svg {
  width: 15px;
  height: 15px;
  fill: none;
}


/* ---------- Quick links / license / feeds ---------- */
.aclas-resources {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-bottom: 1.2rem;
  font-size: 0.93rem;
}
.aclas-resources a {
  color: #dfe6f7 !important;
  font-size: 0.93rem;
  padding: 2px 0;
  margin-right: 18px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.aclas-resources a:hover { color: #fff !important; text-decoration: underline; }
.aclas-license {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 0.9rem;
}
.aclas-license img { border-radius: 2px; }
.aclas-license a.aclas-feed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #dfe6f7 !important;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 1px 10px;
}
.aclas-license a.aclas-feed svg { width: 13px; height: 13px; }
.aclas-license a.aclas-feed:hover { background: var(--aclas-blue); border-color: var(--aclas-blue); color: #fff !important; }

/* ---------- Page bg ---------- */
html { background: var(--aclas-navy); }
body { background: var(--aclas-bg-soft); }
.page_index_journal, .page_about, .page_submissions, .page_issue, main {
  background: transparent;
}
