﻿/* All styles and motion are scoped to section four. */
#bundle{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 15%,#00503255,transparent 65%),#00291c;color:#fff8e7;padding:60px 0 65px;scroll-margin-top:20px}
#bundle .bdl-container{width:calc(100% - 72px);max-width:1320px;margin:auto}
#bundle .bdl-heading{text-align:center;margin-bottom:27px}
#bundle .bdl-heading h2{color:#fff8e7;font-size:clamp(31px,3.6vw,52px);line-height:1.5;letter-spacing:-.8px;margin:0}
#bundle .bdl-heading h2 span{color:#f0c55f}
#bundle .bdl-gold-line{display:block;height:3px;width:min(290px,55%);margin:17px auto 0;border-radius:10px;background:linear-gradient(90deg,#d89a2f,#ffe49a,#d89a2f);box-shadow:0 0 10px #f6c75730;transform-origin:center}
#bundle .bdl-book{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:.7fr 1.7fr;align-items:center;gap:35px;padding:20px 45px;border:1px solid #e3c16a;border-radius:23px;background:radial-gradient(ellipse at 20% 70%,#00915140,transparent 48%),linear-gradient(125deg,#003d29,#00291b);box-shadow:0 0 25px #54c88210,inset 0 0 22px #a2e38408;margin-bottom:24px}
#bundle .bdl-book:after{content:'';position:absolute;z-index:-1;right:-5%;bottom:-65px;width:40%;height:135px;border-top:2px solid #e3b94f;border-radius:50%;transform:rotate(-21deg);box-shadow:0 -10px 25px #00b86716}
#bundle .bdl-cover{display:flex;justify-content:center;align-items:center;padding:0 20px}
#bundle .bdl-cover img{display:block;width:216px;max-width:100%;height:auto;transform:rotate(-2deg);filter:drop-shadow(0 10px 15px #0008);border:1px solid #a7c19955}
#bundle .bdl-book-copy{padding:15px 0 15px 36px;border-left:1px solid #d6b35c}
#bundle .bdl-book-copy h3{color:#fff8e7;font-size:clamp(26px,3.2vw,45px);line-height:1.45;margin:0 0 21px;letter-spacing:-.7px}
#bundle .bdl-book-edition,#bundle .bdl-book-detail{display:flex;align-items:center;gap:15px;margin:0;color:#fff4dc;font-size:20px;line-height:1.8}
#bundle .bdl-book-edition{margin-bottom:15px}
#bundle .bdl-book-edition>span{border:1px solid #b79b49;border-radius:22px;padding:4px 14px;background:#003a24}
#bundle .bdl-book-edition strong{color:#f1c45b}
#bundle .bdl-book-copy .icon{flex-shrink:0;width:34px;height:34px;color:#f1ca68}
#bundle .bdl-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 15px}
#bundle .bdl-tool{min-width:0;display:grid;grid-template-rows:106px auto 1fr;align-items:start;gap:13px;padding:20px 17px 18px;border:1px solid #e3c16a;border-radius:18px;background:linear-gradient(135deg,#003d2955,#002518);box-shadow:0 7px 18px #0002}
#bundle .bdl-tool-heading{display:flex;align-items:center;gap:13px;min-width:0;height:100%}
#bundle .bdl-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:64px;height:64px;filter:drop-shadow(0 3px 4px #0003)}
#bundle .bdl-icon img{display:block;width:100%;height:100%;object-fit:contain}
#bundle .bdl-tool h3{color:#fff9e9;font-size:22px;line-height:1.5;letter-spacing:-.3px;margin:0;overflow-wrap:anywhere}
#bundle .bdl-badge{align-self:stretch;display:flex;justify-content:center;align-items:center;min-height:36px;margin:0;padding:5px 9px;border:1px solid #ffdd88;border-radius:24px;background:linear-gradient(120deg,#f9db83,#e9b449);color:#122d1b;text-align:center;font-size:15px;font-weight:700;line-height:1.65;overflow-wrap:anywhere}
#bundle .bdl-use{border-top:1px solid #bda052;padding-top:11px;margin:0;text-align:center;color:#f0eedf;font-size:15px;line-height:1.8}
/* Content stays visible unless both observers have been created successfully. */
#bundle.bdl-motion-ready .bdl-reveal:not(.bdl-visible){opacity:0;transform:translateY(18px)}
#bundle.bdl-motion-ready:not(.bdl-entered) .bdl-gold-line{transform:scaleX(0);opacity:0}
#bundle.bdl-motion-ready.bdl-entered .bdl-gold-line{animation:bdl-line .45s ease-out both}
#bundle.bdl-motion-ready .bdl-reveal.bdl-visible{animation:bdl-rise .45s var(--bdl-delay,0ms) both}
@keyframes bdl-line{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}
@keyframes bdl-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover) and (pointer:fine){#bundle .bdl-tool{transition:translate .2s ease,border-color .2s ease,box-shadow .2s ease}#bundle .bdl-tool:hover{translate:0 -5px;border-color:#fff0b2;box-shadow:0 0 18px #e6c76b22,0 12px 22px #0003}}
@media(max-width:1150px){#bundle .bdl-container{width:calc(100% - 48px)}#bundle .bdl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#bundle .bdl-tool{grid-template-rows:76px auto 1fr;padding:20px 23px}#bundle .bdl-tool h3{font-size:23px}#bundle .bdl-book{padding:24px;gap:16px}#bundle .bdl-book-copy{padding-left:24px}#bundle .bdl-book-edition,#bundle .bdl-book-detail{font-size:17px}#bundle .bdl-book-copy h3{font-size:33px}#bundle .bdl-badge{font-size:16px}}
@media(max-width:768px){#bundle{padding:43px 0 44px}#bundle .bdl-container{width:calc(100% - 32px)}#bundle .bdl-heading{margin-bottom:24px}#bundle .bdl-heading h2{font-size:33px;line-height:1.6}#bundle .bdl-gold-line{margin-top:12px}#bundle .bdl-book{grid-template-columns:1fr;gap:23px;padding:26px 23px;border-radius:19px}#bundle .bdl-cover img{width:200px}#bundle .bdl-book-copy{border-left:0;border-top:1px solid #a58e46;padding:22px 0 0}#bundle .bdl-book-copy h3{font-size:29px;line-height:1.6;margin-bottom:17px}#bundle .bdl-book-edition,#bundle .bdl-book-detail{font-size:16px;gap:11px}#bundle .bdl-book-edition>span{border-radius:13px;padding:7px 11px}#bundle .bdl-book-copy .icon{width:29px;height:29px}#bundle .bdl-grid{gap:14px}#bundle .bdl-tool{grid-template-rows:100px auto 1fr;padding:17px 14px;gap:12px}#bundle .bdl-tool-heading{gap:9px}#bundle .bdl-icon{width:39px;height:44px}#bundle .bdl-icon .icon{width:37px;height:37px}#bundle .bdl-tool h3{font-size:20px}#bundle .bdl-badge{font-size:14px;min-height:56px}#bundle .bdl-use{font-size:15px}#bundle.bdl-motion-ready .bdl-reveal.bdl-visible{animation-duration:.3s}}
/* Compact cards retain natural text wrapping and equal icon boxes. */
@media(max-width:768px){
    #bundle .bdl-grid{gap:12px}
    #bundle .bdl-tool{grid-template-rows:minmax(58px,auto) auto 1fr;padding:16px;gap:10px;border-radius:15px}
    #bundle .bdl-tool-heading{gap:10px}
    #bundle .bdl-tool h3{font-size:18px;line-height:1.6;letter-spacing:normal}
    #bundle .bdl-badge{min-height:34px;padding:4px 10px;font-size:13px;line-height:1.7}
    #bundle .bdl-use{padding-top:9px;font-size:14px;line-height:1.8}
}
@media(max-width:540px){
    #bundle .bdl-grid{grid-template-columns:minmax(0,1fr);max-width:360px;margin-inline:auto;gap:12px}
    #bundle .bdl-tool{grid-template-rows:auto auto 1fr;padding:16px;gap:10px}
    #bundle .bdl-tool-heading{min-height:44px;gap:11px}
    #bundle .bdl-tool h3{font-size:19px}
    #bundle .bdl-badge{font-size:14px;min-height:32px}
    #bundle .bdl-book-copy h3{font-size:27px}
}
@media(prefers-reduced-motion:reduce){#bundle *,#bundle *:before,#bundle *:after{animation:none!important;transition:none!important}#bundle.bdl-motion-ready .bdl-reveal,#bundle.bdl-motion-ready .bdl-gold-line{opacity:1!important;transform:none!important}#bundle .bdl-tool:hover{translate:none}}
/* Keep the colorful assets in equal boxes at every responsive breakpoint. */
@media(max-width:768px){#bundle .bdl-icon{width:40px;height:40px}}

