/*
Theme Name:  ARC Hub For ICT
Theme URI:   https://ict.archub.ie
Version:     1.0
Description: This is a custom child theme created for our site ARC Hub for ICT.
Author:      technical@econcepts.ie
Author URI:  https://econcepts.ie
Template:    Divi
*/

/*- Add any CSS custom code for this child theme below this line -*/
/* Researcher page layout */
.researcher-box { border: 3px solid #e6f7f6; padding: 26px; margin: 24px auto 60px; background: #fff; }
.researcher-header { display:flex; gap:30px; align-items:flex-start; }
.researcher-photo { width:180px; height:180px; object-fit:cover; border-radius:6px; border:6px solid #e9f6f6; }
.researcher-name { font-size:34px; margin:6px 0 8px; color:#052b40; font-weight:700; }
.researcher-meta .meta-role, .researcher-meta .meta-university { display:block; color:#2f5663; margin-bottom:4px; }
.contact-row { margin:12px 0; color:#234a4f; }
.actions-row .btn { display:inline-block; margin-right:8px; background:#008e89; color:#fff; padding:8px 12px; border-radius:4px; text-decoration:none; font-size:13px; }
.actions-row .btn.outline { background:transparent; border:1px solid #008e89; color:#008e89; }
.divider { height:2px; background:#d6edf0; margin:18px 0; border-radius:2px; }

/* Research Programmes */
.research-programmes { margin-top:32px; }
.research-programmes h2 { color:#052b40; margin-bottom:14px; }
.projects-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.project-card { border:1px solid #e6f1f1; background:#fff; padding:12px; display:flex; flex-direction:column; min-height:260px; }
.project-card .card-top { height:6px; background:#00928f; margin:-12px -12px 12px -12px; border-top-left-radius:3px; border-top-right-radius:3px; }
.card-title { font-size:15px; margin:4px 0; color:#0b5a5a; }
.card-excerpt { color:#335959; font-size:14px; margin-top:8px; flex:1 1 auto; }
.card-footer { display:flex; justify-content:space-between; align-items:center; margin-top:10px; }
.lead-thumb { width:48px; height:48px; object-fit:cover; border-radius:4px; margin-right:8px; }
.assoc-thumb { width:36px; height:36px; object-fit:cover; border-radius:4px; margin-left:6px; }

/* News & publications */
.related-news h2, .publications h2 { margin-top:36px; color:#052b40; }
.news-grid { display:grid; grid-template-columns:250px 1fr; gap:18px; }
.news-card img { width:100%; height:130px; object-fit:cover; border-radius:6px; }
.pub-list { list-style:none; padding-left:0; }
.pub-list li { padding:8px 0; border-bottom:1px solid #eef6f6; }

/* Small responsive */
@media (max-width: 980px) {
  .researcher-header { flex-direction:column; }
  .projects-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns:1fr; }
  .news-grid { grid-template-columns:1fr; }
  .researcher-name { font-size:28px; }
}

/* WP Grid #4 – show ONLY the “Translational Researchers” tag (term ID 8) */
#wpgb-4 .wpgb-term {
    display: none !important; /* hide ALL tags */
    margin: 10px 0 0 0; /* adjust as needed */

}

#wpgb-4 .wpgb-term-8 {
    display: inline-flex !important; /* show only term ID 8 */
}

/* WP Grid Builder – Grid ID 4:
   Show ONLY the “Translational Researchers” tag (term ID 8) on the card footer
*/

/* 1. Hide all term links + commas in the footer */
#wpgb-4 .wpgb-card-footer .wpgb-block-3 .wpgb-block-term,
#wpgb-4 .wpgb-card-footer .wpgb-block-3 span {
    display: none !important;
}

/* 2. Re-show ONLY the term with data-id="8" */
#wpgb-4 .wpgb-card-footer .wpgb-block-3 .wpgb-block-term[data-id="8"] {
    display: inline !important;
}


