/* Task 58: only the three explicitly marked homepage Post Sliders. */
body.home #page-container .baskethb-a2-row {
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;
 width:90%;max-width:1440px;padding:24px 0 48px;
}
body.home #page-container .baskethb-a2-row:after {display:none}
body.home #page-container .baskethb-a2-row>.et_pb_column {width:auto;margin:0;min-width:0}
body.home #page-container .baskethb-a2-heading {margin-bottom:20px}
body.home #page-container .baskethb-a2-heading h2 {font:700 20px/1.4 Montserrat,sans-serif;color:#123668;letter-spacing:.04em;padding:0}
body.home #page-container .baskethb-a2-card {border-radius:16px;box-shadow:0 12px 36px rgba(18,54,104,.12);background:#fff;overflow:hidden;text-shadow:none}
body.home #page-container .baskethb-a2-card .et_pb_slide {padding:0;background:#fff}
body.home #page-container .baskethb-a2-card .et_pb_slide_overlay_container {display:none}
body.home #page-container .baskethb-a2-card .et_pb_container {width:100%;max-width:none;height:auto!important;min-height:0!important}
body.home #page-container .baskethb-a2-card .et_pb_slider_container_inner {display:block}
body.home #page-container .baskethb-a2-card .et_pb_slide_image {position:static;width:100%;margin:0!important;display:block!important;height:250px;overflow:hidden}
body.home #page-container .baskethb-a2-card .et_pb_slide_image img {display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}
body.home #page-container .baskethb-a2-card .et_pb_slide_with_no_image:before {content:"";display:block;height:250px;background:#2ea3f2 center/cover no-repeat}
/* Divi keeps inactive slides in the DOM: request photos only for visible transitions. */
body.home #page-container .baskethb-a2-card .et_pb_slide_with_no_image.et-pb-active-slide:before,
body.home #page-container .baskethb-a2-card .et_pb_slide_with_no_image.et-pb-moved-slide:before {background-image:var(--baskethb-a2-fallback,none)}
body.home #page-container .baskethb-a2-card .baskethb-a2-date {position:absolute;top:16px;left:16px;z-index:3;padding:7px 10px;background:#f1c843;color:#123668;border-radius:6px;font:700 12px/1.3 Montserrat,sans-serif;box-shadow:0 2px 8px #12366822}
/* Divi initializes descriptions at opacity 0 for its text entrance animation.
   The A2 body stays visible while the native slide transition remains intact. */
body.home #page-container .baskethb-a2-card .et_pb_slide_description {float:none;width:100%;height:250px;padding:20px 24px 46px;display:flex;flex-direction:column;text-align:left;box-sizing:border-box;text-shadow:none;animation:none;opacity:1!important}
body.home #page-container .baskethb-a2-card .et_pb_slide_title {font:700 21px/1.3 Montserrat,sans-serif;padding:0;margin:0 0 10px;color:#123668;overflow-wrap:anywhere}
body.home #page-container .baskethb-a2-card .et_pb_slide_title a {color:#123668}
body.home #page-container .baskethb-a2-card .et_pb_slide_content {display:contents;color:#52627b;font-size:15px;line-height:1.6}
/* Divi's dark-layout metadata color uses !important, so override only here. */
body.home #page-container .baskethb-a2-card .post-meta {order:-1;font-size:11px!important;line-height:1.5;margin-bottom:10px;padding-bottom:0;color:#65758d!important}
body.home #page-container .baskethb-a2-card .post-meta a {color:#52627b!important}
body.home #page-container .baskethb-a2-card .et_pb_slide_content>div {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#52627b;font-size:14px;line-height:1.5;flex-shrink:0}
body.home #page-container .baskethb-a2-card .et_pb_button_wrapper {margin-top:auto;padding-top:12px;flex-shrink:0}
body.home #page-container .baskethb-a2-card a.et_pb_more_button {display:inline-flex;align-items:center;min-height:44px;margin-top:0;padding:10px 18px;font-size:15px;line-height:1.4;color:#fff;background:#1762bb;border:0;border-radius:8px;transition:background .2s}
body.home #page-container .baskethb-a2-card a.et_pb_more_button:hover {background:#123668;padding:10px 18px}
body.home #page-container .baskethb-a2-card a.et_pb_more_button:after {display:none}
body.home #page-container .baskethb-a2-card .et-pb-slider-arrows a {opacity:1;top:103px;margin-top:0;width:44px;height:44px;border-radius:50%;background:#fff;color:#123668;box-shadow:0 2px 12px rgba(18,54,104,.2);font-size:36px;line-height:44px;text-align:center}
body.home #page-container .baskethb-a2-card .et-pb-arrow-prev {left:12px}
body.home #page-container .baskethb-a2-card .et-pb-arrow-next {right:12px}
body.home #page-container .baskethb-a2-card .et-pb-controllers {bottom:17px;height:24px}
body.home #page-container .baskethb-a2-card .et-pb-controllers a {width:10px;height:10px;margin:7px 6px;background:#ccd6e4;opacity:1}
body.home #page-container .baskethb-a2-card .et-pb-controllers .et-pb-active-control {background:#e7ba30}
body.home #page-container .baskethb-a2-card a:focus-visible {outline:3px solid #e7ba30;outline-offset:3px}
@media(max-width:980px){
 body.home #page-container .baskethb-a2-row {grid-template-columns:1fr;max-width:680px;width:90%;gap:32px}
 body.home #page-container .baskethb-a2-card .et_pb_slide_image,body.home #page-container .baskethb-a2-card .et_pb_slide_with_no_image:before {height:220px}
 body.home #page-container .baskethb-a2-card .et-pb-slider-arrows a {top:88px}
}
@media(max-width:767px){
 /* Task 59D: mobile-only fixes; keep the approved desktop presentation. */
 body.home ul.et_pb_side_nav {display:none}
 /* Reserve a header band for the non-fixed language switcher. Divi measures
    the secondary header height when placing the main header and page content. */
 body.home #top-header {padding-top:40px}
 body.home .gt_switcher_wrapper {position:absolute!important;top:4px!important}
 body.home.admin-bar .gt_switcher_wrapper {top:50px!important}
 body.home .gt_switcher {display:flex;flex-direction:column}
 body.home .gt_switcher .gt_selected {order:-1}
 body.home #page-container .baskethb-a2-card .et_pb_slide_description {height:300px;padding:18px 20px 46px}
 body.home #page-container .et_pb_post_slider_1.baskethb-a2-card .et_pb_slide_description {height:auto}
 body.home #page-container .et_pb_post_slider_1.baskethb-a2-card .et_pb_button_wrapper {margin-top:0}
 body.home #page-container .baskethb-a2-card .et_pb_slide_title {font-size:19px}
 body.home #page-container .baskethb-a2-heading h2 {font-size:18px}
 body.home #page-container .baskethb-a2-card .et_pb_slide_image,body.home #page-container .baskethb-a2-card .et_pb_slide_with_no_image:before {height:205px}
 body.home #page-container .baskethb-a2-card .et-pb-slider-arrows a {top:80px}
}
