/* =========================================================
   ART PAGE
   DSN — Delfan Students Network
========================================================= */


/* ---------------------------------------------------------
   VARIABLES
--------------------------------------------------------- */

.art-page {

    --art-bg: #10131c;
    --art-panel: #171b26;
    --art-panel-light: #1d2230;

    --art-text: #f4f1eb;
    --art-muted: #a7a8b0;

    --art-accent: #e87948;
    --art-border: rgba(255,255,255,.10);

    background: var(--art-bg);
    color: var(--art-text);

    min-height: 100vh;

}



/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.art-header {

    width: 100%;

    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 18px 5vw;

    border-bottom:
        1px solid var(--art-border);

    background:
        rgba(16,19,28,.94);

    position: relative;

    z-index: 20;

}


.art-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--art-text);

    text-decoration: none;

    flex-shrink: 0;

}


.art-brand-mark {

    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border: 1px solid
        rgba(232,121,72,.7);

    color: var(--art-accent);

    font-size: 13px;

    letter-spacing: 1px;

}


.art-brand-text {

    display: flex;

    flex-direction: column;

    gap: 2px;

}


.art-brand-text strong {

    font-size: 15px;

    letter-spacing: 2px;

}


.art-brand-text small {

    color: var(--art-muted);

    font-size: 10px;

}


.art-nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

}


.art-nav a {

    color: var(--art-muted);

    text-decoration: none;

    font-size: 13px;

    position: relative;

    padding: 8px 0;

    transition: .25s ease;

}


.art-nav a::after {

    content: "";

    position: absolute;

    right: 0;

    bottom: 0;

    width: 0;

    height: 1px;

    background: var(--art-accent);

    transition: .25s ease;

}


.art-nav a:hover,
.art-nav a.active {

    color: var(--art-text);

}


.art-nav a:hover::after,
.art-nav a.active::after {

    width: 100%;

}


.art-home-link {

    color: var(--art-muted);

    text-decoration: none;

    font-size: 12px;

    white-space: nowrap;

    transition: .25s ease;

}


.art-home-link span {

    color: var(--art-accent);

    margin-right: 5px;

}


.art-home-link:hover {

    color: var(--art-text);

}



/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.art-intro {

    min-height: 72vh;

    padding: 9vh 7vw;

    display: grid;

    grid-template-columns:
        1.15fr .85fr;

    align-items: center;

    gap: 60px;

    border-bottom:
        1px solid var(--art-border);

    overflow: hidden;

}


.art-intro-content {

    max-width: 760px;

}


.art-kicker {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--art-muted);

    font-size: 10px;

    letter-spacing: 2px;

}


.art-kicker i {

    width: 45px;

    height: 1px;

    background: var(--art-accent);

    display: block;

}


.art-intro h1 {

    margin: 24px 0 18px;

    font-size: clamp(80px, 12vw, 180px);

    line-height: .8;

    letter-spacing: -8px;

    font-weight: 800;

}


.art-intro h1 span {

    color: var(--art-accent);

}


.art-intro p {

    max-width: 600px;

    color: var(--art-muted);

    font-size: clamp(16px, 1.5vw, 21px);

    line-height: 2;

}


.art-intro-line {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 40px;

    color: var(--art-text);

    font-size: 12px;

}


.art-intro-line span {

    width: 55px;

    height: 1px;

    background: var(--art-accent);

}


.art-intro-symbol {

    height: 420px;

    position: relative;

    display: grid;

    place-items: center;

}


.symbol-ring {

    position: absolute;

    border: 1px solid
        rgba(232,121,72,.18);

    border-radius: 50%;

}


.ring-1 {

    width: 260px;
    height: 260px;

}


.ring-2 {

    width: 360px;
    height: 360px;

}


.ring-3 {

    width: 460px;
    height: 460px;

}


.symbol-center {

    width: 110px;
    height: 110px;

    display: grid;

    place-items: center;

    border: 1px solid
        rgba(232,121,72,.65);

    color: var(--art-accent);

    font-size: 28px;

    transform: rotate(45deg);

}


.symbol-center::first-letter {

    transform: rotate(-45deg);

}


.art-intro-symbol small {

    position: absolute;

    bottom: 15px;

    left: 50%;

    transform: translateX(-50%);

    color: var(--art-muted);

    font-size: 10px;

    letter-spacing: 3px;

}



/* ---------------------------------------------------------
   GALLERY
--------------------------------------------------------- */

.art-gallery-section {

    padding: 100px 7vw;

}


.art-section-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 45px;

}


