/* =====================================================
   NONAKRIS SINGLE IMAGE PAGE
===================================================== */

.nonakris-single {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px;
}

.nonakris-title {
    text-align: center;
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 28px;
}

.nonakris-hero {
    text-align: center;
    margin-bottom: 18px;
}

.nonakris-main-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 14px;
    display: block;
    cursor: zoom-in;
    transition: opacity .2s ease;
}

.nonakris-image-trigger {
    display: inline-block;
}

.nonakris-image-trigger:hover .nonakris-main-image {
    opacity: .96;
}

.nonakris-chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    max-width: 1000px;
    margin: 0 auto 28px;
}

.nonakris-chip {
    background: #2f2f2f;
    color: #fff;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
}

.nonakris-chip:visited {
    color: #FFFFFF;
}

.nonakris-chip:hover,
.nonakris-chip:visited:hover {
    color: #D4B36A;
}

.nonakris-chip:focus,
.nonakris-chip:active {
    color: #FFFFFF;
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.nonakris-collection-chip {
    background: #6B7280;
    color: #fff;
    font-weight: 600;
    border: 2px solid #8C4A24;
}

.nonakris-description {
    max-width: 760px;
    margin: 24px auto 60px;
    text-align: center;
    font-size: 18px;
    line-height: 1.7;
}

.nonakris-description-title {
    color: #444;
    font-weight: 600;
    margin: 0 0 2px;
    text-align: center;
}

.nonakris-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto 44px;
}

/* ---------- LEFT COLUMN ---------- */

.nonakris-info-card {
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 14px;
    padding: 22px;
    background: #F3F2EF;

    box-shadow:
        0 10px 22px rgba(30,45,65,.08),
        inset 0 1px 0 rgba(255,255,255,.55);
}

.nonakris-info-card h2 {
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,.12);
}

.nonakris-info-list {
    margin: 0;
}

.nonakris-info-list > div {
    display: grid;
    grid-template-columns: 154px auto;
    align-items: center;
    gap: 18px;
    padding: 14px 34px;
    border-bottom: 1px solid rgba(0,0,0,.10);
}

.nonakris-info-list > div:last-child {
    border-bottom: none;
}

.nonakris-info-list dt {
    font-size: 17px;
    font-weight: 700;
    color: #181C22;
}

.nonakris-info-list dd {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 4px;
    background: #2f2f2f;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.nonakris-info-list dd a {
    color: #fff;
    text-decoration: none;
}

.nonakris-info-list dd a:hover {
    color: #BE9245;
}

/* ---------- RIGHT COLUMN ---------- */

.nonakris-right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100%;
    padding-top: 0;
}

.nonakris-download-button {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;

    width: 300px;
    min-height: 86px;
    padding: 18px 22px 18px 18px;
    margin-top: 10px;

    border-radius: 14px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.16) 0%,
            rgba(255,255,255,.05) 18%,
            rgba(255,255,255,.02) 45%,
            rgba(0,0,0,.18) 100%
        ),
        #D4B36A;
    color: #fff;
    text-decoration: none;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        inset 0 -10px 16px rgba(0,0,0,.24),
        0 10px 22px rgba(0,0,0,.20);

    transition:
        background .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}

.nonakris-download-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 8px 0 12px rgba(255,255,255,.04),
        inset -8px 0 14px rgba(0,0,0,.18);
    pointer-events: none;
}

.nonakris-download-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.20), rgba(255,255,255,.08) 55%, rgba(0,0,0,.10) 100%);
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        0 2px 5px rgba(0,0,0,.18);
}

.nonakris-download-icon::before {
    content: "";
    position: absolute;
    inset: 6px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v10'/%3E%3Cpath d='m7.5 11.5 4.5 4.5 4.5-4.5'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v10'/%3E%3Cpath d='m7.5 11.5 4.5 4.5 4.5-4.5'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E") center/contain no-repeat;
}

.nonakris-download-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    margin-left: 12px;
}

.nonakris-download-main {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.nonakris-download-sub {
    margin-top: 7px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,.72);
    line-height: 1;
}

.nonakris-download-button:hover {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.18) 0%,
            rgba(255,255,255,.06) 18%,
            rgba(255,255,255,.02) 45%,
            rgba(0,0,0,.18) 100%
        ),
        #8C4A24;

    transform: translateY(-2px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.28),
        inset 0 -10px 16px rgba(0,0,0,.20),
        0 14px 28px rgba(0,0,0,.28);
}

.nonakris-download-button:hover .nonakris-download-icon {
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), rgba(255,255,255,.12) 55%, rgba(0,0,0,.08) 100%);
}

