@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');

html,body {
    font-family: 'Roboto', system-ui, -apple-system,'Segoe UI', Arial, sans-serif;
    background-image: url(journalThumbnail_en.jpg);
    background-repeat: repeat;
}

.pkp_site_name {padding-top: 0 !important; padding-bottom: 0 !important}
.pkp_site_name > a {padding-top: 0; padding-bottom: 0;}
.pkp_site_name .is_img img {max-height: 100% !important;}
.pkp_site_name .is_img {margin-top: 0px; margin-bottom:0px;}
.pkp_site_name_wrapper {padding-left: 0; padding-right: 0;}
.pkp_navigation_user_wrapper {top: 0; right: 0; padding-right:30px;}
.pkp_structure_page {margin-top: 20px !important; margin-bottom:20 !important; padding-bottom: 20 !important;}
.obj_article_details .entry_details .galleys_links>li:last-child {margin: 0;width: stretch;}

/* =========================
   CONTAINER
========================= */
.container-flex {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================
   LEFT COLUMN (IMAGE)
========================= */
.columnl {
  flex: 0 0 35%;
}

.columnl img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   RIGHT COLUMN (TABLE)
========================= */
.columnr {
  flex: 1;
}

/* =========================
   CONTAINER
========================= */
.info-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* =========================
   ITEM (ROW)
========================= */
.info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #e9f0f5;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d0d7de;
}

/* =========================
   LABEL (LEFT)
========================= */
.info-label {
  font-weight: 600;
  color: #333;
  width: 40%;
}

/* =========================
   VALUE (RIGHT)
========================= */
.info-value {
  width: 60%;
  text-align: left;
}

/* =========================
   LINKS
========================= */
.info-value a {
  color: #2c7be5;
  text-decoration: none;
}

.info-value a:hover {
  text-decoration: underline;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 600px) {
  .info-item {
    flex-direction: column;
    gap: 5px;
  }

  .info-label,
  .info-value {
    width: 100%;
  }
}


/* =========================
   MOBILE (<= 768px)
========================= */
@media (max-width: 768px) {
  .container-flex {
    flex-direction: column;
  }

  .columnl,
  .columnr {
    flex: 100%;
    width: 100%;
  }

  .columnl {
    text-align: center;
  }

  .columnl img {
    max-width: 250px;
    margin: 0 auto;
  }
}

.journal-desc {
  margin-top: 16px;
  text-align: justify;
  line-height: 1.6;
}
/* =========================
   IMAGE LINK CONTAINER
========================= */
.img-link {
  display: inline-block;
  overflow: hidden;
  border-radius: 8px;
}

/* =========================
   IMAGE STYLE
========================= */
.img-link img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
  display: block;
}

/* =========================
   HOVER EFFECT
========================= */
.img-link:hover img {
  transform: scale(1.05);        /* zoom effect */
  filter: brightness(0.85);      /* slight darken */
}

/* =========================
   OPTIONAL OVERLAY EFFECT
========================= */
.img-link::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  opacity: 0;
  transition: 0.3s ease;
  border-radius: 4px;
}

.img-link {
  position: relative;
}

.img-link:hover::after {
  opacity: 1;
}

/* =========================
   FOOTER LAYOUT
========================= */
.footer-flex {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* =========================
   LEFT SIDE
========================= */
.footer-left {
  flex: 1;
  min-width: 280px;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   RIGHT SIDE (MAP)
========================= */
.footer-right {
  flex: 1;
  min-width: 280px;
}

/* =========================
   RESPONSIVE MAP
========================= */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 65%; /* aspect ratio */
  border: 2px dotted #00629B; /*#0D4F89;*/
  border-radius: 8px;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   LICENSE IMAGE
========================= */
.footer-license img {
  margin-top: 10px;
  max-width: 100%;
  height: auto;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
  }
}

/*.pkp_page_index .cmp_announcements {border:1px}*/
.pkp_structure_main:after,
.pkp_page_index .cmp_announcements>.obj_announcement_summary:before,
.obj_issue_toc .galleys:before, .obj_issue_toc .section:before {display:none;}
.pkp_page_index .cmp_announcements .more:before {display: none;}
.pkp_page_index .cmp_announcements>.obj_announcement_summary {width: 60%;}

.pkp_page_index .cmp_announcements {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
.pkp_page_index .cmp_announcements h2+.obj_announcement_summary,.pkp_page_index .cmp_announcements .more {
        padding-top:10px; padding-bottom:10px; 
    }
.pkp_page_index .cmp_announcements>.obj_announcement_summary { width: 100%;}
@media (min-width: 768px) {
.pkp_page_index .cmp_announcements>.obj_announcement_summary {
        float:left;
        width:100%;
    }
}
/*
.inside-vertical-borders {
  border-collapse: collapse; 
  border: none;              
}

.inside-vertical-borders th,
.inside-vertical-borders td {
  padding: 8px 12px; 
}

.inside-vertical-borders th:not(:last-child),
.inside-vertical-borders td:not(:last-child) {
  border-right: 3px dotted #FFA10F; 
}
*/
/* DROPDOWN MENU */
#cssmenu {
  width: 100%;
}

/* RESET */
#cssmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===== TOP LEVEL ===== */
#cssmenu > ul > li {
  margin-bottom: 1px;
}

