/* v6.11.54 — About post_content typography belongs exclusively to the active theme.
   Preserve section layout and cards, but don't cascade the plugin's Cairo/text
   defaults into the native WordPress editor content. */
/* v6.11.22 — Canonical bank profile layout. Loaded explicitly in wp_head.
   The stylesheet is generated only from this file, with no older competing CSS rules.
   All declarations are restricted to .abp-shell.abp-bank-page.
   Original note:
   This block replaces (not overrides) obsolete profile/news/section rules from
   6.11.6, 6.11.8, 6.11.14, 6.11.15 and 6.11.18. All selectors are contained
   in .abp-shell.abp-bank-page, protecting Jannah header/footer and widgets. */
.abp-shell.abp-bank-page {
  --abp-bank-panel:#f5faff;
  /* The page root must inherit typography from Jannah, NOT from .abp-shell. */
  font-family:inherit; font-size:inherit; font-weight:inherit;
  line-height:inherit; color:inherit;
}
/* Preserve established plugin typography everywhere EXCEPT the About section. */
.abp-shell.abp-bank-page > :not(.abp-about-reference) {
  font-family:"Cairo",sans-serif; font-size:14px; font-weight:400;
  line-height:1.8; color:var(--abp-text);
}
/* The About section TITLE remains an existing plugin-managed heading. */
.abp-shell.abp-bank-page > .abp-about-reference > .abp-section-title {
  font-family:"Cairo",sans-serif;
}
.abp-shell.abp-bank-page > section.abp-section {
  display:block; width:100%; min-width:0; margin-top:28px;
  padding:22px 18px 20px; border:1px solid #e8eff8;
  border-radius:16px; background:var(--abp-bank-panel)!important;
  box-shadow:none; box-sizing:border-box;
}
.abp-shell.abp-bank-page > section.abp-board-reference {padding:22px 0 14px}
/* The four fact CARDS are white; their containing panel stays the shared light-blue surface. */
.abp-shell.abp-bank-page > section.abp-facts-strip-modern {
  background:var(--abp-bank-panel)!important;
  gap:12px; padding:12px; box-sizing:border-box;
  overflow:visible;
}
.abp-shell.abp-bank-page > section.abp-facts-strip-modern > .abp-fact-item {
  background:#fff!important;
  border:1px solid #e2ebf7!important;
  border-radius:12px;
  box-shadow:0 6px 16px rgba(0,73,173,.05);
  min-width:0; box-sizing:border-box;
}
.abp-shell.abp-bank-page > section.abp-facts-strip-modern .abp-fact-item strong,
.abp-shell.abp-bank-page > section.abp-facts-strip-modern .abp-fact-item .abp-site-domain-link {
  max-width:100%; overflow-wrap:anywhere;
}
.abp-shell.abp-bank-page > section.abp-section > .abp-section-title {
  display:block; width:100%; margin:0 0 18px!important;
  text-align:center!important; font-size:18px!important; font-weight:900!important;
}
/* Only the editor surface's box geometry is managed by this plugin.
   Its text inherits Jannah's settings; no content/descendant typography rules. */
.abp-shell.abp-bank-page .abp-about-reference .abp-about-text {
  display:block; width:100%; max-width:none; margin:0;
}
/* v6.11.56: geometry-only Jannah post structure for the native editor.
   Jannah selectors such as .post-inner .entry-content and
   .post-content .entry-content now reach bank content without hard-coded fonts.
   Never apply these classes to BODY or the site header. */