.art-section-heading span {

    color: var(--art-accent);

    font-size: 10px;

    letter-spacing: 3px;

}


.art-section-heading h2 {

    margin: 10px 0 0;

    font-size: clamp(34px, 5vw, 65px);

    line-height: 1;

}


.art-section-heading p {

    color: var(--art-muted);

    font-size: 12px;

}



/* ---------------------------------------------------------
   FEATURED ARTWORK
--------------------------------------------------------- */

.art-feature {

    display: grid;

    grid-template-columns:
        minmax(0, 3.3fr)
        minmax(280px, 1fr);

    min-height: 72vh;

    background: var(--art-panel);

    border:
        1px solid var(--art-border);

}


.art-feature-image-wrap {

    min-height: 70vh;

    position: relative;

    overflow: hidden;

    background: #0b0d13;

}


.art-feature-image-wrap img {

    width: 100%;

    height: 100%;

    min-height: 70vh;

    display: block;

    object-fit: cover;

    transition:
        transform .7s ease;

}


.art-feature:hover
.art-feature-image-wrap img {

    transform: scale(1.015);

}


.art-image-expand {

    position: absolute;

    left: 25px;

    top: 25px;

    width: 45px;
    height: 45px;

    border: 1px solid
        rgba(255,255,255,.25);

    background:
        rgba(0,0,0,.35);

    backdrop-filter: blur(8px);

    color: white;

    cursor: pointer;

    font-size: 21px;

    transition: .25s ease;

}


.art-image-expand:hover {

    background: var(--art-accent);

    border-color: var(--art-accent);

}


.art-image-number {

    position: absolute;

    right: 25px;

    bottom: 22px;

    padding: 7px 12px;

    background:
        rgba(0,0,0,.55);

    color: white;

    font-size: 10px;

    letter-spacing: 2px;

}



/* ---------------------------------------------------------
   ARTWORK INFO
--------------------------------------------------------- */

.art-feature-info {

    padding: 50px 38px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}


.art-feature-label {

    color: var(--art-accent);

    font-size: 9px;

    letter-spacing: 3px;

}


.art-feature-info h3 {

    margin: 25px 0 8px;

    font-size: clamp(28px, 3vw, 48px);

    line-height: 1.25;

}


.art-feature-student {

    color: var(--art-muted);

    font-size: 13px;

    margin-bottom: 45px;

}


.art-meta-list {

    border-top:
        1px solid var(--art-border);

}


.art-meta {

    display: flex;

    flex-direction: column;

    gap: 7px;

    padding: 17px 0;

    border-bottom:
        1px solid var(--art-border);

}


.art-meta span {

    color: var(--art-muted);

    font-size: 10px;

}


.art-meta strong {

    color: var(--art-text);

    font-size: 13px;

    font-weight: 500;

}


.art-feature-index {

    display: flex;

    justify-content: space-between;

    color: var(--art-muted);

    font-size: 9px;

    letter-spacing: 2px;

    padding-top: 30px;

}



/* ---------------------------------------------------------
   THUMBNAILS
--------------------------------------------------------- */

.art-thumbnails {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    margin-top: 15px;

}


.art-thumb {

    position: relative;

    height: 150px;

    padding: 0;

    border: 1px solid
        var(--art-border);

    background: var(--art-panel);

    overflow: hidden;

    cursor: pointer;

    opacity: .55;

    transition:
        opacity .25s ease,
        border-color .25s ease,
        transform .25s ease;

}


.art-thumb:hover {

    opacity: .85;

}


.art-thumb.active {

    opacity: 1;

    border-color: var(--art-accent);

}


.art-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}


.art-thumb::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.65),
            transparent 55%
        );

}


.art-thumb span {

    position: absolute;

    right: 14px;

    bottom: 12px;

    z-index: 2;

    color: white;

    font-size: 11px;

    letter-spacing: 2px;

}



/* ---------------------------------------------------------
   ABOUT VISUAL ARTS
--------------------------------------------------------- */

.art-about {

    margin: 20px 7vw 100px;

    padding: 80px;

    display: grid;

    grid-template-columns:
        100px 1fr 150px;

    gap: 40px;

    align-items: center;

    background: var(--art-panel);

    border:
        1px solid var(--art-border);

}


.art-about-number {

    font-size: 70px;

    color:
        rgba(232,121,72,.35);

    font-weight: 800;

}


.art-about-kicker {

    color: var(--art-accent);

    font-size: 9px;

    letter-spacing: 3px;

}