#cssmenu > ul > li > a,
#cssmenu > ul > li > label {
  display: block;
  padding: 12px 16px;

  background: #00629B;/*#0D4F89;*/
  color: #fff;

  text-decoration: none;
  font-weight: 600;
  font-size: 14px;

  cursor: pointer;
  border-radius: 15px;

  transition: all 0.25s ease;
}

/* HOVER (JET ORANGE) */
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li > label:hover {
  background: #FFA300;/*#FFA10F;*/
}

/* ACTIVE */
#cssmenu li.active > a {
  background: #FFA300;/*#FFA10F;*/
}

/* HIDE CHECKBOX */
#cssmenu input {
  position: absolute;
  opacity: 0;
}
/* ===== SUBMENU ===== */
#cssmenu ul ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  margin-top: 0px;
  padding-left: 8px;
}

#cssmenu ul li {
  padding: 0;
}

/* EXPAND */
#cssmenu input:checked ~ ul {
  max-height: 1000px;
}

/* SUBMENU ITEMS */
#cssmenu ul ul li {
  margin: 2px 0;
}

#cssmenu ul ul li a {
  display: block;
  padding: 8px 12px;

  background: #e9f0f5;/*#f4f6f9;*/
  color: #333;

  font-size: 13px;
  text-decoration: none;
  border-radius: 15px;
  border: 2px solid #00629B;/*#0D4F89;*/

  transition: all 0.2s ease;
}

/* SUBMENU HOVER */
#cssmenu ul ul li a:hover {
  background: #FFA300;/*#FFA10F;*/
  color: #fff;
}

/* ACTIVE SUBMENU */
#cssmenu ul ul li.active a {
  background: #FFA300;/*#FFA10F;*/
  color: #fff;
  font-weight: 600;
}

/* ===== ARROW ===== */
#cssmenu label::after {
  content: "▸";
  float: right;
  transition: transform 0.25s ease;
}

/* ROTATE WHEN OPEN */
#cssmenu input:checked + label::after {
  transform: rotate(90deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #cssmenu {
    width: 100%;
  }
}

/* index LOGO */
.indexing-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.indexing-logos a {
  flex: 1 1 120px;
  max-width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.indexing-logos img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

/* subtle professional hover */
.indexing-logos img:hover {
  transform: scale(1.05);
}

/* Mobile */
@media (max-width: 600px) {
  .indexing-logos {
    gap: 12px;
  }
}

.obj_article_details .row,.obj_article_details .main_entry,.obj_article_details .entry_details {
    border: none;
    text-align: justify;
}
.pkp_structure_main {
  text-align: justify;
}
.pkp_page_index .additional_content {
    border-top:none;
}

/* ===== Container refinement ===== */
.page_my_certificates .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 12px;
    padding-top: 20px;
}

/* ===== Table ===== */
.page_my_certificates table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border-radius: 6px;
    overflow: hidden;
}

/* ===== Header ===== */
.page_my_certificates thead th {
    text-align: left;
    font-weight: 600;
    padding: 8px 6px;
    border-bottom: 2px solid #ddd;
    background: #fafafa;
}

/* ===== Body ===== */
.page_my_certificates tbody td {
    padding: 6px 6px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

/* Hover grayscale */
.page_my_certificates tbody tr:hover {
    background: #f5f5f5;
}

/* ===== Column tuning ===== */
.page_my_certificates td:nth-child(1) {
    /*white-space: nowrap;*/
    font-size: 12.5px;
    color: #555;
}

.page_my_certificates td:nth-child(2) {
    font-weight: 500;
    line-height: 1.4;
}

.page_my_certificates td:nth-child(3) {
    font-family: monospace;
    font-size: 12px;
    color: #444;
}

.page_my_certificates td:last-child {
    white-space: nowrap;
}

/* ===== BUTTON STYLE (clean IEEE) ===== */
.page_my_certificates a {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12.5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
    margin-right: 4px;
}

/* Hover → grayscale emphasis */
.page_my_certificates a:hover {
    background: #eee;
    color: #000;
    border-color: #999;
}

/* Optional: primary action (Download) */
.page_my_certificates a:first-child {
    border-color: #bbb;
}

/* ===== Zebra subtle ===== */
.page_my_certificates tbody tr:nth-child(even) {
    background: #fcfcfc;
}

@media (max-width: 768px) {

    .page_my_certificates table,
    .page_my_certificates thead,
    .page_my_certificates tbody,
    .page_my_certificates th,
    .page_my_certificates td,
    .page_my_certificates tr {
        display: block;
        width: 100%;
    }

    /* Hide header */
    .page_my_certificates thead {
        display: none;
    }

    /* Each row becomes card */
    .page_my_certificates tbody tr {
        margin-bottom: 10px;
        border: 1px solid #eee;
        border-radius: 6px;
        padding: 8px;
        background: #fff;
    }

    /* Each cell becomes row */
    .page_my_certificates tbody td {
        display: flex;
        justify-content: space-between;
        padding: 5px 6px;
        border: none;
    }

    /* Labels (simulate header) */
    .page_my_certificates tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        margin-right: 10px;
    }

    /* Stack actions nicely */
    .page_my_certificates td:last-child {
        justify-content: flex-start;
        gap: 6px;
        flex-wrap: wrap;
    }

    .page_my_certificates a {
        margin-top: 4px;
    }
}
