/* ============================================================
   Versions page: modern refresh consistent with the rest of the
   site (Download release notes, Shop, Reviews, guides).
   Scoped to .versionsv2 so it never affects other pages.
   ============================================================ */

.versionsv2 {
    background: #fff;
    padding: 10px 0 50px;
}

.versionsv2 .container {
    max-width: 1000px;
}

/* ---- Intro lead under the breadcrumb ---- */
.versionsv2-lead {
    max-width: 1000px;
    margin: 6px auto 22px;
    background: linear-gradient(135deg, #f4faf3, #eef6ec);
    border: 1px solid #e1ebde;
    border-left: 4px solid #3aa635;
    border-radius: 12px;
    padding: 18px 22px;
    color: #3a4734;
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
}

/* ---- Centered section title with green underline accent ---- */
.versionsv2 .section-title {
    text-align: center;
    margin: 30px auto 26px;
}

.versionsv2 .section-title h2 {
    display: inline-block;
    position: relative;
    color: #26331e;
    font-weight: 400;
    padding-bottom: 12px;
    margin: 0;
}

.versionsv2 .section-title h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 164px;
    height: 4px;
    border-radius: 3px;
    background: linear-gradient(90deg, #45b53f, #1f7a1c);
}

/* ============================================================
   All releases wrapped in one clean white card
   ============================================================ */
.versionsv2 .span12 {
    background: #ffffff;
    border: 1px solid #e8ece6;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
    padding: 10px 28px 24px;
}

/* Version heading rows (the divs that wrap "vX.X.X - [date]") */
.versionsv2 .span12 > div[style*="margin-top: 10px"],
.versionsv2 .span12 > div[style*="margin-top:10px"] {
    margin: 26px 0 4px !important;
    padding: 12px 16px !important;
    /*background: linear-gradient(135deg, #f4faf3, #eef6ec);
    border: 1px solid #e1ebde;
    border-left: 4px solid #3aa635;
    border-radius: 10px;*/
    display: flex;
    align-items: center;
    gap: 12px;
}

.versionsv2 .span12 > div[style*="margin-top: 10px"]:first-of-type,
.versionsv2 .span12 > div[style*="margin-top:10px"]:first-of-type {
    margin-top: 8px !important;
}

.versionsv2 .span12 span[style*="font-size: 18px"] {
    font-size: 18px !important;
    font-weight: 600;
    color: #26331e;
}

.versionsv2 .span12 span[style*="font-size: 18px"] img,
.versionsv2 .span12 div img[alt="New"] {
    margin: 0 !important;
}

/* ============================================================
   Modern animated "New" pill badge next to the latest version
   ============================================================ */
.versionsv2 .new-badge {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding: 4px 13px 4px 26px;
    border-radius: 6px;
    background: linear-gradient(135deg, #5ad34f, #1f7a1c);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(31,122,28,.30);
    overflow: hidden;
}

/* Sparkle icon on the left */
.versionsv2 .new-badge:before {
    content: "\2728";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    line-height: 1;
}

/* Shine sweep across the badge */
.versionsv2 .new-badge:after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-20deg);
    animation: fs-new-shine 2.6s ease-in-out infinite;
}

/* ============================================================
   Diagonal "New" corner ribbon for the latest-version card
   ============================================================ */
.versionsv2 .has-new-ribbon {
    position: relative;
    overflow: hidden;
}

.versionsv2 .corner-ribbon {
    position: absolute;
    top: -5px;
    left: -68px;
    width: 160px;
    padding: 10px 0;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, #5ad34f, #1f7a1c);
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(31,122,28,.35);
    overflow: hidden;
    z-index: 3;
}

/* Nudge just the word without moving the band off the corner */
.versionsv2 .corner-ribbon-text {
    display: inline-block;
    position: relative;
    top: 8px;
    font-size: 15px;
}

/* Shine sweep across the ribbon (matches .new-badge) */
.versionsv2 .corner-ribbon:after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-20deg);
    animation: fs-new-shine 2.6s ease-in-out infinite;
}

@keyframes fs-new-shine {
    0%   { left: -60%; }
    55%  { left: 130%; }
    100% { left: 130%; }
}

/* ============================================================
   Change lists -> circular green badges with white markers
   ============================================================ */
.versionsv2 .icons-ul {
    margin-top: 16px !important;
    margin-bottom: 4px;
}

.versionsv2 .icons-ul li {
    position: relative;
    color: #41493b;
    line-height: 1.55;
    margin-bottom: 12px;
}

.versionsv2 .icons-ul li i.icon-li.icon-check,
.versionsv2 .icons-ul li i.icon-li.icon-minus {
    position: absolute;
    top: 1px;
    left: -2.142857142857143em;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #45b53f, #1f7a1c);
    box-shadow: 0 3px 8px rgba(31,122,28,.28);
    text-align: center;
    line-height: 22px;
    color: #ffffff;
    background-clip: padding-box;
}

.versionsv2 .icons-ul li i.icon-li.icon-check:before {
    content: "\f00c";
    color: #ffffff;
    font-size: 11px;
    line-height: 22px;
}

.versionsv2 .icons-ul li i.icon-li.icon-minus:before {
    content: "\f068";
    color: #ffffff;
    font-size: 10px;
    line-height: 22px;
}

/* Standalone version spans without a wrapping div (older entries) */
.versionsv2 .span12 > span[style*="font-size: 18px"] {
    display: block;
    margin: 26px 0 4px;
    padding: 12px 16px;
    /*background: linear-gradient(135deg, #f4faf3, #eef6ec);
    border: 1px solid #e1ebde;
    border-left: 4px solid #3aa635;
    border-radius: 10px;*/
    font-size: 18px !important;
    font-weight: 600;
    color: #26331e;
}

/* ============================================================
   Responsive tweaks
   ============================================================ */
@media (max-width: 767px) {
    .versionsv2 .span12 {
        padding: 8px 16px 18px;
    }

    .versionsv2 .span12 > div[style*="margin-top: 10px"],
    .versionsv2 .span12 > div[style*="margin-top:10px"] {
        flex-wrap: wrap;
    }
}