.art-about-content h2 {

    margin: 15px 0 25px;

    font-size: clamp(32px, 4vw, 55px);

    line-height: 1.35;

}


.art-about-content p {

    max-width: 720px;

    color: var(--art-muted);

    line-height: 2.2;

    font-size: 14px;

}


.art-about-side {

    display: flex;

    flex-direction: column;

    gap: 15px;

    color: var(--art-muted);

    font-size: 9px;

    letter-spacing: 3px;

}


.art-about-side span {

    padding-bottom: 12px;

    border-bottom:
        1px solid var(--art-border);

}



/* ---------------------------------------------------------
   FOOTER NOTE
--------------------------------------------------------- */

.art-footer-note {

    padding: 30px 7vw 80px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    color: var(--art-muted);

    text-align: center;

}


.art-footer-note span {

    color: var(--art-accent);

}


.art-footer-note p {

    margin: 0;

    font-size: 13px;

}



/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.art-footer {

    border-top:
        1px solid var(--art-border);

    padding: 25px 7vw;

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: var(--art-muted);

    font-size: 11px;

}


.art-footer a {

    color: var(--art-muted);

    text-decoration: none;

    transition: .25s ease;

}


.art-footer a:hover {

    color: var(--art-accent);

}



/* ---------------------------------------------------------
   LIGHTBOX
--------------------------------------------------------- */

.art-lightbox {

    position: fixed;

    inset: 0;

    z-index: 9999;

    background:
        rgba(5,7,11,.94);

    backdrop-filter: blur(12px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition: .3s ease;

}


.art-lightbox.show {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


.art-lightbox img {

    max-width: 92vw;

    max-height: 90vh;

    object-fit: contain;

    box-shadow:
        0 30px 100px rgba(0,0,0,.55);

}


.art-lightbox-close {

    position: absolute;

    top: 25px;

    left: 30px;

    width: 45px;
    height: 45px;

    border: 1px solid
        rgba(255,255,255,.25);

    background: transparent;

    color: white;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

}



/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1000px) {

    .art-header {

        flex-wrap: wrap;

    }


    .art-nav {

        order: 3;

        width: 100%;

        overflow-x: auto;

        justify-content: flex-start;

        padding-bottom: 5px;

    }


    .art-intro {

        grid-template-columns: 1fr;

        min-height: auto;

        padding-top: 80px;

        padding-bottom: 80px;

    }


    .art-intro-symbol {

        display: none;

    }


    .art-feature {

        grid-template-columns: 1fr;

    }


    .art-feature-image-wrap,
    .art-feature-image-wrap img {

        min-height: 60vh;

    }


    .art-feature-info {

        min-height: 500px;

    }


    .art-about {

        grid-template-columns: 70px 1fr;

        padding: 50px;

    }


    .art-about-side {

        display: none;

    }

}



@media (max-width: 650px) {

    .art-header {

        padding: 15px 20px;

    }


    .art-brand-text small {

        display: none;

    }


    .art-home-link {

        display: none;

    }


    .art-nav {

        gap: 18px;

    }


    .art-nav a {

        font-size: 12px;

    }


    .art-intro {

        padding:
            70px 25px;

    }


    .art-intro h1 {

        font-size: 90px;

        letter-spacing: -5px;

    }


    .art-intro p {

        font-size: 15px;

    }


    .art-gallery-section {

        padding:
            65px 20px;

    }


    .art-section-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 12px;

    }


    .art-feature {

        display: block;

    }


    .art-feature-image-wrap,
    .art-feature-image-wrap img {

        min-height: 55vh;

        height: 55vh;

    }


    .art-feature-info {

        padding: 35px 25px;

        min-height: auto;

    }


    .art-thumbnails {

        gap: 8px;

    }


    .art-thumb {

        height: 90px;

    }


    .art-about {

        margin:
            10px 20px 60px;

        padding: 40px 25px;

        display: block;

    }


    .art-about-number {

        margin-bottom: 25px;

        font-size: 45px;

    }


    .art-about-content h2 {

        font-size: 31px;

    }


    .art-about-content p {

        font-size: 13px;

    }


    .art-footer-note {

        padding:
            20px 25px 55px;

    }


    .art-footer {

        padding:
            22px 20px;

        flex-direction: column;

        gap: 15px;

    }


    .art-lightbox {

        padding: 20px;

    }

}/* =========================
   ART HERO IMAGE
========================= */

.art-page .topic-hero {
  position: relative;
  overflow: hidden;
}

