/* Whole-card story links retain separate category and author links. */
.archive article.entry,.blog article.entry,.ct-story-query .wp-block-post{position:relative;isolation:isolate;transition:transform .2s,box-shadow .2s}
.archive article.entry .entry-title a::after,.blog article.entry .entry-title a::after,.ct-story-query .wp-block-post-title a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.archive article.entry .entry-taxonomies a,.archive article.entry .entry-meta a,.blog article.entry .entry-taxonomies a,.blog article.entry .entry-meta a,.ct-story-query .wp-block-post-terms a{position:relative;z-index:2}
.archive article.entry:hover,.blog article.entry:hover,.ct-story-query .wp-block-post:hover{transform:translateY(-4px);box-shadow:0 15px 32px #11182d16}
.archive article.entry:focus-within,.ct-story-query .wp-block-post:focus-within{outline:2px solid #5362fa;outline-offset:4px}
.single-post #primary>.content-container{max-width:1240px!important}
.single-post .entry-content.single-content{max-width:none}
.single-post .entry-header{max-width:820px}
.ct-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:40px;align-items:start}
.ct-article-main{min-width:0}
.ct-article-main>p,.ct-article-main>ul,.ct-article-main>ol{font-size:18px;line-height:1.85}
.ct-article-sidebar.ct-reading-lists{display:grid;grid-template-columns:1fr;gap:27px;position:sticky;top:24px;align-self:start;margin:0;padding:22px 16px;border:1px solid #e0e5ef;border-radius:18px;background:#f7f8fc;max-height:calc(100dvh - 48px);overflow-y:auto;scrollbar-width:thin}
.ct-article-sidebar.ct-reading-lists h2{font-size:22px!important;margin-bottom:15px!important}
.ct-article-sidebar .ct-reading-card{padding:10px;gap:10px}
.ct-article-sidebar .ct-reading-card img{width:65px;height:58px}
.ct-article-sidebar .ct-reading-card strong{font-size:13px}
.ct-article-sidebar .ct-reading-card small{font-size:10px}
.ct-product-card .ct-product-cta{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:46px;margin-top:auto;padding:12px 17px;border:1px solid #3444ec;border-radius:11px;background:linear-gradient(135deg,#4c5eff,#3444df);box-shadow:0 5px 12px #3e50f729;color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:650;transition:transform .2s,box-shadow .2s}
.ct-product-card .ct-product-cta:hover{transform:translateY(-2px);box-shadow:0 9px 18px #3e50f73b}
.ct-product-card .ct-product-cta:focus-visible{outline:3px solid #abb5ff;outline-offset:3px}
@media(max-width:1023px){.ct-article-layout{grid-template-columns:1fr;gap:32px}.ct-article-sidebar.ct-reading-lists{position:static;max-height:none;overflow:visible;grid-template-columns:1fr 1fr}.single-post .entry-header{max-width:none}}
@media(max-width:639px){.ct-article-sidebar.ct-reading-lists{grid-template-columns:1fr}.ct-article-main>p,.ct-article-main>ul,.ct-article-main>ol{font-size:17px}.ct-product-card .ct-product-cta{font-size:14px}}
@media(prefers-reduced-motion:reduce){.archive article.entry,.blog article.entry,.ct-story-query .wp-block-post,.ct-product-card .ct-product-cta{transition:none}}

/* Carousel controls flank the image; category numbers stay centered below it. */
.ct-carousel{--ct-stack-height:480px;margin-top:34px!important}
.ct-carousel .ct-carousel-bar{justify-content:center;padding:7px 22px 0;min-height:46px}
.ct-carousel .ct-slide-dots{justify-content:center;gap:8px;margin-inline:auto}
.ct-carousel .ct-carousel-actions{display:contents}
.ct-carousel .ct-carousel-actions button[data-action=pause]{display:none!important}
.ct-carousel .ct-carousel-actions button[data-action=prev],.ct-carousel .ct-carousel-actions button[data-action=next]{position:absolute;top:calc(var(--ct-stack-height)/2);z-index:5;width:44px;height:44px;transform:translateY(-50%);border:1px solid #ffffffc9;background:linear-gradient(145deg,#fff,#edf0ff);color:#233356;box-shadow:0 6px 20px #11182d29;font-size:22px;font-weight:600;backdrop-filter:blur(8px)}
.ct-carousel .ct-carousel-actions button[data-action=prev]{left:-17px}
.ct-carousel .ct-carousel-actions button[data-action=next]{right:-13px}
.ct-carousel .ct-carousel-actions button[data-action=prev]:hover,.ct-carousel .ct-carousel-actions button[data-action=next]:hover{background:#4353f5;color:white;box-shadow:0 9px 25px #3e50f744;transform:translateY(-50%) scale(1.08)}
.ct-carousel .ct-slide-dot{border:1px solid #dfe4ef;background:#ffffffa8;min-width:32px;min-height:32px}
.ct-carousel .ct-slide-dot[aria-pressed=true]{background:#11182d;box-shadow:0 4px 12px #11182d20}
@media(max-width:1100px){.ct-carousel{--ct-stack-height:455px}}
@media(max-width:900px){.ct-carousel{--ct-stack-height:425px}}
@media(max-width:767px){.ct-carousel{--ct-stack-height:390px;margin-top:24px!important}.ct-carousel .ct-carousel-actions button[data-action=prev],.ct-carousel .ct-carousel-actions button[data-action=next]{width:36px;height:36px;font-size:19px}.ct-carousel .ct-carousel-actions button[data-action=prev]{left:-9px}.ct-carousel .ct-carousel-actions button[data-action=next]{right:-4px}.ct-carousel .ct-slide-dots{gap:6px}.ct-carousel .ct-carousel-bar{padding-inline:12px}}

/* Transparent arrow circles with bold, consistent vector shapes. */
.ct-carousel .ct-carousel-actions button[data-action=prev],.ct-carousel .ct-carousel-actions button[data-action=next]{background:transparent!important;border:1.5px solid #8290ab66;box-shadow:none!important;backdrop-filter:none;font-size:0!important;color:#253453}
.ct-carousel .ct-carousel-actions button[data-action=prev]{left:-34px}
.ct-carousel .ct-carousel-actions button[data-action=next]{right:-28px}
.ct-carousel .ct-carousel-actions button[data-action=prev]::before,.ct-carousel .ct-carousel-actions button[data-action=next]::before{content:"";display:block;width:25px;height:25px;background:currentColor;clip-path:polygon(0 42%,65% 42%,43% 20%,51% 12%,100% 50%,51% 88%,43% 80%,65% 58%,0 58%)}
.ct-carousel .ct-carousel-actions button[data-action=prev]::before{transform:rotate(180deg)}
.ct-carousel .ct-carousel-actions button[data-action=prev]:hover,.ct-carousel .ct-carousel-actions button[data-action=next]:hover{background:transparent!important;color:#4353f5;border-color:#4353f5}
@media(max-width:767px){.ct-carousel .ct-carousel-actions button[data-action=prev]{left:-13px}.ct-carousel .ct-carousel-actions button[data-action=next]{right:-11px}.ct-carousel .ct-carousel-actions button[data-action=prev]::before,.ct-carousel .ct-carousel-actions button[data-action=next]::before{width:23px;height:23px}}

/* Refined light-grey chevrons and five-percent smaller transparent circles. */
.ct-carousel .ct-carousel-actions button[data-action=prev],.ct-carousel .ct-carousel-actions button[data-action=next]{width:41.8px;height:41.8px;color:#a2a9b4;border-color:#a2a9b455}
.ct-carousel .ct-carousel-actions button[data-action=prev]::before,.ct-carousel .ct-carousel-actions button[data-action=next]::before{width:12px;height:12px;background:transparent;clip-path:none;border:solid currentColor;border-width:3.5px 3.5px 0 0;box-sizing:border-box;transform:rotate(45deg);margin-left:-4px}
.ct-carousel .ct-carousel-actions button[data-action=prev]::before{transform:rotate(-135deg);margin-left:4px}
@media(min-width:1100px){.ct-carousel .ct-carousel-actions button[data-action=prev]{left:-45px}.ct-carousel .ct-carousel-actions button[data-action=next]{right:-40px}}
@media(min-width:768px) and (max-width:1099px){.ct-carousel .ct-carousel-actions button[data-action=prev]{left:-12px}.ct-carousel .ct-carousel-actions button[data-action=next]{right:-8px}}
@media(max-width:767px){.ct-carousel .ct-carousel-actions button[data-action=prev],.ct-carousel .ct-carousel-actions button[data-action=next]{width:34.2px;height:34.2px}.ct-carousel .ct-carousel-actions button[data-action=prev]::before,.ct-carousel .ct-carousel-actions button[data-action=next]::before{width:11px;height:11px}}

/* Preserve the outside arrows without clipping narrow desktop viewports. */
@media(min-width:1100px) and (max-width:1340px){.ct-carousel .ct-carousel-actions button[data-action=next]{right:-24px}}
/* Mobile uses swipe and category numbers; preserve normal vertical scrolling. */
@media(max-width:767px){.ct-carousel .ct-slide-stack{touch-action:pan-y pinch-zoom}.ct-carousel .ct-carousel-actions button[data-action=prev],.ct-carousel .ct-carousel-actions button[data-action=next]{display:none!important}}
