/* Slider and homepage buttons adapted from the user's supplied snippets. */
.scoala-slider { position: relative; width: 100%; overflow: hidden; background: #062c58; }
.scoala-track { display: flex; width: 100%; aspect-ratio: 1920 / 545; max-height: 550px; transition: transform .8s ease; }
.scoala-track img { display: block; flex: 0 0 100%; width: 100%; min-width: 0; height: 100%; object-fit: contain; }
.scoala-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 50%; width: 45px; height: 45px; font-size: 26px; cursor: pointer; z-index: 2; }
.scoala-prev { left: 20px; }
.scoala-next { right: 20px; }
.scoala-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; gap: 4px; }
.scoala-dot { width: 36px; height: 36px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.scoala-dot::after { content: ''; display: block; width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; background: #ffffff99; }
.scoala-dot.active::after { background: #0a91bd; }
.scoala-pause { position: absolute; right: 12px; bottom: 12px; min-height: 36px; border: 1px solid #fff; border-radius: 3px; padding: 5px 10px; background: #062c58e6; color: #fff; cursor: pointer; font: inherit; font-size: .875rem; }
.scoala-slider button:focus-visible, .btn-management:focus-visible, .darabani-home-tile:focus-visible { outline: 3px solid #005284; outline-offset: 4px; }
.scoala-slider button:focus-visible { outline-color: #fff; outline-offset: -4px; }
.jm-module-grid > .jm-module-column { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.jm-module-column > .moduletable { min-width: 0; padding: 24px; margin: 0; }
.jm-top2 .jm-module-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.jm-top2 .jm-module-column > .darabani-home-round { flex: 1; }
.jm-top2 .moduletable.darabani-home-round, .jm-top2 .moduletable.darabani-home-color { padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; }
.darabani-home-links { display: grid; gap: 24px; }
.darabani-home-links .btn-management { --culoare: #00bcd5; display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 86px; color: var(--culoare); text-decoration: none !important; font-family: Arial,sans-serif; font-size: 16px; font-weight: 700; line-height: 1.4; }
.btn-management .cerc { width: 78px; height: 78px; flex: 0 0 78px; border: 2px solid var(--culoare); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .3s,background .3s; }
.btn-management .btn-management-copy { min-width: 0; overflow-wrap: break-word; }
.btn-management .migration-feature-icon { display: block; float: none; margin: 0; width: auto; font-size: 32px; line-height: 1; color: inherit; }
.btn-management svg.migration-feature-icon { width: 45px; height: 45px; fill: none; stroke: var(--culoare); stroke-width: 5; stroke-linecap: round; }
.btn-management:hover .cerc { background: var(--culoare); transform: translateY(-3px); color: #fff; }
.btn-management:hover svg { stroke: #fff; }
.darabani-home-tile { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 108px; padding: 20px; box-sizing: border-box; color: #fff !important; background: var(--tile-color,#63bd00); font-family: Arial,sans-serif; font-size: 18px; font-weight: 700; text-align: center; text-decoration: underline; border-radius: 2px; transition: transform .25s,box-shadow .25s,background .25s; }
.darabani-home-tile:hover { color: #fff !important; background: var(--tile-hover,#52a000); transform: translateY(-5px); box-shadow: 0 10px 22px #0003; }
.migration-local-video { width: min(1170px,100%); margin-inline: auto; }
.migration-local-video video { display: block; width: 100%; max-height: 550px; background: #062c58; }
.migration-gallery-section { margin-bottom: 40px; }
.migration-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; text-align: center; }
.migration-calendar-grid span { padding: 3px; }
.migration-calendar-grid .today { background: #0091ea; color: #fff; border-radius: 50%; }
@media (max-width: 1100px) { .jm-top2 .jm-module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 768px) {
 .scoala-slider { padding-bottom: 48px; }
 .scoala-arrow { width: 44px; height: 44px; font-size: 20px; }
 .scoala-arrow { top: calc(50% - 24px); }
 .scoala-prev { left: 8px; }
 .scoala-next { right: 8px; }
 .scoala-dots { left: 12px; transform: none; bottom: 4px; }
 .scoala-pause { bottom: 7px; }
}
@media (max-width: 600px) {
 .jm-top2 .jm-module-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .darabani-home-links { gap: 16px; }
 .btn-management .cerc { width: 84px; height: 84px; flex-basis: 84px; }
}
@media (prefers-reduced-motion: reduce) {
 .scoala-track, .btn-management .cerc, .darabani-home-tile { transition: none; }
}