.art-page .hero-art-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.art-page .hero-art-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;

  filter:
    grayscale(12%)
    contrast(1.05)
    brightness(0.82);

  transform: scale(1.015);
  transition: transform 1.2s ease, filter 0.8s ease;
}

/* سایه‌ی ظریف روی تصویر تا متن خواناتر شود */
.art-page .hero-art-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(16, 19, 28, 0.05) 20%,
      rgba(16, 19, 28, 0.15) 60%,
      rgba(16, 19, 28, 0.72) 100%
    );

  pointer-events: none;
}

/* نوشته روی تصویر */
.art-page .hero-art-overlay {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;

  color: #fff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.55);
}

.art-page .hero-art-overlay span {
  color: #e87948;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.art-page .hero-art-overlay strong {
  font-size: 24px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.art-page .hero-art-overlay small {
  font-size: 11px;
  opacity: 0.75;
  letter-spacing: 0.08em;
}

/* حرکت خیلی ظریف هنگام هاور */
.art-page .hero-art-image:hover img {
  transform: scale(1.045);
  filter:
    grayscale(5%)
    contrast(1.08)
    brightness(0.88);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

  .art-page .hero-art-image {
    min-height: 340px;
  }

  .art-page .hero-art-image img {
    min-height: 340px;
  }

}


@media (max-width: 650px) {

  .art-page .hero-art-image {
    min-height: 280px;
  }

  .art-page .hero-art-image img {
    min-height: 280px;
  }

  .art-page .hero-art-overlay {
    right: 20px;
    bottom: 20px;
  }

  .art-page .hero-art-overlay strong {
    font-size: 19px;
  }

}
/* =========================================================
   FULL GUERNICA HERO
   مخصوص صفحه ART
========================================================= */

.art-page .art-full-hero {
    position: relative;

    width: 100%;
    min-height: 78vh;

    overflow: hidden;

    display: flex;
    align-items: center;

    isolation: isolate;

    background: #10131c;
}


/* =========================================================
   BACKGROUND IMAGE
========================================================= */

.art-page .art-hero-background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: -2;

    overflow: hidden;
}


.art-page .art-hero-background img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center center;

    transform: scale(1.02);

    filter:
        grayscale(8%)
        contrast(1.08)
        brightness(0.68);

    transition:
        transform 1.5s ease,
        filter 1s ease;
}


/* =========================================================
   DARK OVERLAY
========================================================= */

.art-page .art-hero-background::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 13, 20, 0.92) 0%,
            rgba(10, 13, 20, 0.72) 24%,
            rgba(10, 13, 20, 0.28) 58%,
            rgba(10, 13, 20, 0.35) 100%
        );

    z-index: 1;

    pointer-events: none;
}


/* تاریکی پایین تصویر */

.art-page .art-hero-background::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(10, 13, 20, 0.72) 0%,
            rgba(10, 13, 20, 0.10) 45%,
            transparent 70%
        );

    z-index: 2;

    pointer-events: none;
}


/* =========================================================
   HERO TEXT
========================================================= */

.art-page .art-hero-content {

    position: relative;

    z-index: 5;

    width: min(560px, 48%);

    margin-right: auto;

    margin-left: 8%;

    padding: 90px 0;

    color: #fff;
}


/* Eyebrow */

.art-page .art-hero-content .topic-eyebrow {

    color: rgba(255, 255, 255, 0.75);

    text-shadow:
        0 2px 15px rgba(0, 0, 0, 0.6);
}


/* عنوان اصلی */

.art-page .art-hero-content h1 {

    margin: 20px 0 25px;

    color: #fff;

    font-size: clamp(80px, 10vw, 150px);

    line-height: 0.9;

    font-weight: 900;

    letter-spacing: -0.06em;

    text-shadow:
        0 5px 35px rgba(0, 0, 0, 0.55);
}


/* نقطه نارنجی */

.art-page .art-hero-content .hero-dot {

    color: #e87948;
}


/* توضیح */

.art-page .art-hero-content p {

    max-width: 520px;

    margin: 0;

    color: rgba(255, 255, 255, 0.9);

    font-size: 18px;

    line-height: 2;

    text-shadow:
        0 2px 18px rgba(0, 0, 0, 0.7);
}


/* =========================================================
   NOTE
========================================================= */

.art-page .art-hero-content .hero-note {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 28px;

    color: #fff;

    font-size: 13px;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.7);
}


.art-page .art-hero-content .note-line {

    display: block;

    width: 42px;

    height: 1px;

    background: #e87948;
}


/* =========================================================
   GUERNICA CAPTION
========================================================= */

