/* Creative Science — scoped styling for OJS/ThaiJO. Upload as styleSheet.css */
:root { --cs-teal:#079e96; --cs-dark:#263b43; --cs-muted:#5b6870; --cs-line:#dce9e8; }
.cs-editorial, .cs-about { color:#28343a; font-size:15px; line-height:1.7; overflow-wrap:anywhere; }
.cs-editorial .cs-section-title, .cs-about .cs-section-title { color:#087e79; font-size:19px; font-weight:700; line-height:1.4; border-bottom:2px solid var(--cs-line); padding:0 0 10px; margin:32px 0 18px; }
.cs-editorial .cs-section-title:first-child,.cs-about .cs-section-title:first-child { margin-top:8px; }
.cs-editorial .cs-editor-card { display:flex; align-items:flex-start; gap:20px; padding:18px 0; border-bottom:1px solid #edf0f1; min-width:0; }
.cs-editorial .cs-editor-card > img { display:block; width:125px; height:150px; object-fit:cover; border-radius:7px; flex:0 0 125px; background:#f2f5f5; }
.cs-editorial .cs-editor-info { flex:1; min-width:0; }
.cs-editorial .cs-editor-info > strong,.cs-editorial .cs-editor-info > a,.cs-editorial .cs-editor-info > p:first-child { font-weight:700; }
.cs-editorial .cs-editor-info a,.cs-editorial .cs-board-member a { color:#087e79; text-decoration:none; font-weight:700; }
.cs-editorial a:hover,.cs-about a:hover,.cs-footer a:hover { text-decoration:underline; }
.cs-editorial .cs-editor-text { margin:5px 0 0; color:#4b5a60; line-height:1.65; }
.cs-editorial .cs-editor-text strong { color:#34464c; }
.cs-editorial .cs-board-member { padding:12px 0; border-bottom:1px solid #edf0f1; }
.cs-editorial .cs-board-name { margin-bottom:4px; font-weight:700; }
.cs-editorial .cs-board-affiliation { color:#536169; }
.cs-about p { margin:0 0 15px; }
.cs-about ul,.cs-about ol { margin:8px 0 20px; padding-left:25px; }
.cs-about li { margin:0 0 9px; }
.cs-about .cs-scope-intro { margin-top:24px; }
.cs-about .cs-scope-intro > strong { color:#087e79; font-size:17px; }
.cs-about img { max-width:100%; height:auto; border-radius:5px; }
.cs-footer { display:grid; grid-template-columns:1.25fr 1fr; gap:18px 30px; padding:20px 0; font-size:14px; line-height:1.65; color:inherit; }
.cs-footer p { margin:4px 0; }
.cs-footer a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
.cs-footer-links { grid-column:1 / -1; display:flex; gap:18px; flex-wrap:wrap; padding-top:12px; border-top:1px solid currentColor; }
/* Preserve the journal logo on a white background without changing the OJS article layout. */
.pkp_site_name_wrapper,.pkp_site_name,.pkp_head_wrapper { background-color:#fff !important; }
.pkp_site_name .is_img img { display:block; max-height:120px; max-width:100%; width:auto; height:auto; }
.pkp_brand_footer { display:none; }
@media (max-width:700px) { .cs-editorial .cs-editor-card { gap:12px; } .cs-editorial .cs-editor-card > img { width:90px; height:110px; flex-basis:90px; } .cs-editorial,.cs-about { font-size:14px; } .cs-editorial .cs-section-title,.cs-about .cs-section-title { font-size:17px; } .cs-footer { grid-template-columns:1fr; } .cs-footer-links { grid-column:1; } }
@media (max-width:420px) { .cs-editorial .cs-editor-card > img { width:76px; height:94px; flex-basis:76px; } }


/* Creative Science V4: navigation color refinement only.
   Keeps the existing header, editorial profiles and responsive layout. */
@media (min-width: 992px) {
  .pkp_navigation_primary_wrapper,
  .pkp_navigation_primary {
    background-color: #ffffff !important;
  }
  .pkp_navigation_primary > li > a {
    background-color: #ffffff !important;
    color: #566168 !important;
  }
  .pkp_navigation_primary > li > a:hover,
  .pkp_navigation_primary > li > a:focus {
    background-color: #ffffff !important;
    color: #008b85 !important;
  }
  .pkp_navigation_primary > li > ul,
  .pkp_navigation_primary > li > ul > li,
  .pkp_navigation_primary > li > ul > li > ul {
    background-color: #ffffff !important;
  }
  .pkp_navigation_primary ul {
    background-color: #ffffff !important;
    border: 1px solid #e5eceb !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
  }
  .pkp_navigation_primary ul a,
  .pkp_navigation_primary ul li a {
    display: block;
    background-color: #ffffff !important;
    color: #45545c !important;
  }
  .pkp_navigation_primary ul a:hover,
  .pkp_navigation_primary ul a:focus,
  .pkp_navigation_primary ul li:hover > a,
  .pkp_navigation_primary ul li:focus-within > a {
    background-color: #e8f6f4 !important;
    color: #008b85 !important;
  }
}
