/* ==========================================================================
   Theme boxes – 2026 style, all pages.
   Loaded only when Theme Settings → 2026 design switches → Box style is "2026".
   The 3D offset outline is replaced by a thin outline, 14 px corners and a soft
   shadow. Accordion lists follow the Homepage 2026 product highlight cards
   (white, #5056CC outline only when open or hovered). Other boxes keep their
   colours (black outlines become a light hairline, violet outlines stay violet).
   ========================================================================== */

/* 1. Remove the 3D offset layer and its corner marks */
body.rdh26-boxstyle .accord__layer--bottom,
body.rdh26-boxstyle .accord__border { display: none !important; }

/* 2. Thin outline, rounded corners, soft shadow */
body.rdh26-boxstyle .accord__layer--top,
body.rdh26-boxstyle .box__3dBlack .front_box,
body.rdh26-boxstyle .box__3dViolet .front_box,
body.rdh26-boxstyle .box__3d .front_box,
body.rdh26-boxstyle .box_pricing > .front_box,
body.rdh26-boxstyle .box_pricing .list_investor .item a > .front_box {
	border-width: 1px !important;
	border-radius: 14px !important;
	transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
body.rdh26-boxstyle .accord__layer--top,
body.rdh26-boxstyle .box__3d .front_box,
body.rdh26-boxstyle .box_pricing > .front_box,
body.rdh26-boxstyle .box_pricing .list_investor .item a > .front_box {
	box-shadow: 0 6px 14px rgba(10, 25, 24, .06), 0 1px 2px rgba(10, 25, 24, .04);
}
/* Images inside cards follow the rounded corners */
body.rdh26-boxstyle .box__3dBlack .front_box,
body.rdh26-boxstyle .box__3dViolet .front_box { overflow: hidden; }

/* 3. Black outlines become a light hairline (violet outlines are left as they are) */
body.rdh26-boxstyle .box__3dBlack .front_box,
body.rdh26-boxstyle .box__3dBlack .accord__layer--top,
body.rdh26-boxstyle .vcs_rundit .accordion-item .accord__layer--top,
body.rdh26-boxstyle .whyus_rundit .whyus_item .accord__layer--top,
body.rdh26-boxstyle .faq_rundit .accordion-item .accord__layer--top,
body.rdh26-boxstyle .product_page #accordionVCsDetail .accordion-item .accord__layer--top,
body.rdh26-boxstyle .pricing_rundit #priceTab li .nav-link .box__3d .front_box,
body.rdh26-boxstyle .pricing_startup .box_pricing .list_investor .item a > .front_box,
body.rdh26-boxstyle .pricing_startup .box_pricing.bgwhite > .front_box { border-color: rgba(10, 25, 24, .12) !important; }

/* Accordion lists (product pages, old homepage, old FAQ): same look as the
   Homepage 2026 product highlight cards. Closed and open items are white;
   only the open item (and the item under the mouse) gets the #5056CC outline. */
body.rdh26-boxstyle .accordion-item { background: transparent; }
body.rdh26-boxstyle .accordion-item .accord__layer--top { background: #fff !important; border-color: rgba(10, 25, 24, .08) !important; }
body.rdh26-boxstyle .accordion-item:hover .accord__layer--top { border-color: #5056cc !important; }
body.rdh26-boxstyle .accordion-item .accordion-button[aria-expanded="true"] ~ .accord__layer--top {
	background: #fff !important; border-color: #5056cc !important; box-shadow: 0 14px 28px rgba(10, 25, 24, .1);
}
body.rdh26-boxstyle .accordion-item .accordion-button,
body.rdh26-boxstyle .accordion-item .accordion-button[aria-expanded="true"] { color: #0a1918 !important; }
body.rdh26-boxstyle .accordion-item .accordion-body,
body.rdh26-boxstyle .product_page #accordionVCsDetail .accordion-item .accordion-collapse .accordion-body { color: #33403f !important; }
body.rdh26-boxstyle .accordion-item .accordion-body h4 { color: #0a1918; }
body.rdh26-boxstyle .accordion-item .accordion-body a,
body.rdh26-boxstyle .accordion-item .accordion-body .see_more a,
body.rdh26-boxstyle .product_page #accordionVCsDetail .accordion-item .accordion-collapse .accordion-body .see_more a { color: #5056cc !important; font-weight: 500; }
body.rdh26-boxstyle .accordion-item .accordion-body .see_more img { filter: brightness(0) saturate(100%) invert(33%) sepia(60%) saturate(2400%) hue-rotate(228deg); }
/* Same rules again with the exact selectors used by each list, so they win over the generic hairline */
body.rdh26-boxstyle .product_page #accordionVCsDetail .accordion-item:hover .accord__layer--top,
body.rdh26-boxstyle .vcs_rundit .accordion-item:hover .accord__layer--top,
body.rdh26-boxstyle .faq_rundit .accordion-item:hover .accord__layer--top,
body.rdh26-boxstyle .product_page #accordionVCsDetail .accordion-item .accordion-button[aria-expanded="true"] ~ .accord__layer--top,
body.rdh26-boxstyle .vcs_rundit .accordion-item .accordion-button[aria-expanded="true"] ~ .accord__layer--top,
body.rdh26-boxstyle .faq_rundit .accordion-item .accordion-button[aria-expanded="true"] ~ .accord__layer--top { border-color: #5056cc !important; }
body.rdh26-boxstyle .product_page #accordionVCsDetail .accordion-item .accordion-button[aria-expanded="true"] ~ .accord__layer--top,
body.rdh26-boxstyle .vcs_rundit .accordion-item .accordion-button[aria-expanded="true"] ~ .accord__layer--top,
body.rdh26-boxstyle .faq_rundit .accordion-item .accordion-button[aria-expanded="true"] ~ .accord__layer--top { background: #fff !important; box-shadow: 0 14px 28px rgba(10, 25, 24, .1); }
/* Arrow: dark, points down when closed and up when open (like the 2026 cards) */
body.rdh26-boxstyle .accordion-item .accordion-button::after,
body.rdh26-boxstyle .accordion-item .accordion-button[aria-expanded="true"]::after {
	background-image: url(../images/up.svg) !important; filter: brightness(0); transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
body.rdh26-boxstyle .accordion-item .accordion-button[aria-expanded="false"]::after { transform: rotate(180deg) !important; }
body.rdh26-boxstyle .accordion-item .accordion-button[aria-expanded="true"]::after { transform: rotate(0deg) !important; }

/* 4. Hover: lift slightly with a deeper shadow (instead of the 3D press) */
body.rdh26-boxstyle .box__3dBlack:not(.noHover):hover .accord__layer--top,
body.rdh26-boxstyle .box__3dViolet:not(.noHover):hover .accord__layer--top { box-shadow: 0 14px 28px rgba(10, 25, 24, .12); }
body.rdh26-boxstyle .box__3dBlack:not(.noHover):hover .front_box,
body.rdh26-boxstyle .box__3dBlack:not(.noHover):hover .accord__layer--top,
body.rdh26-boxstyle .box__3dViolet:not(.noHover):hover .front_box,
body.rdh26-boxstyle .box__3dViolet:not(.noHover):hover .accord__layer--top { transform: translateY(-3px); }
body.rdh26-boxstyle .box__3dBlack.hoverViolet:hover .front_box,
body.rdh26-boxstyle .box__3dBlack.hoverViolet:hover .accord__layer--top { border-color: #5056cc !important; }
body.rdh26-boxstyle .pricing_startup .box_pricing .list_investor .item a:hover > .front_box {
	transform: translateY(-3px) !important; border-width: 1px !important; box-shadow: 0 14px 28px rgba(10, 25, 24, .12);
}

@media (prefers-reduced-motion: reduce) {
	body.rdh26-boxstyle .accord__layer--top,
	body.rdh26-boxstyle .front_box { transition: none !important; transform: none !important; }
}