.art-page .art-hero-caption {

    position: absolute;

    left: 6%;

    bottom: 34px;

    z-index: 6;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 4px;

    color: #fff;

    text-shadow:
        0 2px 15px rgba(0, 0, 0, 0.75);
}


.art-page .art-hero-caption span {

    color: #e87948;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.25em;
}


.art-page .art-hero-caption strong {

    font-size: 25px;

    font-weight: 800;

    letter-spacing: 0.1em;
}


.art-page .art-hero-caption small {

    color: rgba(255, 255, 255, 0.7);

    font-size: 11px;

    letter-spacing: 0.08em;
}


/* =========================================================
   IMAGE HOVER
========================================================= */

.art-page .art-full-hero:hover .art-hero-background img {

    transform: scale(1.045);

    filter:
        grayscale(3%)
        contrast(1.1)
        brightness(0.73);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .art-page .art-full-hero {

        min-height: 700px;

        align-items: flex-end;
    }


    .art-page .art-hero-content {

        width: 100%;

        margin: 0;

        padding: 80px 45px 110px;
    }


    .art-page .art-hero-content h1 {

        font-size: clamp(75px, 15vw, 120px);
    }


    .art-page .art-hero-background::after {

        background:
            linear-gradient(
                to top,
                rgba(10, 13, 20, 0.94) 0%,
                rgba(10, 13, 20, 0.55) 48%,
                rgba(10, 13, 20, 0.20) 100%
            );
    }


    .art-page .art-hero-caption {

        left: auto;

        right: 45px;

        bottom: 35px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .art-page .art-full-hero {

        min-height: 650px;
    }


    .art-page .art-hero-content {

        padding:
            60px
            24px
            110px;
    }


    .art-page .art-hero-content h1 {

        font-size: clamp(65px, 20vw, 100px);

        margin-top: 15px;
    }


    .art-page .art-hero-content p {

        font-size: 15px;

        line-height: 1.9;
    }


    .art-page .art-hero-caption {

        right: 24px;

        bottom: 25px;
    }


    .art-page .art-hero-caption strong {

        font-size: 20px;
    }
}
/* =========================================================
   GUERNICA HERO
========================================================= */

.art-page .topic-hero {

    position: relative;

    width: 100%;

    min-height: 78vh;

    display: grid;

    grid-template-columns: 0.75fr 1.45fr;

    align-items: stretch;

    overflow: hidden;

    background: #10131c;
}


/* =========================================================
   TEXT SIDE
========================================================= */

.art-page .topic-hero .hero-copy {

    position: relative;

    z-index: 5;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 70px 55px 70px 8%;

    color: #fff;
}


/* عنوان */

.art-page .topic-hero .hero-copy h1 {

    margin: 20px 0 25px;

    font-size: clamp(80px, 9vw, 145px);

    line-height: 0.9;

    font-weight: 900;

    letter-spacing: -0.06em;

    color: #fff;

    text-shadow:
        0 5px 30px rgba(0,0,0,.45);
}


/* نقطه */

.art-page .topic-hero .hero-dot {

    color: #e87948;
}


/* توضیح */

.art-page .topic-hero .hero-copy p {

    max-width: 480px;

    margin: 0;

    color: rgba(255,255,255,.88);

    font-size: 17px;

    line-height: 2;

    text-shadow:
        0 2px 15px rgba(0,0,0,.5);
}


/* note */

.art-page .topic-hero .hero-note {

    margin-top: 28px;

    color: #fff;
}


/* =========================================================
   GUERNICA IMAGE
========================================================= */

.art-page .hero-art-image {

    position: relative;

    width: 100%;

    height: 100%;

    min-height: 78vh;

    overflow: hidden;

    background: #111;
}


/* خود عکس */

.art-page .hero-art-image img {

    width: 100%;

    height: 100%;

    min-height: 78vh;

    display: block;

    object-fit: cover;

    object-position: center center;

    transform: scale(1.01);

    filter:
        grayscale(8%)
        contrast(1.08)
        brightness(.82);

    transition:
        transform 1.2s ease,
        filter .8s ease;
}


/* لایه‌ی روی عکس */

.art-page .hero-art-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(16,19,28,.78) 0%,
            rgba(16,19,28,.22) 35%,
            rgba(16,19,28,.05) 75%
        );

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   TEXT ON IMAGE
========================================================= */

.art-page .hero-art-overlay {

    position: absolute;

    right: 35px;

    bottom: 35px;

    z-index: 3;

    display: flex;

    flex-direction: column;

    gap: 5px;

    color: #fff;

    text-shadow:
        0 2px 15px rgba(0,0,0,.7);
}


