.seroj-story {
    --seroj-accent: #e8c927;
    box-sizing: border-box;
    width: min(100%, 1920px);
    margin: 0 auto;
    padding: 44px 44px 92px;
    overflow: hidden;
    background: #fff;
    color: #161616;
    font-family: inherit;
}

.seroj-story *,
.seroj-story *::before,
.seroj-story *::after {
    box-sizing: border-box;
}

.seroj-story img {
    display: block;
    max-width: 100%;
    height: auto;
}

.seroj-story__hero img,
.seroj-story__gallery img {
    width: 100%;
}

.seroj-story__copy {
    margin-right: 0;
    margin-left: auto;
    text-align: right;
    font-size: clamp(16px, calc(1.05vw + 1px), 21px);
    font-weight: 500;
    line-height: 2.15;
}

.seroj-story__intro {
    width: 76%;
    padding: 112px 0 126px;
}

.seroj-story__copy h1,
.seroj-story__copy h2,
.seroj-story__copy h3,
.seroj-story__copy p {
    margin-top: 0;
}

.seroj-story__copy h1 {
    margin-bottom: 18px;
    font-size: clamp(27px, 2.1vw, 40px);
    font-weight: 800;
    line-height: 1.55;
}

.seroj-story__copy h2 {
    margin-bottom: 16px;
    font-size: clamp(22px, calc(1.45vw + 2px), 30px);
    font-weight: 400 !important;
    line-height: 1.7;
}

.seroj-story__copy h3 {
    margin-bottom: 12px;
    font-size: calc(1em + 2px);
    font-weight: 400 !important;
    text-align: right;
}

.seroj-story__copy p {
    margin-bottom: 20px;
}

.seroj-story__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    max-width: 100%;
    min-height: 44px;
    margin-top: 20px;
    padding: 8px 24px;
    background: #111;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 32%, 97% 50%, 100% 68%, 100% 100%, 0 100%);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.seroj-story__link:hover,
.seroj-story__link:focus {
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    transform: translateX(-3px);
}

.seroj-story__feature img {
    width: 100%;
}

.seroj-story__feature--left {
    width: 60%;
    margin-left: 0;
    margin-right: auto;
}

.seroj-story__signature {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 118px 0 112px;
}

.seroj-story__signature img {
    width: min(100%, 540px);
    height: auto;
}

.seroj-story__feature--right {
    width: 40%;
    margin-right: 0;
    margin-left: auto;
}

.seroj-story__copy--narrow {
    width: 68%;
    padding: 118px 0 120px;
}

.seroj-story__wide-art {
    width: 100%;
}

.seroj-story__wide-art img {
    width: 100%;
}

.seroj-story__gallery {
    padding-top: 22px;
}

.seroj-story__copy--closing {
    width: 78%;
    padding: 112px 0 34px;
}

.seroj-story__copy--closing h2:not(:first-child) {
    margin-top: 52px;
}

.seroj-story__footer {
    width: 78%;
    margin-right: 0;
    margin-left: auto;
    text-align: right;
}

.seroj-story__signature--footer {
    justify-content: flex-start;
    padding: 54px 0 22px;
}

.seroj-story__footer .seroj-story__link {
    margin-top: 12px;
}

.seroj-story__date,
.seroj-story__tagline {
    display: flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin-right: 0;
    margin-left: auto;
    font-size: 16px;
    white-space: nowrap;
}

.seroj-story__date {
    margin-top: 102px;
    margin-bottom: 5px;
}

.seroj-story__tagline {
    margin-top: 0;
    margin-bottom: 0;
    direction: ltr;
    font-family: Arial, sans-serif;
}

@media (max-width: 991px) {
    .seroj-story {
        padding: 24px 20px 64px;
    }

    .seroj-story__intro,
    .seroj-story__copy--narrow,
    .seroj-story__copy--closing,
    .seroj-story__footer {
        width: 88%;
    }

    .seroj-story__intro,
    .seroj-story__copy--narrow,
    .seroj-story__copy--closing {
        padding-top: 72px;
        padding-bottom: 74px;
    }

    .seroj-story__signature {
        padding: 76px 0;
    }

    .seroj-story__feature--left {
        width: 70%;
    }

    .seroj-story__feature--right {
        width: 48%;
    }
}