.nonakris-ad-placeholder {
    width: 300px;
    height: 250px;
    box-sizing: border-box;

    border: 1px solid rgba(0,0,0,.10);
    border-radius: 16px;
    background: #F3F2EF;
    box-shadow:
        0 10px 22px rgba(30,45,65,.08),
        inset 0 1px 0 rgba(255,255,255,.55);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.nonakris-ad-icon {
    width: 28px;
    height: 22px;
    margin-bottom: 18px;
    border: 1px solid rgba(125,142,165,.48);
    border-radius: 4px;
    position: relative;
}

.nonakris-ad-icon::before {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    top: 6px;
    height: 1px;
    background: rgba(125,142,165,.42);
}

.nonakris-ad-icon::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 10px;
    bottom: 6px;
    height: 1px;
    background: rgba(125,142,165,.34);
}

.nonakris-ad-label {
    font-size: 18px;
    font-weight: 500;
    color: #555555;
    line-height: 1.2;
}

.nonakris-ad-line {
    width: 74px;
    height: 1px;
    margin: 17px 0 14px;
    background: rgba(125,142,165,.32);
}

.nonakris-ad-size {
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    letter-spacing: .02em;
}

/* ---------- RELATED IMAGES ---------- */

.nonakris-related {
    width: calc(100vw - 110px);
    max-width: 1320px;
    margin: 20px 50% 0;
    transform: translateX(-50%);
}

.nonakris-related-title {
    text-align: center;
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 24px;
}

.nonakris-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.nonakris-related-card a {
    display: block;
    text-decoration: none;
    color: #111;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.nonakris-related-image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.nonakris-related.is-vertical .nonakris-related-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width:1700px){

    .nonakris-related.is-vertical .nonakris-related-grid{
        grid-template-columns:repeat(5,1fr);
    }

}

.nonakris-related.is-vertical .nonakris-related-image-wrap {
    aspect-ratio: 9 / 16;
}

@media (max-width: 900px) {

    .nonakris-related.is-vertical .nonakris-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .nonakris-related.is-vertical .nonakris-related-grid {
        grid-template-columns: 1fr;
    }

}

.nonakris-related-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.nonakris-related-card a:hover img {
    transform: scale(1.05);
}

.nonakris-related-card-title {
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    background: #fff;
}

/* ---------- MOBILE ---------- */

@media (max-width:768px){

    .nonakris-details-grid{
        width:100%;
        max-width:100%;
        box-sizing:border-box;
        grid-template-columns:1fr;
        justify-items:center;
    }

    .nonakris-info-card{
        width:100%;
        box-sizing:border-box;
    }

    .nonakris-info-list > div{
        grid-template-columns:125px minmax(0,1fr);
        gap:18px;
        padding:14px 18px;
    }

    .nonakris-info-list dd{
        white-space:nowrap;
        justify-self:start;
    }

    .nonakris-right-column{
        width:100%;
        margin-top:24px;
        gap:24px;
        padding-top:0;
        align-items:center;
    }

    .nonakris-download-button,
    .nonakris-ad-placeholder{
        width:100%;
        max-width:300px;
        margin-left:auto;
        margin-right:auto;
    }

    .nonakris-title{
        font-size:32px;
    }

    .nonakris-related-grid{
        grid-template-columns:1fr;
        gap:22px;
    }

    .nonakris-related-title{
        font-size:26px;
    }

}

/* ---------- LIGHTBOX ---------- */

.nonakris-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: #000;
    z-index: 99999;
    padding: 20px;
}

.nonakris-lightbox.active {
    display: flex;
}

.nonakris-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

.nonakris-lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;

    width: 52px;
    height: 52px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,.12);

    color: #fff;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
        
    overflow: hidden;
    color: transparent; 

}

.nonakris-lightbox-close svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    stroke-width: 2.4;
    stroke-linecap: round;
    fill: none;
}

.nonakris-lightbox-close:hover {
    background: rgba(255,255,255,.22);
    transform: scale(1.06);
}

/* -------------------------------------------------------
   Image Statistics
------------------------------------------------------- */

.nonakris-image-stats {
    margin-top: 0px;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color: #6F6458;
}

.nonakris-image-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}

.nonakris-image-stat-number {
    font-size: 17px;
    font-weight: 700;
    color: #B8893A;
}

.nonakris-image-stat-label {
    font-weight: 500;
    color: #4B4238;
}

.nonakris-image-stat-icon {
    width: 17px;
    height: 17px;
    position: relative;
    top: 3px;

    stroke: #B8893A;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nonakris-image-stat + .nonakris-image-stat {
    margin-left: 18px;
}