.art-page .hero-art-overlay span {

    color: #e87948;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .25em;
}


.art-page .hero-art-overlay strong {

    font-size: 26px;

    font-weight: 800;

    letter-spacing: .08em;
}


.art-page .hero-art-overlay small {

    font-size: 11px;

    color: rgba(255,255,255,.72);

    letter-spacing: .08em;
}


/* =========================================================
   HOVER
========================================================= */

.art-page .hero-art-image:hover img {

    transform: scale(1.045);

    filter:
        grayscale(2%)
        contrast(1.1)
        brightness(.88);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .art-page .topic-hero {

        grid-template-columns: 1fr;

        min-height: auto;
    }


    .art-page .hero-art-image {

        min-height: 520px;

        order: 1;
    }


    .art-page .hero-art-image img {

        min-height: 520px;
    }


    .art-page .topic-hero .hero-copy {

        position: absolute;

        inset: auto 0 0 0;

        z-index: 5;

        padding: 80px 40px 55px;

        background:
            linear-gradient(
                transparent,
                rgba(16,19,28,.9)
            );
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .art-page .hero-art-image {

        min-height: 600px;
    }


    .art-page .hero-art-image img {

        min-height: 600px;
    }


    .art-page .topic-hero .hero-copy {

        padding:
            70px
            25px
            55px;
    }


    .art-page .topic-hero .hero-copy h1 {

        font-size: 75px;
    }


    .art-page .topic-hero .hero-copy p {

        font-size: 15px;

        line-height: 1.9;
    }


    .art-page .hero-art-overlay {

        right: 22px;

        bottom: 22px;
    }
}
/* =========================================================
   ART — GUERNICA FULL HERO
========================================================= */

.art-page .art-guernica-hero {
    position: relative;

    width: 100%;

    height: 78vh;
    min-height: 620px;

    overflow: hidden;

    background: #10131c;

    isolation: isolate;
}


/* =========================================================
   IMAGE
========================================================= */

.art-page .art-guernica-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: -3;
}


.art-page .art-guernica-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center center;

    transform: scale(1.01);

    filter:
        grayscale(8%)
        contrast(1.08)
        brightness(.78);

    transition:
        transform 1.4s ease,
        filter 1s ease;
}


/* =========================================================
   OVERLAY
========================================================= */

.art-page .art-guernica-overlay {
    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(10, 13, 20, .88) 0%,
            rgba(10, 13, 20, .55) 27%,
            rgba(10, 13, 20, .10) 65%,
            rgba(10, 13, 20, .20) 100%
        );

    pointer-events: none;
}


/* پایین تصویر کمی تاریک‌تر */

.art-page .art-guernica-overlay::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(10, 13, 20, .72) 0%,
            transparent 38%
        );
}


/* =========================================================
   MAIN TEXT
========================================================= */

.art-page .art-guernica-content {
    position: absolute;

    z-index: 5;

    top: 50%;
    left: 8%;

    transform: translateY(-50%);

    width: 520px;

    color: #fff;
}


.art-page .art-guernica-content h1 {
    margin: 20px 0 28px;

    color: #fff;

    font-size: clamp(90px, 11vw, 165px);

    line-height: .85;

    font-weight: 900;

    letter-spacing: -.065em;

    text-shadow:
        0 5px 35px rgba(0,0,0,.55);
}


.art-page .art-guernica-content .hero-dot {
    color: #e87948;
}


.art-page .art-guernica-content p {
    max-width: 500px;

    margin: 0;

    color: rgba(255,255,255,.92);

    font-size: 18px;

    line-height: 2;

    text-shadow:
        0 2px 18px rgba(0,0,0,.75);
}


.art-page .art-guernica-content .hero-note {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 28px;

    color: #fff;

    font-size: 13px;

    text-shadow:
        0 2px 15px rgba(0,0,0,.7);
}


.art-page .art-guernica-content .note-line {
    display: block;

    width: 42px;

    height: 1px;

    background: #e87948;
}


/* =========================================================
   GUERNICA INFO
========================================================= */

.art-page .art-guernica-info {
    position: absolute;

    z-index: 6;

    right: 6%;

    bottom: 38px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 5px;

    color: #fff;

    text-shadow:
        0 2px 15px rgba(0,0,0,.8);
}


.art-page .art-guernica-info span {
    color: #e87948;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .25em;
}


.art-page .art-guernica-info strong {
    font-size: 28px;

    font-weight: 800;

    letter-spacing: .1em;
}


