/* ICAR-IIGR "ABI Section" page template (page-abi-section.php).
   Presentation only, scoped to this template's markup so it can be audited
   or removed independently of modern-refresh.css. Reuses the --iigr-*
   custom properties defined there for visual consistency with the rest of
   the site. Header, footer, and the site's real top navigation are not
   touched by this file -- only the left sidebar and content column below
   the slider are styled here. */

body.wp-theme-modernize-v3-00 .iigr-abi-section{padding:28px 0 48px}
body.wp-theme-modernize-v3-00 .iigr-abi-shell{width:calc(100% - 40px);max-width:1200px;margin:0 auto}

/* Two-column layout: left sidebar + content */
body.wp-theme-modernize-v3-00 .iigr-abi-body{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;gap:28px}

/* Left sidebar -- uses the exact same .custom-sidebar / .custom-sidebar-title
   / widget menu markup and CSS the rest of the site already uses for its
   sidebars (see modern-refresh.css), so it renders identically to the
   homepage's "Main Menu" sidebar without duplicating those rules. Only two
   things are added: the title's green accent border (normally scoped to
   .left-sidebar-wrapper, a legacy class this template doesn't use) and
   current-page highlighting, which the site's sidebar widgets don't
   otherwise define. */
body.wp-theme-modernize-v3-00 .iigr-abi-sidebar{position:sticky;top:20px}
body.wp-theme-modernize-v3-00 .iigr-abi-sidebar .custom-sidebar-title{margin:0 0 12px;padding:1px 0 1px 11px;border:0;border-left:4px solid var(--iigr-green-700);border-radius:0;background:transparent;font-size:18px;font-weight:700;letter-spacing:-.01em;line-height:1.35}
body.wp-theme-modernize-v3-00 .iigr-abi-sidebar .menu li.current-menu-item>a,
body.wp-theme-modernize-v3-00 .iigr-abi-sidebar .menu li.current_page_item>a{color:var(--iigr-green-800);font-weight:700}

/* Content column */
body.wp-theme-modernize-v3-00 .iigr-abi-main{min-width:0;padding:28px;border:1px solid var(--iigr-border);border-radius:var(--iigr-radius);background:var(--iigr-surface);box-shadow:var(--iigr-shadow-sm)}
body.wp-theme-modernize-v3-00 .iigr-abi-main .gdl-page-title{margin-top:0}
body.wp-theme-modernize-v3-00 .iigr-abi-content{margin-top:12px}
body.wp-theme-modernize-v3-00 .iigr-abi-content ul{padding-left:20px}
body.wp-theme-modernize-v3-00 .iigr-abi-content li{margin-bottom:6px}

/* Image slider, now positioned inside the content column above the page
   title/text instead of spanning the full page width. Fluid width (no
   fixed legacy grid class here), so it always fits the card it sits in. */
body.wp-theme-modernize-v3-00 .iigr-abi-slider{margin-bottom:24px}
body.wp-theme-modernize-v3-00 .iigr-abi-slider .slider-wrapper{width:100%;max-width:100%;overflow:hidden;border-radius:var(--iigr-radius)}

@media only screen and (max-width:900px){
	body.wp-theme-modernize-v3-00 .iigr-abi-body{grid-template-columns:1fr}
	body.wp-theme-modernize-v3-00 .iigr-abi-sidebar{position:static;margin-bottom:8px}
	body.wp-theme-modernize-v3-00 .iigr-abi-main{padding:20px}
	body.wp-theme-modernize-v3-00 .iigr-abi-content table{display:block;overflow-x:auto;white-space:nowrap}
}