.abp-shell.abp-bank-page .abp-about-reference .abp-about-theme-host {
  display:block; width:100%; max-width:none; min-width:0;
  margin:0; padding:0; background:transparent; border:0;
  box-shadow:none; float:none; box-sizing:border-box;
}
/* Fixed, non-sliding four-headline news grid: one desktop row, only image/title. */
.abp-shell.abp-bank-page .abp-bank-news-section .abp-news-grid {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch; gap:16px; direction:rtl;
  width:100%; min-width:0; margin:16px 0 4px!important;
}
.abp-shell.abp-bank-page .abp-news-grid > .abp-news-card {
  display:flex!important; flex-direction:column!important;
  grid-column:auto!important; grid-row:auto!important;
  float:none!important; clear:none!important; width:auto!important;
  max-width:none!important; min-width:0; min-height:0;
  margin:0!important; padding:10px 10px 12px;
  overflow:hidden; background:#fff; border:1px solid #e2ebf7;
  border-radius:13px; box-shadow:0 7px 22px rgba(0,55,133,.1);
  text-align:right; color:#111;
}
.abp-shell.abp-bank-page .abp-news-card .abp-news-cover {
  display:block; flex:none; width:100%; height:136px;
  overflow:hidden; border-radius:8px; background:#edf3fa; margin:0 0 9px;
}
.abp-shell.abp-bank-page .abp-news-card .abp-news-cover img {
  display:block; width:100%; height:100%; object-fit:cover;
}
.abp-shell.abp-bank-page .abp-news-no-image {
  display:flex; width:100%; height:100%; align-items:center; justify-content:center; color:#4173a8;
}
.abp-shell.abp-bank-page .abp-news-no-image svg {
  width:38px; height:38px; fill:none; stroke:currentColor; stroke-width:1.5;
}
.abp-shell.abp-bank-page .abp-news-card .abp-news-title {
  display:block!important; width:100%; min-height:0; max-height:none;
  overflow:visible; margin:0!important; padding:0;
  text-align:right; color:#101c36!important;
  font:900 14px/1.5 "Cairo",Tahoma,sans-serif!important;
}
.abp-shell.abp-bank-page .abp-news-card .abp-news-title a {
  color:inherit!important; font:inherit!important; text-decoration:none!important;
}
.abp-shell.abp-bank-page .abp-news-card a:focus-visible {outline:3px solid #167a2e;outline-offset:3px}
/* Recommendations remain a slider; their component styles live above. */
.abp-shell.abp-bank-page .abp-profile-carousel {max-width:100%; margin:15px auto 4px}
.abp-shell.abp-bank-page .abp-profile-carousel .abp-spotlight-card {height:236px;min-height:236px}
/* Remove obsolete action section ornaments, keep the service-card colors. */
.abp-shell.abp-bank-page > section.abp-quick-actions-section::before,
.abp-shell.abp-bank-page > section.abp-quick-actions-section::after {content:none;display:none}
@media (max-width:950px) {
  .abp-shell.abp-bank-page .abp-bank-news-section .abp-news-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:620px) {
  .abp-shell.abp-bank-page .abp-bank-news-section .abp-news-grid {
    grid-template-columns:minmax(0,1fr)!important;
  }
  .abp-shell.abp-bank-page > section.abp-section:not(.abp-board-reference) {padding:18px 12px}
}

/* When a theme resets columns/cards at a later priority, these bank-local rules
   win without changing theme/widget styles on the rest of the document. */
.abp-shell.abp-bank-page > .abp-bank-news-section.abp-section > .abp-news-grid {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  justify-items:stretch!important;
  align-content:start!important;
}
.abp-shell.abp-bank-page > .abp-bank-news-section.abp-section > .abp-news-grid > article.abp-news-card {
  flex-basis:auto!important; box-sizing:border-box!important;
}
@media(max-width:950px) and (min-width:621px) {
  .abp-shell.abp-bank-page > .abp-bank-news-section.abp-section > .abp-news-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:620px) {
  .abp-shell.abp-bank-page > .abp-bank-news-section.abp-section > .abp-news-grid {
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* v6.11.51 — Restore the shared section surface and keep WHITE content cards.
   Section uses the same light-blue panel as neighboring sections, while every
   content/feature/stat card has an independent white surface, for ALL banks.
   Scoped inside bank pages; cannot alter Jannah header or other site pages. */
.abp-shell.abp-bank-page > section.abp-about-reference.abp-section {
  background:var(--abp-bank-panel)!important;
  border-color:#e8eff8;
}
.abp-shell.abp-bank-page > section.abp-about-reference .abp-about-text {
  background:#fff!important;
  border:1px solid #e2ebf7;
  border-radius:12px;
  padding:16px 18px!important;
  box-sizing:border-box;
}
.abp-shell.abp-bank-page > section.abp-about-reference .abp-feature-grid {
  gap:12px; border:0; background:transparent;
}
.abp-shell.abp-bank-page > section.abp-about-reference .abp-feature-card {
  background:#fff!important;
  border:1px solid #e2ebf7;
  border-radius:12px;
  box-shadow:0 6px 16px rgba(0,73,173,.05);
  min-width:0;
}
.abp-shell.abp-bank-page > section.abp-about-reference .abp-feature-card:not(:last-child)::after {
  display:none;
}
.abp-shell.abp-bank-page > section.abp-about-reference .abp-stats-grid {
  background:transparent!important;
}
.abp-shell.abp-bank-page > section.abp-about-reference .abp-stat-card {
  background:#fff!important;
}
@media(max-width:620px) {
  .abp-shell.abp-bank-page > section.abp-about-reference .abp-about-text {padding:14px 12px!important;}
  .abp-shell.abp-bank-page > section.abp-facts-strip-modern {gap:10px;padding:10px;}
}