.art-page .art-guernica-info small {
    color: rgba(255,255,255,.72);

    font-size: 11px;

    letter-spacing: .08em;
}


/* =========================================================
   HOVER
========================================================= */

.art-page .art-guernica-hero:hover
.art-guernica-image img {

    transform: scale(1.035);

    filter:
        grayscale(2%)
        contrast(1.1)
        brightness(.84);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .art-page .art-guernica-hero {
        height: 720px;

        min-height: 720px;
    }

    .art-page .art-guernica-content {

        left: 40px;

        right: 40px;

        top: auto;
        bottom: 120px;

        transform: none;

        width: auto;
    }

    .art-page .art-guernica-content h1 {
        font-size: 110px;
    }

    .art-page .art-guernica-overlay {
        background:
            linear-gradient(
                to top,
                rgba(10,13,20,.94) 0%,
                rgba(10,13,20,.48) 55%,
                rgba(10,13,20,.12) 100%
            );
    }

    .art-page .art-guernica-info {
        right: 40px;
        bottom: 35px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .art-page .art-guernica-hero {
        height: 650px;

        min-height: 650px;
    }

    .art-page .art-guernica-content {

        left: 24px;
        right: 24px;

        bottom: 115px;
    }

    .art-page .art-guernica-content h1 {

        margin-bottom: 20px;

        font-size: 82px;
    }

    .art-page .art-guernica-content p {

        font-size: 15px;

        line-height: 1.9;
    }

    .art-page .art-guernica-info {

        right: 24px;

        bottom: 28px;
    }

    .art-page .art-guernica-info strong {
        font-size: 21px;
    }
}

/* =====================================================
   DSN ART — LARGE FEATURED-STYLE ARTWORK CARDS
===================================================== */

/* فاصله بخش آثار منتشرشده */
.art-page .art-published-section {
    margin: 70px 0 100px;
    padding: 0;
}

/* هر اثر یک ردیف عریض */
.art-page #artPostsContainer.art-posts-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 42px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* کارت بزرگ؛ حدود 90 درصد عرض صفحه */
.art-page #artPostsContainer > article.post-card.magazine-card {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    width: 90%;
    max-width: 1450px;
    min-height: 560px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;

    background: var(--art-panel);
    border: 1px solid var(--art-border);
    border-radius: 0;
    box-shadow: none;
}

/* تصویر بزرگ، هم‌اندازه قاب Featured Artwork */
.art-page #artPostsContainer > article.post-card.magazine-card > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    max-height: 720px;
    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: center;
    background: #0b0d13;
}

/* متن کنار تصویر */
.art-page #artPostsContainer .magazine-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

    min-width: 0;
    padding: 45px;
    box-sizing: border-box;
    text-align: right;
    background: transparent;
}

/* عنوان اثر */
.art-page #artPostsContainer .magazine-card-content h2 {
    margin: 0;
    color: var(--art-text);
    font-size: clamp(25px, 2.3vw, 36px);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* توضیحات اثر */
.art-page #artPostsContainer .magazine-card-content p {
    margin: 0;
    color: var(--art-muted);
    font-size: 17px;
    line-height: 2.2;
    overflow-wrap: anywhere;
}

/* دسته‌بندی و تاریخ */
.art-page #artPostsContainer .magazine-card-content .post-category {
    color: var(--art-accent);
    font-size: 13px;
}

.art-page #artPostsContainer .magazine-card-content time {
    margin-top: 8px;
    color: var(--art-muted);
    font-size: 13px;
}

/* کارت‌هایی که تصویر ندارند */
.art-page #artPostsContainer > article.post-card.magazine-card:not(:has(> img)) {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 280px;
}

/* تبلت */
@media (max-width: 900px) {
    .art-page #artPostsContainer > article.post-card.magazine-card {
        width: 94%;
        min-height: 440px;
    }

    .art-page #artPostsContainer > article.post-card.magazine-card > img {
        min-height: 440px;
    }

    .art-page #artPostsContainer .magazine-card-content {
        padding: 28px;
        gap: 15px;
    }
}

/* موبایل */
@media (max-width: 650px) {
    .art-page #artPostsContainer.art-posts-container {
        gap: 28px;
    }

    .art-page #artPostsContainer > article.post-card.magazine-card {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        min-height: 0;
    }

    .art-page #artPostsContainer > article.post-card.magazine-card > img {
        width: 100%;
        height: 420px;
        min-height: 0;
        max-height: 520px;
    }

    .art-page #artPostsContainer .magazine-card-content {
        padding: 28px 24px;
        gap: 14px;
    }

    .art-page #artPostsContainer .magazine-card-content h2 {
        font-size: 24px;
    }

    .art-page #artPostsContainer .magazine-card-content p {
        font-size: 15px;
    }
}