@media (max-width: 575px) {
    .seroj-story {
        padding: 16px 16px 52px;
    }

    .seroj-story__intro {
        width: 84%;
    }

    .seroj-story__copy--narrow {
        width: 82%;
    }

    .seroj-story__copy--closing {
        width: 88%;
    }

    .seroj-story__footer {
        width: 100%;
    }

    .seroj-story__intro,
    .seroj-story__copy--narrow,
    .seroj-story__copy--closing {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .seroj-story__copy {
        font-size: 17px;
        line-height: 2;
    }

    .seroj-story__copy h1 {
        font-size: 29px;
    }

    .seroj-story__copy h2 {
        font-size: 24px;
    }

    .seroj-story__link {
        font-size: 18px;
    }

    .seroj-story__feature--left {
        width: 100%;
    }

    .seroj-story__feature--right {
        width: 100%;
    }

    .seroj-story__signature {
        padding: 52px 0;
    }

    .seroj-story__wide-art {
        position: relative;
        aspect-ratio: .86;
        overflow: hidden;
    }

    .seroj-story__wide-art img {
        position: absolute;
        top: 0;
        left: 0;
        width: 200%;
        max-width: none;
        height: 100%;
        object-fit: cover;
        object-position: left center;
    }

    .seroj-story__gallery {
        position: relative;
        aspect-ratio: 1.6;
        padding-top: 0;
        overflow: hidden;
    }

    .seroj-story__gallery img {
        position: absolute;
        top: 0;
        right: 0;
        width: 150%;
        max-width: none;
        height: 100%;
        object-fit: cover;
        object-position: right center;
    }

    .seroj-story__signature--footer {
        justify-content: flex-start;
        padding-bottom: 14px;
    }

    .seroj-story__date,
    .seroj-story__tagline {
        font-size: 18px;
    }

    .seroj-story__date {
        margin-top: 64px;
    }
}

/* Collection master page */
.collection-master {
    box-sizing: border-box;
    width: min(100%, 1920px);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background: #fff;
    color: #111;
}

.collection-master *,
.collection-master *::before,
.collection-master *::after {
    box-sizing: border-box;
}

.collection-master img {
    display: block;
    max-width: 100%;
    height: auto;
}

.collection-master__breadcrumb {
    min-height: 42px;
    padding: 10px 20px;
    font-size: 13px;
    color: #a0a0a0;
}

.collection-master__breadcrumb .c-breadcrumb__ul {
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.collection-master__breadcrumb .c-breadcrumb__link {
    color: #a0a0a0;
    text-decoration: none;
}

.collection-master__breadcrumb a.c-breadcrumb__link:hover {
    color: #555;
}

.collection-master__breadcrumb .c-breadcrumb__arrow {
    margin-right: 12px;
    margin-left: 12px;
    color: #c3c3c3;
}

.collection-master__banner img {
    width: 100%;
}

.collection-master__banner {
    width: 100%;
    margin: 0;
    transform: none;
}

.collection-master__banner a {
    display: block;
}

.collection-master__products {
    padding: 88px 32px 96px;
    text-align: center;
}

.collection-master__heading {
    margin-bottom: 52px;
}

.collection-master__heading span {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    letter-spacing: .05em;
}

.collection-master__heading h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, calc(2.5vw + 2px), 50px);
    font-weight: 500;
}

.collection-master__heading p {
    margin: 0;
    font-size: 18px;
}

.collection-master__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 56px 28px;
    text-align: right;
}

.collection-master__product-image {
    display: block;
    overflow: hidden;
    background: #f4f4f4;
}

.collection-master__product-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.collection-master__product-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .35s ease;
}

.collection-master__product-image:hover img {
    transform: scale(1.025);
}

.collection-master__product:nth-child(n+11) {
    display: none;
}

.collection-master__product--visible:nth-child(n+11) {
    display: block;
    animation: collection-product-reveal .5s ease both;
}

