.magnifier-container {
  position: relative;
  max-width: 100%;
}

/* Centrally managed standard and key-knowledge tabbed modal */
.vce-standard-tab-modal {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.vce-standard-tab-modal__nav-shell {
    background: #fff;
    min-height: 164px;
    position: relative;
}

.vce-standard-tab-modal__tabs {
    display: grid;
    grid-auto-columns: calc(100% / min(var(--vce-standard-tab-count, 1), 9));
    grid-auto-flow: column;
    min-height: 164px;
    overflow-x: auto;
    padding: 0.45rem 0.45rem;
    scrollbar-width: none;
}

.vce-standard-tab-modal__tabs::-webkit-scrollbar {
    display: none;
}

.vce-standard-tab-modal__tab {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 12px;
    color: #5a5663;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    gap: 0.55rem;
    justify-content: center;
    line-height: 1.15;
    margin: 0.3rem 0.12rem;
    padding: 0.55rem 0.3rem;
    text-align: center;
    width: calc(100% - 0.24rem);
}

.vce-standard-tab-modal__tab:hover,
.vce-standard-tab-modal__tab:focus-visible,
.vce-standard-tab-modal__tab.active {
    background: #eee;
    color: #3e3a49;
    outline: 0;
}

.vce-standard-tab-modal__tab img {
    filter: brightness(0) saturate(100%) opacity(.55);
    height: 42px;
    object-fit: contain;
    width: 42px;
}

.vce-standard-tab-modal__tab:hover img,
.vce-standard-tab-modal__tab:focus-visible img,
.vce-standard-tab-modal__tab.active img {
    filter: brightness(0) saturate(100%) invert(38%) sepia(11%) saturate(1870%) hue-rotate(197deg) brightness(91%);
}

.vce-standard-tab-modal__scroll {
    align-items: center;
    background: rgba(255,255,255,.96);
    border: 0;
    bottom: 0;
    color: #aaa;
    display: flex;
    font-size: 2.8rem;
    justify-content: center;
    position: absolute;
    top: 0;
    width: 3rem;
    z-index: 4;
}

.vce-standard-tab-modal__scroll[hidden] { display: none; }
.vce-standard-tab-modal__scroll--previous { left: 0; box-shadow: 18px 0 20px rgba(0,0,0,.12); }
.vce-standard-tab-modal__scroll--next { right: 0; box-shadow: -18px 0 20px rgba(0,0,0,.12); }

.vce-standard-tab-modal__content {
    background: var(--vce-modal-dark, #5a5fab);
    border-radius: 0 0 20px 20px;
    color: #fff;
    min-height: 460px;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.vce-standard-tab-modal__pane {
    display: none;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    min-height: 410px;
}

.vce-standard-tab-modal__pane.active { display: grid; }
.vce-standard-tab-modal__copy { padding: .25rem; }

.vce-standard-tab-modal__full {
    background: var(--vce-modal-middle, #7377b8);
    border-radius: 18px;
    margin-bottom: 2.1rem;
    padding: 1.1rem 1.25rem;
}

.vce-standard-tab-modal__eyebrow,
.vce-standard-tab-modal__copy h3,
.vce-standard-tab-modal__example h3 {
    font-family: "K2D", sans-serif;
    font-weight: 500;
}

.vce-standard-tab-modal__eyebrow {
    color: var(--vce-modal-accent, #ffc368);
    font-size: .8rem;
    letter-spacing: .08em;
    margin: 0 0 .45rem;
}

.vce-standard-tab-modal__knowledge {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.vce-standard-tab-modal__copy h3,
.vce-standard-tab-modal__example h3 {
    font-size: 1.35rem;
    letter-spacing: .04em;
    margin: 0 0 1rem;
}

.vce-standard-tab-modal__description {
    font-family: "Open Sans", sans-serif;
    font-size: .88rem;
    line-height: 1.7;
    margin: 0;
}

.vce-standard-tab-modal__example {
    background: #fff;
    border-radius: 16px;
    color: #30303b;
    padding: 1.25rem;
}

.vce-standard-tab-modal__image {
    align-items: center;
    background: rgba(var(--vce-modal-dark-rgb, 90,95,171), .09);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.vce-standard-tab-modal__image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.vce-standard-tab-modal__image-caption {
    color: #666;
    font-family: "Open Sans", sans-serif;
    font-size: .78rem;
    margin: .7rem 0 0;
    text-align: center;
}

.vce-modal-template-close { margin-top: .65rem; }
.vce-modal-template-close img { height: 52px; width: 52px; }

@media (max-width: 760px) {
    .vce-standard-tab-modal__pane.active { grid-template-columns: 1fr; }
    .vce-standard-tab-modal__content { min-height: 0; }
    .vce-standard-tab-modal__image { height: 260px; }
}

/* Analysing Design Practice: overview and designer spotlight tabs */
.vce-practice-analysis-modal__content {
    background: var(--vce-modal-dark, #c03a71);
    border-radius: 0 0 20px 20px;
    color: #fff;
    min-height: 460px;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.vce-practice-analysis-modal__pane {
    display: none;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: minmax(230px, .75fr) minmax(0, 1.7fr);
    min-height: 410px;
}

.vce-practice-analysis-modal__pane.active {
    display: grid;
}

.vce-practice-analysis-modal__introduction.active {
    display: block;
}

.vce-practice-analysis-modal__overview,
.vce-practice-analysis-modal__spotlight {
    border-radius: 16px;
    box-sizing: border-box;
    min-width: 0;
}

.vce-practice-analysis-modal__overview {
    background: rgba(var(--vce-modal-middle-rgb, 233, 75, 139), .72);
    padding: clamp(1.1rem, 2.4vw, 1.6rem);
}

.vce-practice-analysis-modal__eyebrow,
.vce-practice-analysis-modal__spotlight-label,
.vce-practice-analysis-modal__focus {
    font-family: "Open Sans", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.vce-practice-analysis-modal__eyebrow,
.vce-practice-analysis-modal__spotlight-label {
    color: var(--vce-modal-accent, #ffc368);
    margin: 0 0 .55rem;
}

.vce-practice-analysis-modal__overview h3,
.vce-practice-analysis-modal__spotlight h3 {
    font-family: "K2D", sans-serif;
    font-weight: 500;
    line-height: 1.15;
}

.vce-practice-analysis-modal__overview h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    margin: 0 0 1rem;
}

.vce-practice-analysis-modal__overview > p:last-child,
.vce-practice-analysis-modal__spotlight-copy > p:last-child {
    font-family: "Open Sans", sans-serif;
    font-size: .81rem;
    line-height: 1.65;
    margin: 0;
}

.vce-practice-analysis-modal__spotlight {
    align-items: start;
    background: rgba(255, 255, 255, .17);
    display: grid;
    gap: 1rem;
    grid-template-columns: 128px minmax(0, 1fr);
    max-height: 410px;
    overflow-y: auto;
    padding: clamp(1rem, 2vw, 1.4rem);
    scrollbar-color: rgba(255, 255, 255, .55) transparent;
}

.vce-practice-analysis-modal__portrait {
    background: #fff;
    border: 5px solid #fff;
    border-radius: 50%;
    height: 118px;
    margin: 0;
    overflow: hidden;
    position: sticky;
    top: 0;
    width: 118px;
}

.vce-practice-analysis-modal__portrait img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.vce-practice-analysis-modal__spotlight h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    margin: 0 0 .35rem;
}

.vce-practice-analysis-modal__focus {
    color: #fff;
    margin: 0 0 .9rem;
}

@media (max-width: 760px) {
    .vce-practice-analysis-modal__content {
        min-height: 0;
    }

    .vce-practice-analysis-modal__pane.active {
        grid-template-columns: 1fr;
    }

    .vce-practice-analysis-modal__spotlight {
        grid-template-columns: 88px minmax(0, 1fr);
        max-height: none;
    }

    .vce-practice-analysis-modal__portrait {
        height: 78px;
        position: static;
        width: 78px;
    }
}

/* Shared introduction panel for standard and grouped tabbed info modals */
.vce-standard-tab-modal__pane.active.vce-standard-tab-modal__introduction-pane,
.vce-grouped-tab-modal__pane.vce-grouped-tab-modal__pane--introduction {
    display: block;
}

.vce-tab-introduction {
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    min-height: 410px;
    padding: clamp(1.5rem, 4vw, 3.2rem);
    width: 100%;
}

.vce-tab-introduction__eyebrow {
    color: var(--vce-modal-accent, #ffc368);
    font-family: "Open Sans", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0 0 0.55rem;
}

.vce-tab-introduction__title {
    font-family: "K2D", sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 500;
    line-height: 1.08;
    margin: 0;
    max-width: 980px;
}

.vce-tab-introduction__summary {
    font-family: "Open Sans", sans-serif;
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    font-weight: 600;
    line-height: 1.55;
    margin: 1.25rem 0 0;
    max-width: 980px;
}

.vce-tab-introduction__elaboration {
    font-family: "Open Sans", sans-serif;
    font-size: 0.92rem;
    line-height: 1.72;
    margin: 1rem 0 0;
    max-width: 980px;
}

.vce-tab-introduction__callout {
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-left: 4px solid var(--vce-modal-accent, #ffc368);
    border-radius: 12px;
    font-family: "Open Sans", sans-serif;
    margin-top: 1.35rem;
    padding: 1rem 1.1rem;
}

.vce-tab-introduction__callout h4 {
    color: var(--vce-modal-accent, #ffc368);
    font-family: "K2D", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin: 0 0 0.65rem;
}

.vce-tab-introduction__callout ul {
    margin: 0;
    padding-left: 1.15rem;
}

.vce-tab-introduction__callout li {
    font-size: 0.86rem;
    line-height: 1.55;
}

.vce-tab-introduction__callout li + li {
    margin-top: 0.42rem;
}

@media (min-width: 761px) {
    .vce-tab-introduction {
        width: 50%;
    }
}

@media (max-width: 760px) {
    .vce-tab-introduction {
        min-height: 0;
        padding: 1.4rem;
    }
}

#main-image {
  width: 100%;
  height: auto;
  display: block;
}

.magnifier-glass {
  position: absolute;
  border-radius: 50%;
  width: 600px;
  height: 600px;
  overflow: hidden;
  pointer-events: none;
  display: none;
  z-index: 10;
  transition: opacity 0.2s ease;
  box-shadow: #fff 0 0 30px 30px;
}

.magnifier-glass img {
  position: absolute;
  pointer-events: none;
}

.carousel-control-prev-icon {
 background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.show {
  display: block !important;
}

.img-thumbnail {
    max-width: 150px;
    border-radius: 50%;
}


bodymodal {
    font-size: .8rem;
    background: none;
    font-family: 'K2D', sans-serif !important;  
}

.modal-backdrop {
  background-color: #eee;
}

.shadow-big {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.3)!important;
}

.nav-link {
    width: 100%;
    height: 140px;
    color: #000;
    font-size: 14px;
    text-transform: uppercase;
}

.veryround {
    border-radius: 23px;
}

.aspects, .think, .techdrawing {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #000;
    background-color: #eee;
    transition: background-color 0.5s;
}

.nav-item {
    width: 20%;
}

.nav-icons {
    width: 40px;
    margin-bottom: 15px;
    filter: contrast(0%) brightness(50%);
}

.nav-pills {
    padding: 1rem;
    clear: both;
}

.nav-link {
    color: #000;
    opacity: 60%;
    
}

.mobileheading {
    display: none;
}

.nav-link:focus, .nav-link:hover {
    color: #333;
    opacity: 100%;
    transition: opacity 0.5s;
    
}

.nav {
    flex-wrap: nowrap;
    overflow-x: auto;
}


.lead {
    font-size: 12pt;
}

.modalAccordion {
    min-height: 500px;
}


.modalcontainer {
    background-color: #fff;
    padding: .25rem;
    border-radius: 20px;
}

.subfield {
    background-color: rgba(0,0,0,0.1);
    margin: 5px;
    border-radius: 15px;
    height: 100%;
    padding: 10px;
}

.videopopover {
    float: right;
    background-color: #ffc368;
    padding: 5px;
    border-radius: 5px;
    margin-right: -20px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -10px;
}

.videopopover:hover {
    background-color: #e4a545;
}

.videopopover1 {
    float: right;
    background-color: #ffc368;
    padding: 10px;
    border-radius: 5px;
    margin-right: -20px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -10px;
}

.videopopover1:hover {
     background-color: #e4a545;
}

.resource1 {
    float: right;
    background-color: #ffc368;
    padding: 5px;
    border-radius: 5px;
    margin-right: -20px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -10px;
}

.resource1:hover {
    background-color: #e4a545;
}

.resource {
    float: right;
    background-color: #ffc368;
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -10px;
}

.resource:hover {
    background-color: #e4a545;
}

.resource-sub {
    float: right;
    background-color: #ffc368;
    padding: 5px;
    border-radius: 5px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -15px;
}

.resource-sub:hover {
    background-color: #e4a545;
}

.soundplay {
    float: right;
    background-color: #ffc368;
    padding: 1px;
    border-radius: 5px;
    margin-right: 5px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -10px;
}

.soundplay:hover {
    background-color: #e4a545;
}

.megatitle {
    font-size: 2.2rem;
    text-transform: uppercase;
    font-family: 'K2D', sans-serif !important;
}

.bigtitle {
    font-size: 1.5rem;
}

.border-bottom {
    border-style: dotted !important;
}

.littletitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-family: 'K2D', sans-serif !important;
}

.tinytitle {
    font-size: 1rem;
    text-transform: uppercase;
    font-family: 'K2D', sans-serif !important;
    line-height: 0px;
    padding-bottom: 1.5rem !important;
}


.subcontainer {
    border-radius: 10px;
}



.popover {
  border: 0 !important;
  background-color:rgba(255, 255, 255, 0.0) !important;
}

.popover-header {
  border: 0 !important;
  background-color:rgba(255, 255, 255, 1) !important;
  font-size: 1.2rem;
  text-transform: lowercase;
  font-family: 'K2D', sans-serif !important;
}

    .buttonhover {
	background: none !important;
}

.modal-btn {
    float: right;
    margin-top: -50px;
    border-radius: 40px;
    padding: 3px;
    padding-right: 10px;
    padding-left: 10px;
}

    .buttonhover {
    -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

    .buttonhover:hover {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.containercheck {
    display: none;
    float: left;
    position: relative;
    padding-left: 30px;
    margin-top: 0px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 0px;
    width: 20px;
    height: 20px;
}

/* Hide the browser's default checkbox */
.checkboxcontainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 6px;
  border: 1px solid #fff;
}

/* On mouse-over, add a grey background color */
.containercheck input ~ .checkmark {
  background-color: rgba(255,255,255,0.3);
}

/* On mouse-over, add a grey background color */
.containercheck:hover input ~ .checkmark {
  background-color: rgba(255,255,255,0.3);
}

/* When the checkbox is checked, add a blue background */
.containercheck input:checked ~ .checkmark {
  background-color: rgba(255,255,255,0.3);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.containercheck input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.containercheck .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

    @media (min-width: 768px) {
.container, .container-md, .container-sm {
    max-width: 1200px!important;
        }
    }
    @media (min-width: 576px) {
.container, .container-sm {
    max-width:  1200px !important;
}
    }


    @media (max-width: 1200px) {
.halfonsmall {
    min-width: 225px!important;
        }
    }

    @media (max-width: 700px) {
.nav-item {
    width: 20%;
}

.sticky {
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 1;
    background-color: inherit;
    box-shadow: 0px 6px 6px -6px;
    width: 100%;
    transition: all .5s ease-in-out;
}

.contentdrop {
    top: 100px;
}

.mobileheading {
    display: block;
    padding: 10px; 
    text-align: center;
    font-size: 30px;
    color: #fff;
    text-transform: uppercase;
}

.heading {
    font-size: 12pt;
} 
       
.nav-link {
        height: 60px;
    display: inline-block;
}

.nav-text {
    display: none;
}

.nav-icons {
    margin-bottom: 5px;
        }
}

/* Reusable fixed-overview / scrolling-card modal */
.vce-scrolling-modal {
    --vce-scrolling-modal-scrollbar-offset: 14px;
    --vce-scrolling-modal-dark: var(--vce-modal-dark, #5a5fab);
    --vce-scrolling-modal-dark-rgb: var(--vce-modal-dark-rgb, 90, 95, 171);
    --vce-scrolling-modal-light: var(--vce-modal-middle, #7377b8);
    background: var(--vce-scrolling-modal-dark);
    border-radius: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    height: min(78vh, 680px);
    min-height: 560px;
    overflow: visible;
}

.vce-scrolling-modal__overview {
    background: var(--vce-scrolling-modal-light);
    border-radius: 20px 0 0 20px;
    box-shadow: 12px 0 24px rgba(33, 35, 79, 0.28);
    color: #fff;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", sans-serif;
    justify-content: space-between;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    z-index: 3;
}

.vce-scrolling-modal__overview h2 {
    color: #fff;
    font-family: "K2D", sans-serif;
    font-size: clamp(1.333rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1;
    margin: 0 0 1.4rem;
}

.vce-scrolling-modal__eyebrow {
    color: var(--vce-modal-accent, #ffc368);
    font-family: "Open Sans", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 0.18rem;
    text-transform: uppercase;
}

/* Reusable Bunny Stream video modal */
.vce-video-modal .modal-content {
    background: transparent;
    overflow: visible;
}

.vce-video-modal__body {
    background: var(--vce-modal-dark, #5a5fab);
    border-radius: 20px;
    color: #fff;
    padding: clamp(1.2rem, 2.4vw, 2rem);
}

.vce-video-modal__header {
    margin-bottom: 1.1rem;
}

.vce-video-modal__eyebrow {
    color: var(--vce-modal-accent, #ffc368);
    font-family: "Open Sans", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 0.18rem;
}

.vce-video-modal__header h2 {
    color: #fff;
    font-family: "K2D", sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
}

.vce-standard-tab-modal--key-knowledge .vce-standard-tab-modal__copy {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.vce-standard-tab-modal__full .vce-standard-tab-modal__key-skill {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-family: "Open Sans", sans-serif;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0.85rem 0 0;
    padding-top: 0.75rem;
}

.vce-standard-tab-modal__full .vce-standard-tab-modal__key-skill strong {
    color: #fff;
}

.vce-standard-tab-modal--key-knowledge .vce-standard-tab-modal__image {
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    height: 566px;
    margin-inline: auto;
    width: 566px;
}

.vce-standard-tab-modal--key-knowledge .vce-standard-tab-modal__example {
    padding: 1rem;
}

.vce-standard-tab-modal__learn-more-wrap {
    margin-top: auto;
    padding-top: 2.7rem;
}

.vce-standard-tab-modal__learn-more {
    background: #ffc368;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(31, 32, 63, 0.2);
    color: #30303b;
    font-family: "Open Sans", sans-serif;
    padding: 1rem 1.1rem;
    position: relative;
}

.vce-standard-tab-modal__learn-more-joe {
    align-items: center;
    background: #ffc368;
    border-radius: 50%;
    display: flex;
    height: 82px;
    justify-content: center;
    position: absolute;
    right: 1rem;
    top: -2.7rem;
    width: 82px;
}

.vce-standard-tab-modal__learn-more-joe img {
    display: block;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    width: 62px;
}

.vce-standard-tab-modal__learn-more h4 {
    color: #30303b;
    font-family: "K2D", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    margin: 0 0 0.25rem;
    padding-right: 4.8rem;
}

.vce-standard-tab-modal__learn-more p {
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 760px) {
    .vce-standard-tab-modal--key-knowledge .vce-standard-tab-modal__copy {
        min-height: 0;
    }

    .vce-standard-tab-modal--key-knowledge .vce-standard-tab-modal__image {
        height: auto;
        width: 100%;
    }

    .vce-standard-tab-modal__learn-more-wrap {
        margin-top: 1rem;
        padding-top: 2.2rem;
    }

    .vce-standard-tab-modal__learn-more-joe {
        height: 66px;
        right: 0.75rem;
        top: -2.1rem;
        width: 66px;
    }

    .vce-standard-tab-modal__learn-more-joe img {
        max-height: 54px;
        width: 52px;
    }
}

.vce-video-modal__description {
    font-family: "Open Sans", sans-serif;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0.65rem 0 0;
}

.vce-video-modal__player {
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(20, 22, 52, 0.28);
    overflow: hidden;
    position: relative;
}

.vce-video-modal__preview,
.vce-video-modal__frame {
    border: 0;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.vce-video-modal__preview {
    background: #111;
    color: #fff;
    cursor: pointer;
    padding: 0;
}

.vce-video-modal__preview > img {
    height: 100%;
    object-fit: cover;
    transition: filter 180ms ease, transform 220ms ease;
    width: 100%;
}

.vce-video-modal__preview::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.36));
    content: "";
    inset: 0;
    position: absolute;
}

.vce-video-modal__preview:hover > img,
.vce-video-modal__preview:focus-visible > img {
    filter: brightness(0.88);
    transform: scale(1.015);
}

.vce-video-modal__play-icon {
    align-items: center;
    background: var(--vce-modal-accent, #ffc368);
    border: 3px solid #fff;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    color: #fff;
    display: flex;
    font-size: 2.5rem;
    height: 78px;
    justify-content: center;
    left: 50%;
    padding-left: 0.18rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 180ms ease;
    width: 78px;
    z-index: 2;
}

.vce-video-modal__preview:hover .vce-video-modal__play-icon,
.vce-video-modal__preview:focus-visible .vce-video-modal__play-icon {
    transform: translate(-50%, -50%) scale(1.08);
}

.vce-video-modal__play-label {
    bottom: 1rem;
    font-family: "Open Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 2;
}

.vce-video-modal__frame[hidden] {
    display: none;
}

/* Reusable worked-example modal: image and text-only variants */
.vce-worked-example-modal .modal-dialog {
    max-width: 800px;
    width: calc(100% - 2rem);
}

.vce-worked-example-modal .modal-content {
    background: transparent;
    overflow: visible;
}

.vce-worked-example-modal__body {
    background: var(--vce-modal-dark, #5a5fab);
    border-radius: 18px;
    color: #fff;
    max-height: 88vh;
    overflow-y: auto;
    padding: 0.75rem;
}

.vce-worked-example-modal__image {
    margin: 0 0 0.75rem;
    overflow: hidden;
    position: relative;
}

.vce-worked-example-modal__main-image {
    border: 4px solid #fff;
    border-radius: 5px;
    display: block;
    height: auto;
    width: 100%;
}

.vce-worked-example-modal__magnifier {
    border: 3px solid #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.34);
    height: 300px;
    pointer-events: none;
    width: 300px;
}

.vce-worked-example-modal__content {
    background: var(--vce-modal-middle, #7377b8);
    border-radius: 10px;
    padding: clamp(0.9rem, 2vw, 1.2rem);
}

.vce-worked-example-modal__header {
    margin-bottom: 0.75rem;
}

.vce-worked-example-modal__header h2 {
    color: #fff;
    font-family: "K2D", sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 400;
    line-height: 1.05;
    margin: 0;
}

.vce-worked-example-modal__question {
    font-family: "Open Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.45;
    margin: 0.8rem 0 0;
    text-transform: uppercase;
}

.vce-worked-example-modal__answer {
    font-family: "Open Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 2.05;
}

.vce-worked-example-modal__segment {
    display: inline;
}

.vce-worked-example-modal__segment + .vce-worked-example-modal__segment::before {
    content: " ";
}

.vce-worked-example-modal__segment .btn-group {
    display: inline-flex;
    margin: 0 0.18rem;
    vertical-align: middle;
}

.vce-worked-example-modal__segment .dropdown-toggle {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.72rem;
    height: 30px;
    justify-content: center;
    min-width: 30px;
    padding: 0 0.35rem;
}

.vce-worked-example-modal__segment .dropdown-menu {
    color: #35334a;
    line-height: 1.45;
    min-width: min(320px, 72vw);
    white-space: normal;
}

.vce-worked-example-modal__hint-title,
.vce-worked-example-modal__hint-copy {
    display: block;
}

.vce-worked-example-modal__hint-copy {
    margin-top: 0.35rem;
}

.vce-worked-example-modal__steps {
    background: var(--vce-modal-accent, #ffc368);
    border-radius: 10px;
    margin-top: 0.75rem;
    overflow: hidden;
}

.vce-worked-example-modal__steps .accordion-item {
    background: var(--vce-modal-accent, #ffc368) !important;
    border-color: rgba(75, 55, 20, 0.16);
}

.vce-worked-example-modal__steps .accordion-button,
.vce-worked-example-modal__steps .accordion-button.collapsed,
.vce-worked-example-modal__steps .accordion-button:not(.collapsed) {
    background: var(--vce-modal-accent, #ffc368) !important;
    box-shadow: none;
    color: #4b3b20 !important;
    font-family: "Open Sans", sans-serif;
    font-size: 0.82rem;
    padding: 0.9rem 1rem;
}

.vce-worked-example-modal__steps .accordion-button::after {
    filter: brightness(0) invert(1);
    opacity: 0.65;
}

.vce-worked-example-modal__steps .accordion-collapse {
    background: var(--vce-modal-accent, #ffc368) !important;
}

.vce-worked-example-modal__steps .accordion-body {
    background: #dfa958 !important;
    background: color-mix(in srgb, var(--vce-modal-accent, #ffc368) 84%, #000) !important;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 0.82rem;
    line-height: 1.55;
}

@media (max-width: 560px) {
    .vce-worked-example-modal .modal-dialog {
        width: calc(100% - 1rem);
    }

    .vce-worked-example-modal__magnifier {
        height: 220px;
        width: 220px;
    }
}

.vce-scrolling-modal__description,
.vce-scrolling-modal__note p {
    font-family: "Open Sans", sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.65;
    margin: 0;
}

.vce-scrolling-modal__note {
    background: var(--vce-scrolling-modal-dark);
    border-radius: 16px;
    margin-top: 1.5rem;
    padding: 1.1rem 1.2rem;
    position: relative;
}

.vce-scrolling-modal__note-joe {
    align-items: center;
    background: var(--vce-scrolling-modal-dark);
    border-radius: 50%;
    display: flex;
    height: 82px;
    justify-content: center;
    position: absolute;
    right: 0.9rem;
    top: -2.7rem;
    width: 82px;
}

.vce-scrolling-modal__note-joe img {
    display: block;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    width: 68px;
}

.vce-scrolling-modal__note h3 {
    color: var(--vce-modal-accent, #ffc368);
    font-family: "K2D", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.55rem;
    padding-right: 5.2rem;
}

.vce-scrolling-modal__terms-shell {
    background: var(--vce-scrolling-modal-dark);
    border-radius: 0 20px 20px 0;
    min-height: 0;
    overflow: visible;
    position: relative;
}

.vce-scrolling-modal__terms-shell::before,
.vce-scrolling-modal__terms-shell::after {
    content: "";
    height: 4.5rem;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    transition: opacity 220ms ease;
    z-index: 2;
}

.vce-scrolling-modal__terms-shell::before {
    background: linear-gradient(to bottom, rgba(var(--vce-scrolling-modal-dark-rgb), 0.94), rgba(var(--vce-scrolling-modal-dark-rgb), 0));
    border-radius: 0 20px 0 0;
    top: 0;
}

.vce-scrolling-modal__terms-shell::after {
    background: linear-gradient(to bottom, rgba(var(--vce-scrolling-modal-dark-rgb), 0), rgba(var(--vce-scrolling-modal-dark-rgb), 0.94));
    border-radius: 0 0 20px 0;
    bottom: 0;
}

.vce-scrolling-modal__terms-shell.has-scroll-overflow.is-scrolled-from-top::before {
    opacity: 1;
}

.vce-scrolling-modal__terms-shell.has-scroll-overflow:not(.is-at-scroll-end)::after {
    opacity: 1;
}

.vce-scrolling-modal__terms {
    background: transparent;
    height: 100%;
    margin-right: calc(-1 * var(--vce-scrolling-modal-scrollbar-offset));
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.5rem calc(clamp(1rem, 2.5vw, 2rem) + var(--vce-scrolling-modal-scrollbar-offset)) 4.5rem clamp(1rem, 2.5vw, 2rem);
    scrollbar-color: var(--vce-scrolling-modal-light) transparent;
    scrollbar-width: thin;
    width: calc(100% + var(--vce-scrolling-modal-scrollbar-offset));
}

.vce-scrolling-modal__terms::-webkit-scrollbar {
    width: 9px;
}

.vce-scrolling-modal__terms::-webkit-scrollbar-thumb {
    background: var(--vce-scrolling-modal-light);
    border: 2px solid var(--vce-scrolling-modal-dark);
    border-radius: 999px;
}

.vce-scrolling-modal__cards {
    display: grid;
    gap: 0.9rem;
    grid-template-rows: repeat(var(--vce-scrolling-card-count), minmax(138px, 1fr));
    min-height: 100%;
}

.vce-scrolling-modal__card {
    align-items: center;
    background: var(--vce-scrolling-modal-light);
    border-radius: 18px;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    display: grid;
    gap: 1.15rem;
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 138px;
    padding: 1.2rem 1.35rem;
    transition: box-shadow 0.3s ease-in-out;
}

.vce-scrolling-modal__card:hover {
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .375);
}

.vce-scrolling-modal__card--with-details {
    align-items: start;
}

.vce-scrolling-modal__card-content {
    min-width: 0;
}

.vce-scrolling-modal__card-image {
    background: #fff;
    border-radius: 14px;
    margin: 1rem 0 0;
    overflow: hidden;
    width: min(100%, 582px);
}

.vce-scrolling-modal__card-image img {
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.vce-scrolling-modal__card-example {
    background: rgba(var(--vce-scrolling-modal-dark-rgb), 0.34);
    border-radius: 14px;
    margin-top: 1rem;
    padding: 1rem 1.1rem;
}

.vce-scrolling-modal__card-example h4 {
    color: var(--vce-modal-accent, #ffc368);
    font-family: "Open Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.45rem;
}

.vce-scrolling-modal__card-icon {
    align-items: center;
    aspect-ratio: 1;
    background: transparent;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    width: 76px;
}

.vce-scrolling-modal__card-icon img {
    filter: brightness(0) invert(1);
    height: 46px;
    object-fit: contain;
    width: 46px;
}

.vce-scrolling-modal__card h3 {
    color: #fff;
    font-family: "K2D", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}

.vce-scrolling-modal__card .vce-scrolling-modal__card-subheading {
    color: var(--vce-modal-accent, #ffc368);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.55rem;
}

.vce-scrolling-modal__key-question,
.vce-scrolling-modal__example-callout {
    background: var(--vce-scrolling-modal-dark);
    border-radius: 12px;
    margin-top: 0.9rem;
    padding: 0.8rem 0.9rem;
}

.vce-scrolling-modal__key-question h4,
.vce-scrolling-modal__example-callout h4 {
    color: var(--vce-modal-accent, #ffc368);
    font-family: "K2D", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
}

.vce-scrolling-modal__card p {
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.55;
    margin: 0;
}

.vce-scrolling-modal__card-paragraphs {
    display: grid;
    gap: 0.7rem;
}

@media (max-width: 760px) {
    .vce-scrolling-modal {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        height: min(84vh, 760px);
        min-height: 0;
    }

    .vce-scrolling-modal__overview {
        border-radius: 20px 20px 0 0;
        gap: 1rem;
        padding: 1.25rem;
    }

    .vce-scrolling-modal__overview h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .vce-scrolling-modal__description {
        line-height: 1.45;
    }

    .vce-scrolling-modal__note {
        margin-top: 2rem;
        padding: 0.85rem 1rem;
    }

    .vce-scrolling-modal__note-joe {
        height: 66px;
        right: 0.75rem;
        top: -2.1rem;
        width: 66px;
    }

    .vce-scrolling-modal__note-joe img {
        max-height: 56px;
        width: 54px;
    }

    .vce-scrolling-modal__note h3 {
        padding-right: 4.25rem;
    }

    .vce-scrolling-modal__terms {
        padding: 1rem calc(0.8rem + var(--vce-scrolling-modal-scrollbar-offset)) 3.75rem 0.8rem;
    }

    .vce-scrolling-modal__terms-shell {
        border-radius: 0 0 20px 20px;
    }

    .vce-scrolling-modal__terms-shell::before {
        border-radius: 0;
    }

    .vce-scrolling-modal__terms-shell::after {
        border-radius: 0 0 20px 20px;
    }

    .vce-scrolling-modal__card {
        gap: 0.85rem;
        grid-template-columns: 58px minmax(0, 1fr);
        min-height: 0;
        padding: 1rem;
    }

    .vce-scrolling-modal__card-icon {
        width: 58px;
    }

    .vce-scrolling-modal__card-icon img {
        height: 36px;
        width: 36px;
    }
}

/* Reusable tabbed modal with grouped sub-areas */
.vce-grouped-tab-modal {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.vce-grouped-tab-modal__nav-shell {
    background: #fff;
    overflow-x: auto;
    padding: 0.55rem;
    scrollbar-color: #aaa6b6 transparent;
    scrollbar-width: thin;
}

.vce-grouped-tab-modal__nav {
    display: flex;
    gap: 0.5rem;
    min-width: max(100%, calc(var(--vce-grouped-total-tabs, 1) * 105px));
    width: 100%;
}

.vce-grouped-tab-modal__group {
    border-radius: 12px;
    box-shadow: inset 0 0 8px rgba(43, 37, 61, 0.18);
    display: grid;
    flex-basis: 0;
    flex-grow: var(--vce-grouped-tab-count, 1);
    flex-shrink: 1;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: calc(var(--vce-grouped-tab-count, 1) * 100px);
    overflow: hidden;
    padding: 0.25rem 0.25rem 0;
}

.vce-grouped-tab-modal__group-tabs {
    display: grid;
    grid-template-columns: repeat(var(--vce-grouped-tab-count, 1), minmax(0, 1fr));
    padding: 10px;
}

.vce-grouped-tab-modal__tab {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: #5a5663;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    gap: 0.4rem;
    justify-content: center;
    line-height: 1.15;
    min-height: 92px;
    padding: 0.45rem 0.2rem;
    text-align: center;
    transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.vce-grouped-tab-modal__tab img {
    filter: brightness(0) saturate(100%) opacity(0.55);
    height: 34px;
    object-fit: contain;
    transition: filter 180ms ease, transform 180ms ease;
    width: 34px;
}

.vce-grouped-tab-modal__intro-tab {
    align-self: stretch;
    flex: 1 1 0;
    min-width: 100px;
}

.vce-grouped-tab-modal__tab:hover,
.vce-grouped-tab-modal__tab:focus-visible {
    background: #eee;
    color: #3e3a49;
    outline: none;
}

.vce-grouped-tab-modal__tab.active {
    background: #eee;
    box-shadow: none;
    color: #3e3a49;
}

.vce-grouped-tab-modal__tab:hover img,
.vce-grouped-tab-modal__tab:focus-visible img,
.vce-grouped-tab-modal__tab.active img {
    filter: brightness(0) saturate(100%) invert(36%) sepia(18%) saturate(1740%) hue-rotate(198deg) brightness(91%) contrast(88%);
    transform: translateY(-1px);
}

.vce-grouped-tab-modal__group h3 {
    background: rgba(var(--vce-modal-dark-rgb, 90, 95, 171), 0.08);
    color: #55515f;
    font-family: "K2D", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 -0.25rem;
    padding: 0.42rem 0.6rem;
    text-align: center;
}

.vce-grouped-tab-modal__content {
    background: var(--vce-modal-dark, #5a5fab);
    border-radius: 0 0 20px 20px;
    color: #fff;
    min-height: 460px;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.vce-grouped-tab-modal__pane {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    min-height: 410px;
}

.vce-grouped-tab-modal__explanation,
.vce-grouped-tab-modal__image {
    border-radius: 18px;
}

.vce-grouped-tab-modal__explanation {
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    padding: clamp(1.2rem, 2vw, 1.6rem);
}

.vce-grouped-tab-modal__subarea {
    color: var(--vce-modal-accent, #ffc368);
    font-family: "Open Sans", sans-serif;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    margin: 0 !important;
}

.vce-grouped-tab-modal__term-heading {
    display: grid;
    gap: 0.18rem;
    margin-bottom: 0.9rem;
}

.vce-grouped-tab-modal__term-heading h3 {
    font-family: "K2D", sans-serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 500;
    margin: 0;
}

.vce-grouped-tab-modal__explanation > p,
.vce-grouped-tab-modal__worked-example p {
    font-family: "Open Sans", sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.65;
    margin: 0;
}

.vce-grouped-tab-modal__worked-example {
    --vce-worked-example-callout-bg: color-mix(in srgb, var(--vce-modal-dark, #5a5fab) 74%, #fff 26%);
    background: var(--vce-worked-example-callout-bg);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    position: relative;
}

.vce-grouped-tab-modal__worked-example-wrap {
    margin-top: auto;
    padding-top: 2.7rem;
}

.vce-grouped-tab-modal__worked-example-joe {
    align-items: center;
    background: var(--vce-worked-example-callout-bg);
    border-radius: 50%;
    display: flex;
    height: 82px;
    justify-content: center;
    position: absolute;
    right: 0.9rem;
    top: -2.7rem;
    width: 82px;
}

.vce-grouped-tab-modal__worked-example-joe img {
    display: block;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    width: 68px;
}

.vce-grouped-tab-modal__worked-example h4 {
    color: var(--vce-modal-accent, #ffc368);
    font-family: "K2D", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin: 0 0 0.45rem;
    padding-right: 5.2rem;
}

.vce-visual-example-link {
    align-items: center;
    background: var(--vce-modal-accent, #ffc368);
    border: 0;
    border-radius: 999px;
    color: color-mix(in srgb, var(--vce-modal-dark, #5a5fab) 72%, #503a18 28%);
    display: grid;
    font-family: "Open Sans", sans-serif;
    font-size: 0.78rem;
    gap: 0.5rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    line-height: 1.25;
    margin-top: 0.65rem;
    min-height: 34px;
    padding: 0.2rem 0.25rem 0.2rem 0.45rem;
    text-decoration: none;
    transition: filter 160ms ease, transform 160ms ease;
    width: 100%;
}

.vce-visual-example-link:hover {
    color: color-mix(in srgb, var(--vce-modal-dark, #5a5fab) 72%, #503a18 28%);
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.vce-visual-example-link:focus-visible {
    color: color-mix(in srgb, var(--vce-modal-dark, #5a5fab) 72%, #503a18 28%);
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.vce-visual-example-link__icon {
    display: block;
    height: 22px;
    object-fit: contain;
    transform-origin: center;
    width: 22px;
}

.vce-visual-example-link:hover .vce-visual-example-link__icon {
    animation: vce-visual-example-link-icon-hover 700ms ease-in-out infinite;
}

.vce-visual-example-link__text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.vce-visual-example-link__button {
    background: color-mix(in srgb, var(--vce-modal-accent, #ffc368) 78%, var(--vce-modal-dark, #5a5fab) 22%);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    min-width: 66px;
    padding: 0.28rem 0.75rem;
    text-align: center;
}

@keyframes vce-visual-example-link-icon-hover {
    0%, 100% { transform: rotate(0deg) scale(1); }
    35% { transform: rotate(-12deg) scale(1.08); }
    70% { transform: rotate(12deg) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .vce-visual-example-link:hover .vce-visual-example-link__icon {
        animation: none;
    }
}

.vce-grouped-tab-modal__image {
    align-self: start;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.94);
    justify-self: center;
    margin: 0;
    max-width: calc(582px + 1.5rem);
    overflow: hidden;
    padding: 0.75rem;
    width: 100%;
}

/* Short, compositor-friendly entrances; active-pane selectors replay on tab changes.
   Backwards fill covers the tiny stagger without retaining transformed layers. */
@media (prefers-reduced-motion: no-preference) {
    :is(.vce-standard-tab-modal__pane.active, .vce-grouped-tab-modal__content > .tab-pane.active) :is(
        .vce-grouped-tab-modal__term-heading,
        .vce-grouped-tab-modal__explanation > p,
        .vce-standard-tab-modal__full,
        .vce-standard-tab-modal__copy > h3,
        .vce-standard-tab-modal__description,
        .vce-tab-introduction
    ) {
        animation: vce-tab-enter-down 360ms ease-out backwards;
    }

    :is(.vce-standard-tab-modal__pane.active, .vce-grouped-tab-modal__content > .tab-pane.active) :is(
        .vce-grouped-tab-modal__worked-example-wrap,
        .vce-standard-tab-modal__learn-more-wrap
    ) {
        animation: vce-tab-enter-up 390ms ease-out 52.5ms backwards;
    }

    :is(.vce-standard-tab-modal__pane.active, .vce-grouped-tab-modal__content > .tab-pane.active) .vce-visual-example-link {
        animation: vce-tab-enter-fade 390ms ease-out 105ms backwards;
    }

    :is(.vce-standard-tab-modal__pane.active, .vce-grouped-tab-modal__content > .tab-pane.active) :is(
        .vce-grouped-tab-modal__image,
        .vce-standard-tab-modal__example
    ) {
        animation: vce-tab-enter-right 420ms ease-out 30ms backwards;
    }
}

@keyframes vce-tab-enter-down {
    from { opacity: 0; transform: translateY(-7.5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes vce-tab-enter-up {
    from { opacity: 0; transform: translateY(7.5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes vce-tab-enter-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes vce-tab-enter-right {
    from { opacity: 0; transform: translateX(9px); }
    to { opacity: 1; transform: translateX(0); }
}

.vce-modal-image-loading {
    position: relative;
    min-height: 260px;
}

.vce-modal-image-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #fff url("images/logo-anim.svg") center / 40px 40px no-repeat;
    pointer-events: none;
}

.vce-modal-image-loading > img {
    opacity: 0;
}

.vce-grouped-tab-modal__image img {
    background: #fff;
    border-radius: 12px;
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

@media (max-width: 760px) {
    .vce-grouped-tab-modal__tab {
        min-height: 82px;
    }

    .vce-grouped-tab-modal__pane {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .vce-grouped-tab-modal__image {
        min-height: 260px;
    }

    .vce-grouped-tab-modal__worked-example-wrap {
        padding-top: 2.2rem;
    }

    .vce-grouped-tab-modal__worked-example-joe {
        height: 66px;
        right: 0.75rem;
        top: -2.1rem;
        width: 66px;
    }

    .vce-grouped-tab-modal__worked-example-joe img {
        max-height: 56px;
        width: 54px;
    }

    .vce-grouped-tab-modal__worked-example h4 {
        padding-right: 4.25rem;
    }

    .vce-visual-example-link {
        border-radius: 16px;
        grid-template-columns: auto minmax(0, 1fr);
        padding: 0.45rem 0.5rem;
    }

    .vce-visual-example-link__button {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
}

/* Reusable quiz modal */
.vce-quiz-modal .modal-dialog {
    max-width: 800px;
    width: calc(100% - 2rem);
}

.vce-quiz-modal .modal-content {
    background: transparent;
    overflow: visible;
}

.vce-quiz-modal__body {
    background: var(--vce-modal-dark, #5a5fab);
    border-radius: 18px;
    color: #fff;
    max-height: 88vh;
    overflow-y: auto;
    padding: 0.75rem;
}

.vce-quiz-modal__image {
    margin: 0 0 1.25rem;
    overflow: hidden;
    position: relative;
}

.vce-quiz-modal__image > img {
    border: 4px solid #fff;
    border-radius: 5px;
    display: block;
    height: auto;
    width: 100%;
}

.vce-quiz-modal__magnifier {
    border: 3px solid #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.34);
    height: 300px;
    pointer-events: none;
    width: 300px;
}

.vce-quiz-modal__form {
    display: grid;
    gap: 1rem;
}

.vce-quiz-modal__question {
    color: #fff;
    display: grid;
    font-family: "K2D", sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 400;
    gap: 0.6rem;
    line-height: 1.1;
}

.vce-quiz-modal__marks {
    background: #fff;
    border-radius: 999px;
    color: #292734;
    font-family: "K2D", sans-serif;
    font-size: 1.2rem;
    padding: 0.35rem 1rem;
    width: max-content;
}

.vce-quiz-modal textarea {
    border: 0;
    border-radius: 20px;
    color: #302e38;
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    min-height: 130px;
    padding: 1rem;
    resize: vertical;
    width: 100%;
}

.vce-quiz-modal textarea:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.24);
    outline: none;
}

.vce-quiz-modal__form > button {
    background: var(--vce-modal-accent, #ffc368);
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
    width: 100%;
}

.vce-quiz-modal__form > button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.vce-quiz-modal__feedback-host:not(:empty) {
    margin-top: 0.75rem;
}

.vce-quiz-modal__thinking,
.vce-quiz-modal__error,
.vce-quiz-modal__feedback {
    background: var(--vce-modal-middle, #7377b8);
    border-radius: 18px;
    padding: 1rem;
}

.vce-quiz-modal__thinking {
    text-align: center;
}

.vce-quiz-modal__thinking p {
    margin: 0.4rem 0 0;
}

.vce-quiz-modal__score {
    background: var(--vce-modal-dark, #5a5fab);
    border-radius: 18px;
    font-family: "K2D", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    padding: 0.75rem 1rem;
    text-align: center;
}

.vce-quiz-modal__feedback h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0.85rem 0;
    text-align: center;
    text-transform: uppercase;
}

.vce-quiz-modal__criterion {
    background: var(--vce-modal-dark, #5a5fab);
    border-radius: 16px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.78rem;
    padding: 0.7rem 0.85rem;
}

.vce-quiz-modal__criterion + .vce-quiz-modal__criterion {
    margin-top: 0.55rem;
}

.vce-quiz-modal__criterion p {
    margin: 0.25rem 0 0;
}

@media (max-width: 560px) {
    .vce-quiz-modal .modal-dialog {
        width: calc(100% - 1rem);
    }

    .vce-quiz-modal__magnifier {
        height: 220px;
        width: 220px;
    }
}