/* =====================================================
   DSN ART — LARGE FULL-WIDTH ARTWORK CARDS
===================================================== */

/* گالری آثار منتشرشده: یک کارت در هر ردیف */
.art-page #artPostsContainer.art-posts-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
    min-width: 0;
}

/* کارت تمام‌عرض */
.art-page #artPostsContainer > article.magazine-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: stretch;

    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 520px;
    margin: 0;
    padding: 0;

    overflow: hidden;
    background: var(--art-panel);
    border: 1px solid var(--art-border);
    border-radius: 0;
    box-shadow: none;
}

/* قاب تصویر بزرگ
   تصویر در script.js داخل دکمه قرار دارد */
.art-page #artPostsContainer > article.magazine-card > .post-media-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 520px;
    margin: 0;
    padding: 0;

    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #0b0d13;
    cursor: zoom-in;
}

/* خود تصویر */
.art-page #artPostsContainer .post-media-button img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 520px;
    max-height: 760px;

    object-fit: contain;
    object-position: center;
    background: #0b0d13;
    transition: transform 0.25s ease;
}

/* اطلاعات اثر */
.art-page #artPostsContainer .magazine-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

    min-width: 0;
    padding: clamp(28px, 4vw, 60px);
    text-align: right;
    background: transparent;
}

/* عنوان */
.art-page #artPostsContainer .magazine-card-content h2 {
    margin: 0;
    color: var(--art-text);
    font-size: clamp(23px, 2.2vw, 36px);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* توضیحات */
.art-page #artPostsContainer .magazine-card-content p {
    margin: 0;
    color: var(--art-muted);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 2.2;
    overflow-wrap: anywhere;
}

/* دسته‌بندی */
.art-page #artPostsContainer .magazine-card-content .post-category {
    color: var(--art-accent);
    font-size: 13px;
}

/* تاریخ */
.art-page #artPostsContainer .magazine-card-content time {
    margin-top: 8px;
    color: var(--art-muted);
    font-size: 12px;
}

/* کارت بدون تصویر */
.art-page #artPostsContainer > article.magazine-card:not(:has(> .post-media-button)) {
    grid-template-columns: minmax(0, 1fr);
    min-height: 280px;
}

/* جلوگیری از بیرون‌زدگی محتوا */
.art-page #artPostsContainer *,
.art-page .art-feature * {
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

/* تبلت */
@media (max-width: 900px) {
    .art-page .art-published-section {
        margin-right: 4vw;
        margin-left: 4vw;
    }

    .art-page #artPostsContainer.art-posts-container {
        gap: 28px;
    }

    .art-page #artPostsContainer > article.magazine-card {
        grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
        min-height: 430px;
    }

    .art-page #artPostsContainer > article.magazine-card > .post-media-button,
    .art-page #artPostsContainer .post-media-button img {
        min-height: 430px;
    }

    .art-page #artPostsContainer .magazine-card-content {
        padding: 28px;
        gap: 16px;
    }
}

/* موبایل */
@media (max-width: 650px) {
    .art-page .art-published-section {
        margin: 30px 12px 45px;
    }

    .art-page #artPostsContainer.art-posts-container {
        gap: 24px;
    }

    .art-page #artPostsContainer > article.magazine-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .art-page #artPostsContainer > article.magazine-card > .post-media-button {
        flex: none;
        width: 100%;
        height: min(78vw, 520px);
        min-height: 0;
    }

    .art-page #artPostsContainer .post-media-button img {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        object-fit: contain;
    }

    .art-page #artPostsContainer .magazine-card-content {
        width: 100%;
        padding: 26px 22px 30px;
        gap: 14px;
    }

    .art-page #artPostsContainer .magazine-card-content h2 {
        font-size: 23px;
    }

    .art-page #artPostsContainer .magazine-card-content p {
        font-size: 15px;
        line-height: 2.1;
    }

    .art-page .art-feature-image-wrap {
        height: min(85vw, 440px);
    }
}

/* موبایل‌های کوچک */
@media (max-width: 380px) {
    .art-page .art-published-section {
        margin-right: 8px;
        margin-left: 8px;
    }

    .art-page #artPostsContainer > article.magazine-card > .post-media-button {
        height: 78vw;
    }

    .art-page #artPostsContainer .magazine-card-content {
        padding: 22px 17px;
    }
}