@keyframes collection-product-reveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.collection-master__product h2 {
    margin: 18px 0 7px;
    overflow: hidden;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.65;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collection-master__price {
    min-height: 27px;
    margin: 0 0 10px;
    font-size: 17px;
}

.collection-master__view-product {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: max-content;
    margin: 10px 0 0 auto;
    color: #111;
    direction: ltr;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.collection-master__view-product-arrow {
    margin-right: 7px;
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
}

.collection-master__view-product:hover,
.collection-master__view-product:focus {
    color: #111;
    text-decoration: none;
}

.collection-master__view-product:hover .collection-master__view-product-arrow,
.collection-master__view-product:focus .collection-master__view-product-arrow {
    transform: translateX(-3px);
}

.collection-master__all-products {
    display: inline-block;
    margin-top: 58px;
    padding: 15px 48px;
    border: 1px solid #777;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
}

.collection-master__all-products--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.collection-master__banner--bottom {
    margin-top: 6px;
}

@media (max-width: 991px) {
    .collection-master {
        padding: 0;
    }

    .collection-master__products {
        padding: 64px 20px 72px;
    }

    .collection-master__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 42px 20px;
    }
}

@media (max-width: 575px) {
    .collection-master {
        padding: 0;
    }

    .collection-master__products {
        padding: 48px 14px 56px;
    }

    .collection-master__heading {
        margin-bottom: 34px;
    }

    .collection-master__heading h1 {
        font-size: 30px;
    }

    .collection-master__heading p {
        font-size: 16px;
    }

    .collection-master__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 12px;
    }

    .collection-master__product h2 {
        margin-top: 12px;
        overflow: visible;
        font-size: 14px;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .collection-master__product h2 .collection-master__product-link {
        direction: rtl;
        unicode-bidi: plaintext;
    }

    .collection-master__price {
        min-height: 23px;
        font-size: 15px;
    }

    .collection-master__all-products {
        width: 100%;
        margin-top: 42px;
    }
}

/* Daal Mahi and Alamout shared styles */
.daal-mahi-story {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: min(100%, 1920px);
    margin: 0 auto;
    padding: 44px 44px 100px;
    background: #fff;
    color: #161616;
    font-family: inherit;
}

.daal-mahi-story *,
.daal-mahi-story *::before,
.daal-mahi-story *::after {
    box-sizing: border-box;
}

.daal-mahi-story figure {
    margin: 0;
}

.daal-mahi-story picture,
.daal-mahi-story img {
    display: block;
}

.daal-mahi-story img {
    width: auto;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.daal-mahi-story .daal-mahi-story__mobile-only {
    display: none;
}

/* ترتیب بخش‌ها در دسکتاپ */

.daal-mahi-story__hero {
    order: 1;
}

.daal-mahi-story__intro {
    order: 2;
}

.daal-mahi-story__fish {
    order: 3;
}

.daal-mahi-story__legend {
    order: 4;
}

.daal-mahi-story__gallery--first {
    order: 5;
}

.daal-mahi-story__origin {
    order: 6;
}

.daal-mahi-story__gallery--second {
    order: 7;
}

.daal-mahi-story__technology {
    order: 8;
}

.daal-mahi-story__message {
    order: 9;
}

.daal-mahi-story__portrait--right {
    order: 10;
}

.daal-mahi-story__portrait--left {
    order: 11;
}

.daal-mahi-story__essence {
    order: 12;
}

.daal-mahi-story__today {
    order: 13;
}

.daal-mahi-story__footer {
    order: 14;
}

/* متن */

.daal-mahi-story__copy {
    width: 77%;
    margin: 0 0 0 auto;
    padding: clamp(56px, 6.25vw, 120px) 0;
    text-align: right;
    font-size: clamp(17px, 1.2vw, 23px);
    font-weight: 500;
    line-height: 2;
    overflow-wrap: break-word;
}

.daal-mahi-story__copy h1 {
    margin: 0 0 44px;
    font-size: clamp(34px, 2.8vw, 54px);
    font-weight: 800;
    line-height: 1.5;
    text-align: right;
}

.daal-mahi-story .daal-mahi-story__copy h2,
.daal-mahi-story .daal-mahi-story__copy h3 {
    margin: 0 0 32px;
    font-size: clamp(22px, 1.65vw, 32px);
    font-weight: 400 !important;
    line-height: 1.7;
    text-align: right;
}

.daal-mahi-story__copy p {
    margin: 0 0 36px;
}

.daal-mahi-story__copy p:last-child {
    margin-bottom: 0;
}

.daal-mahi-story__intro {
    padding-bottom: 40px;
}

.daal-mahi-story__intro .daal-mahi-story__subtitle,
.alamout-story__intro .alamout-story__subtitle {
    margin-bottom: 40px;
}

/* ماهی */

.daal-mahi-story .daal-mahi-story__fish {
    width: auto;
    max-width: 100%;
    align-self: center;
    margin: 100px auto;
}

.daal-mahi-story__gallery {
    display: block;
    width: 100%;
    direction: ltr;
}

/* متن فناوری و پیام، یک بلوک پیوسته در دسکتاپ */

.daal-mahi-story__technology {
    padding-bottom: 40px;
}

.daal-mahi-story__message {
    padding-top: 0;
}

/* تصاویر پلکانی */

.daal-mahi-story .daal-mahi-story__portrait {
    width: 50%;
    padding: 0;
}

.daal-mahi-story .daal-mahi-story__portrait--right {
    margin-right: 0;
    margin-left: auto;
}

.daal-mahi-story .daal-mahi-story__portrait--left {
    margin-right: auto;
    margin-left: 0;
}

/* بخش پایانی */

.daal-mahi-story__essence {
    padding-bottom: 40px;
}

.daal-mahi-story__today {
    padding-top: 0;
    padding-bottom: 0;
}

.daal-mahi-story__today h2 {
    margin-bottom: 0;
}

.daal-mahi-story__footer {
    width: 77%;
    margin: 40px 0 0 auto;
    text-align: right;
}

.daal-mahi-story__footer .daal-mahi-story__date {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.daal-mahi-story__footer .daal-mahi-story__tagline {
    width: max-content;
    max-width: 100%;
    margin: 0 0 48px auto;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.4;
}

/* لینک محصولات */

.daal-mahi-story__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    max-width: 100%;
    min-height: 44px;
    margin-top: 20px;
    padding: 8px 24px;
    background: #111;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 32%, 97% 50%, 100% 68%, 100% 100%, 0 100%);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.daal-mahi-story__link:hover,
.daal-mahi-story__link:focus {
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    transform: translateX(-3px);
}

.daal-mahi-story__footer .daal-mahi-story__link {
    margin-top: 12px;
}

/* Full-width hero and galleries. */

.daal-mahi-story > .daal-mahi-story__hero,
.daal-mahi-story > .daal-mahi-story__gallery,
.alamout-story > .alamout-story__hero,
.alamout-story > .alamout-story__gallery {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    margin-right: 0;
    margin-left: 0;
}

.daal-mahi-story__hero img,
.daal-mahi-story__gallery img,
.alamout-story__hero img,
.alamout-story__gallery img {
    width: 100%;
}

/* Desktop artwork sizes and staggered portraits. */
@media (min-width: 768px) {
    .daal-mahi-story .daal-mahi-story__fish {
        width: 26.2%;
        max-width: 480px;
    }

    .daal-mahi-story__fish img {
        width: 100%;
    }

    .daal-mahi-story__portrait img {
        width: 100%;
    }
}

/* Mobile layout. */

@media (max-width: 767px) {
    .daal-mahi-story {
        padding: 16px 16px 52px;
    }

    .daal-mahi-story .daal-mahi-story__desktop-only {
        display: none;
    }

    .daal-mahi-story .daal-mahi-story__mobile-only {
        display: block;
    }

    .daal-mahi-story span.daal-mahi-story__mobile-only {
        display: inline;
    }

    /* ترتیب بخش‌ها در موبایل */

    .daal-mahi-story__portrait--right {
        order: 7;
    }

    .daal-mahi-story__technology {
        order: 8;
    }

    .daal-mahi-story__architecture {
        order: 9;
    }

    .daal-mahi-story__message {
        order: 10;
    }

    .daal-mahi-story__essence {
        order: 11;
    }

    .daal-mahi-story__gallery--second {
        order: 12;
    }

    .daal-mahi-story__today {
        order: 13;
    }

    .daal-mahi-story__footer {
        order: 15;
    }

    /* متن */

    .daal-mahi-story__copy {
        width: 100%;
        padding: 48px 0;
        font-size: 17px;
        line-height: 2;
    }

    .daal-mahi-story__copy h1 {
        margin-bottom: 28px;
        font-size: clamp(30px, 7.2vw, 38px);
        line-height: 1.6;
    }

    .daal-mahi-story__copy h2,
    .daal-mahi-story__copy h3 {
        margin-bottom: 24px;
        font-size: clamp(20px, 4.8vw, 24px);
    }

    .daal-mahi-story__copy p {
        margin-bottom: 26px;
    }

    .daal-mahi-story__intro {
        padding-top: 48px;
        padding-bottom: 0;
    }

    .daal-mahi-story__intro .daal-mahi-story__subtitle {
        margin-bottom: 20px;
    }

    /* ماهی */

    .daal-mahi-story .daal-mahi-story__fish {
        width: auto;
        margin: 60px auto;
    }

    /* تصویر دو مدل، قبل از متن فناوری */

    .daal-mahi-story .daal-mahi-story__portrait--right {
        width: 100%;
        margin: 0;
    }

    /* تصویر معماری، بعد از متن فناوری */

    .daal-mahi-story .daal-mahi-story__architecture {
        width: 100%;
        margin: 0;
    }

    /* بخش‌های متنی پایانی */

    .daal-mahi-story__technology {
        padding-top: 48px;
        padding-bottom: 40px;
    }

    .daal-mahi-story__message {
        padding-top: 48px;
        padding-bottom: 24px;
    }

    .daal-mahi-story__message h2 {
        margin-bottom: 0;
    }

    .daal-mahi-story__essence {
        padding-top: 0;
        padding-bottom: 24px;
    }

    .daal-mahi-story__today {
        padding-top: 24px;
        padding-bottom: 48px;
    }

    .daal-mahi-story__today h2 {
        margin-bottom: 24px;
    }

    /* فوتر */

    .daal-mahi-story__footer {
        width: 100%;
        margin-top: 32px;
    }

    .daal-mahi-story__footer .daal-mahi-story__date {
        font-size: 12px;
    }

    .daal-mahi-story__footer .daal-mahi-story__tagline {
        margin-bottom: 32px;
        font-size: 15px;
    }
}

/* Alamout story */
.alamout-story > * {
    order: 0;
}

/* Introduction */
.alamout-story__intro h1 {
    margin-bottom: 20px;
}

.alamout-story .daal-mahi-story__copy h2:not(:first-child) {
    margin-top: 48px;
}

/* Desktop: image 3 at the upper right and image 4 at the lower left. */
.alamout-story__image-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "image3 ."
        ". image4"
        "story story";
}

.alamout-story .alamout-story__image-pair .alamout-story__portrait {
    width: 100%;
    margin: 0;
}

.alamout-story__image-pair .alamout-story__portrait--right {
    grid-area: image3;
}

.alamout-story__image-pair .alamout-story__portrait--left {
    grid-area: image4;
}

.alamout-story__image-pair .alamout-story__between-pair {
    grid-area: story;
    width: 68%;
    margin: 0 0 0 auto;
}

.alamout-story__portrait img {
    width: 100%;
}

/* Reduce the gap before the story continues after the image pair. */
@media (min-width: 768px) {
    .alamout-story__image-pair .alamout-story__between-pair {
        padding-bottom: 24px;
    }

    .alamout-story__image-pair + .daal-mahi-story__copy {
        padding-top: 24px;
    }
}

/* Overlap the image edges by one pixel to eliminate the dark grid seam. */
.alamout-story .alamout-story__image-pair .alamout-story__portrait--left {
    position: relative;
    z-index: 1;
    margin-top: -1px;
    margin-right: -1px;
}

/* Closing */
.alamout-story__closing {
    padding-bottom: 0;
}

.alamout-story .alamout-story__signature {
    width: 324px;
    max-width: 50%;
    margin: 64px 0 0 auto;
}

.alamout-story__signature img {
    width: 100%;
}

/* Mobile */
@media (max-width: 767px) {
    /* Keep the original mobile flow: image 3, text, then image 4. */
    .alamout-story__image-pair {
        display: block;
    }

    .alamout-story__image-pair .alamout-story__between-pair {
        width: 100%;
    }

    .alamout-story .alamout-story__portrait {
        width: 100%;
        margin: 0;
    }

    .alamout-story__intro h1 {
        margin-bottom: 16px;
    }

    .alamout-story__intro .alamout-story__subtitle {
        margin-bottom: 28px;
    }

    .alamout-story .daal-mahi-story__copy h2:not(:first-child) {
        margin-top: 32px;
    }

    .alamout-story .alamout-story__signature {
        margin-top: 48px;
    }
}

/* Introductory subtitles */
.daal-mahi-story .daal-mahi-story__subtitle,
.alamout-story .alamout-story__subtitle {
    font-weight: 400;
}

