/* Shared inner-page styles. Content remains managed in Joomla. */
#bd.remah-site:not(.homepage) #content { padding: 20px 0 64px; background: #f5f7f5; }
#bd.remah-site:not(.homepage) .breadcrumb { background: transparent; padding: 20px 0; margin-bottom: 0; color: #52665d; }
#bd.remah-site:not(.homepage) .breadcrumb a { color: #175947; }
#bd.remah-site:not(.homepage) #k2Container.itemView { background: #fff; border: 1px solid #dfe8e3; border-radius: 12px; box-shadow: 0 8px 28px #123d3408; padding: 36px; margin: 0; }
#bd.remah-site:not(.homepage) #k2Container .itemTitle { color: #123d34; font-family: 'Tajawal', Tahoma, sans-serif !important; font-size: 34px; line-height: 1.6; margin: 0 0 18px; padding: 0 18px 0 0; border-right: 4px solid #b89751; background: none; }
#bd.remah-site:not(.homepage) #k2Container .itemTitle::after { display: none; }
#bd.remah-site:not(.homepage) .itemToolbar { background: #f5f7f5; border: 0; border-radius: 6px; padding: 10px 14px; margin-bottom: 24px; }
#bd.remah-site:not(.homepage) .itemToolbar a { color: #175947; }
#bd.remah-site:not(.homepage) .itemFullText { font-size: 18px; color: #334b40; line-height: 2; text-align: start; }
#bd.remah-site:not(.homepage) .itemFullText p { font-family: 'Tajawal', Tahoma, sans-serif !important; font-size: inherit; line-height: inherit; color: inherit; margin-bottom: 18px; overflow-wrap: anywhere; }
#bd.remah-site:not(.homepage) .itemFullText p:first-child { background: #edf4ef; border-right: 3px solid #175947; border-radius: 8px; padding: 22px; margin-bottom: 28px; }
#bd.remah-site:not(.homepage) .itemFullText a { color: #175947; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
#bd.remah-site:not(.homepage) #left .module { background: #fff; border: 1px solid #dfe8e3; border-radius: 12px; padding: 18px; box-shadow: 0 6px 24px #123d3406; }
#bd.remah-site:not(.homepage) #left .modtitle { background: transparent; color: #123d34; font-family: 'Tajawal', Tahoma, sans-serif !important; font-size: 23px; padding: 4px 0 16px; text-align: right; border-bottom: 2px solid #b89751; }
#bd.remah-site:not(.homepage) #left .menu li { border: 0; margin: 4px 0; }
#bd.remah-site:not(.homepage) #left .menu li a { padding: 11px 12px; border-radius: 6px; font-size: 16px; line-height: 1.8; color: #40574b; }
#bd.remah-site:not(.homepage) #left .menu li.active a,
#bd.remah-site:not(.homepage) #left .menu li a:hover { background: #edf4ef; color: #175947; }
#bd.remah-site:not(.homepage) .itemBackToTop { border-top: 1px solid #dfe8e3; padding-top: 18px; }
@media (max-width: 767px) {
  #bd.remah-site:not(.homepage) #k2Container.itemView { padding: 22px 18px; }
  #bd.remah-site:not(.homepage) #k2Container .itemTitle { font-size: 28px; }
  #bd.remah-site:not(.homepage) .itemFullText { font-size: 17px; }
  #bd.remah-site:not(.homepage) .itemFullText p:first-child { padding: 16px; }
  #bd.remah-site:not(.homepage) #left .module { margin-bottom: 20px; }
  #bd.remah-site:not(.homepage) #content { padding-bottom: 32px; }
}

/* Shared Joomla articles, page-builder content, archive cards and forms. */
#bd.remah-site:not(.homepage) #yt_component .sppb-row-container { width: 100%; max-width: 100%; }
#bd.remah-site:not(.homepage) #yt_component .sppb-addon-title,
#bd.remah-site:not(.homepage) #yt_component .page-header h2 { color: #123d34; font-family: 'Tajawal', Tahoma, sans-serif !important; line-height: 1.6; }
#bd.remah-site:not(.homepage) #yt_component .item-page,
#bd.remah-site:not(.homepage) #yt_component .contact { padding: 28px; background: #fff; border: 1px solid #dfe8e3; border-radius: 12px; }
#bd.remah-site:not(.homepage) #yt_component img { max-width: 100%; height: auto; }
#bd.remah-site:not(.homepage) #yt_component .responsive-content-box { box-sizing: border-box; padding: 10px; }
#bd.remah-site:not(.homepage) #yt_component .responsive-content-box img { border-radius: 8px; }
#bd.remah-site:not(.homepage) #yt_component .catItemView { background: #fff; border: 1px solid #dfe8e3; border-radius: 10px; padding: 20px; margin-bottom: 20px; }
#bd.remah-site:not(.homepage) #yt_component input[type="text"],
#bd.remah-site:not(.homepage) #yt_component input[type="email"],
#bd.remah-site:not(.homepage) #yt_component textarea { max-width: 100%; border: 1px solid #bdcec3; border-radius: 6px; padding: 10px 12px; }
#bd.remah-site:not(.homepage) #yt_component .btn-primary { background: #175947; border-color: #175947; border-radius: 6px; color: #fff; }
#bd.remah-site:not(.homepage) #yt_component a { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  #bd.remah-site:not(.homepage) #yt_component .item-page,
  #bd.remah-site:not(.homepage) #yt_component .contact { padding: 18px; }
}

/* Advisory board table: remove grid lines and inherited intro decoration. */
#bd.remah-site #startOfPageId488 ~ #k2Container .divTable,
#bd.remah-site #startOfPageId488 ~ #k2Container .divTableRow,
#bd.remah-site #startOfPageId488 ~ #k2Container .divTableCell,
#bd.remah-site #startOfPageId488 ~ #k2Container .divTableHead {
  border: 0;
  box-shadow: none;
}
#bd.remah-site #startOfPageId488 ~ #k2Container .divTableCell p {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
}
#bd.remah-site #startOfPageId488 ~ #k2Container .divTableCell {
  padding: 12px 14px;
  vertical-align: top;
}

/* Alternating backgrounds distinguish advisory board members without borders. */
#bd.remah-site #startOfPageId488 ~ #k2Container .divTableRow:nth-child(odd) {
  background-color: #edf4ef;
}
#bd.remah-site #startOfPageId488 ~ #k2Container .divTableRow:nth-child(even) {
  background-color: #ffffff;
}
