.contentBox {
  max-width: 1200rem;
  margin-inline: auto;
}
a{
  text-decoration: none;
}
.DiNapoli-section2 {
  padding: 120rem 0;
  background-color: #fafafa;
}
h2,
h3 {
  text-align: center;
}
.sectionBtn {
  width: fit-content;
  min-width: 160rem;
  margin-inline: auto;
}
.sectionBtn:hover {
  color: #fff;
}
.DiNapoli-section2 h3 {
  margin: 24rem 0 64rem;
  color: var(--ebc-text-secondary);
}

.section2-Container {
  border-radius: var(--ebc-corner-radius-rc24);
  background: var(--ebc-neutral-bg_a);
  margin-top: 64rem;
  gap: 102rem;
  overflow: hidden;
  position: relative;
  height: 430rem;
  padding-left: 100rem;
}
.section2-Container .info img {
  width: 32rem;
  height: 32rem;
  margin-right: 20rem;
}
.ar .section2-Container{
  padding-left: 0;
  padding-right: 50rem;
}
.ar .section2-Container .info img {
  margin-left: 20rem;
}

.section2-Container .info ul {
  max-width: 350rem;
}
.section2-Container .info ul li {
  display: flex;
  align-items: center;
}
.section2-Container .info ul li {
  margin-bottom: 40rem;
  color: var(--ebc-text-secondary);
}
.section2-Container .info ul li:last-child {
  margin-bottom: 0;
}
.DiNapoli-section2 .infoR {
  position: absolute;
  left: 386rem;
  top: 61rem;
}
.ar .DiNapoli-section2 .infoR {
  left: unset;
  right: 386rem;
}
.DiNapoli-section2 .infoR img {
  height: 308rem;
  width: auto;
}

@media (max-width: 996px) {
  .contentBox {
    margin-inline: 32rem;
  }
  .DiNapoli-section2 h3 {
    margin: 16rem 0 80rem;
  }
  .DiNapoli-section2 {
    padding: 160rem 0;
  }
  .section2-Container {
    border-radius: 16px;
    padding: 460rem 32rem 80rem;
    height: auto;
  }
  .DiNapoli-section2 .infoR {
    left: -146rem;
    top: 80rem;
    margin-bottom: 80rem;
  }
 .ar .DiNapoli-section2 .infoR {
  left: -146rem;
  right: unset;
 }

  .DiNapoli-section2 .infoR img {
    width: 900rem;
  }
  .section2-Container .info ul {
    max-width: unset;
  }
  .section2-Container .info ul li {
    flex-direction: column;
    text-align: center;
  }
  .section2-Container .info ul li img {
    width: 64rem;
    height: 64rem;
    margin-bottom: 24rem;
  }
  .section2-Container .info ul li:nth-child(-n + 2) {
    margin-bottom: 48rem;
  }
}

.DiNapoli-section3 {
  padding-bottom: 120rem;
  background-color: #fafafa;
}

.DiNapoli-section3 h3 {
  color: var(--ebc-text-secondary);
  margin: 24rem 0 64rem;
}

.section3-container {
  border-radius: var(--ebc-corner-radius-rc24);
  background: var(--ebc-neutral-bg_a);
  padding: 85rem 140rem 85rem 100rem;
  margin: 64rem 0;
  gap: 102rem;
}
.section3-container .info img {
  width: 32rem;
  height: 32rem;
  margin-right: 20rem;
}
.ar .section3-container .info img {
  margin-right: 0;
  margin-left: 20rem;
}

.section3-container .info ul {
  max-width: 465rem;
}
.section3-container .info ul .description {
  color: var(--ebc-text-secondary);
  margin-top: 5rem;
}
.section3-container .info ul li:nth-child(-n + 2) {
  margin-bottom: 40rem;
}
.section3-container .infoR img {
  margin-bottom: 40rem;
  margin-left: 22rem;
  height: 210rem;
  width: auto;
}
.section3-container .infoR .infoRTxt img {
  width: 10rem;
  height: auto;
  margin: 0;
}
.section3-container .infoR span {
  color: #9f734c;
  font-size: 14rem;
  font-weight: 700;
}

@media (max-width: 996px) {
  .DiNapoli-section3 h3 {
    margin: 16rem 0 80rem;
  }
  .section3-container {
    border-radius: 16px;
    padding: 80rem 32rem;
    flex-direction: column;
    margin: 80rem 0;
  }
  .section3-container .info {
    order: 2;
  }
  .section3-container .info ul {
    max-width: unset;
  }
  .section3-container .infoR img {
    height: 334rem;
    margin-bottom: 60rem;
    margin-left: 34rem;
  }
  .section3-container .infoR span {
    font-size: 22rem;
  }
  .section3-container .infoR .infoRTxt img {
    width: 15rem;
  }
  .section3-container .info ul li {
    flex-direction: column;
    gap: 24rem;
    text-align: center;
  }
  .section3-container .info ul li img {
    width: 64rem;
    height: 64rem;
  }
  .section3-container .info ul li:nth-child(-n + 2) {
    margin-bottom: 48rem;
  }
  .section3-container .info ul .description {
    margin-top: 12rem;
  }
  .sectionBtn {
    height: 80rem !important;
    font-size: 28rem !important;
  }
}

.DiNapoli-section4 {
  background: #fff;
  padding: 120rem 0;
}
.DiNapoli-section4 h2 {
  margin-bottom: 64rem;
}
.section4CardList {
  gap: 24rem;
}
@media (min-width: 996px) {
.section4-slide,.section4CardList {
overflow: visible!important;
}

}
.section4CardList .swiper-slide{
  height: auto!important;
}
.section4Card {
  flex: 0 0 384rem;
  border-radius: 16px;
  background: var(--ebc-neutral-bg_b, #f7f7f7);
  display: flex;
  flex-direction: column;
  padding: 32rem 22rem;
  min-height: 356px;
  transition: all 0.5s ease-in-out;
  border: 1px solid transparent;
  box-sizing: border-box;
}
.section4Card:hover {
  transform: translateY(-16rem);
  border: 1px solid var(--ebc-brand-secondary-gold);
  background: var(--ebc-neutral-beige, #f9f6f2);
}
.section4Card img {
  height: 24rem;
  width: 120rem;
}
.section4Card .evaluate {
  margin: 24rem 0 auto;
}
.section4Card .writerPart {
  display: flex;
  gap: 16rem;
  margin-top: 15rem;
}
.section4Card .writerPart .writerWork {
  color: var(--ebc-text-secondary);
  margin-top: 2rem;
  text-overflow: ellipsis;
  display: -webkit-box; /* 必须 */
  -webkit-box-orient: vertical; /* 必须 */
  -webkit-line-clamp: 1; /* 行数，想省略几行就写几 */
  overflow: hidden;
}
.section4Card .writerPart .header {
  flex: 0 0 48rem;
  width: 48rem;
  height: 48rem;
  border-radius: 50%;
  background: var(--ebc-brand-primary-burgundy);
  font-size: 28rem;
  font-weight: 500;
  text-align: center;
  line-height: 48rem;
  color: #e6ddcf;
}
@media (max-width: 996px) {
  .DiNapoli-section4 {
    padding: 160rem 0;
    overflow: hidden;
  }
  .DiNapoli-section4 h2 {
    margin-bottom: 80rem;
  }
  .section4CardList {
    gap: 48rem;
    transition-timing-function: linear !important;
  }
  .section4Card {
    flex: 0 0 768rem;
    padding: 64rem 48rem;
  }
  .section4Card:hover {
    transform: translateY(0rem);
    background: var(--ebc-neutral-bg_b, #f7f7f7);
    border: 1px solid transparent;
  }

  .section4Card img {
    height: 48rem;
    width: 240rem;
  }
  .section4Card .evaluate {
    margin: 48rem 0 auto;
  }
  .section4Card .writerPart {
    gap: 32rem;
  }
  .section4Card .writerPart .writerWork {
    margin-top: 4rem;
  }
  .section4Card .writerPart .header {
    flex: 0 0 96rem;
    width: 96rem;
    height: 96rem;
    font-size: 48rem;
    line-height: 96rem;
  }
}

.DiNapoli-section5 {
  padding: 120rem 0 170rem;
  background: #fafafa;
}
.DiNapoli-section5 h3 {
  color: var(--ebc-text-secondary);
  margin: 24rem 0 40rem;
}
@media (min-width: 996px) {
  .dinapoli-shell {
    margin-top: 64rem;
  }
  :root {
    --active-w: 690px;
    --active-h: 390px;
    --side-w: 491px;
    --side-h: 276px;
    --mid-w: 960px; /* 中间轮播图区域宽度 */
    --shell-w: 1200px; /* 整体宽度 */
    --overlap: 356px; /* 背面图嵌入 active 的宽度（491-135=356，对应每侧露出 135） */
    --btn-size: 64px;
    --btn-hover: #a52933;
    --radius: 20px;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
  }

  /* =========================
         轮播布局（只作用于该模块）
         ========================= */

  /* 1200 外框：左右按钮 + 中间 960 轮播区域 */
  .DiNapoli-section5 .dinapoli-shell {
    width: var(--shell-w);
    max-width: 100%;
    display: grid;
    grid-template-columns: 120px var(--mid-w) 120px;
    grid-template-rows: auto auto;
    column-gap: 0;
    row-gap: 18px;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .DiNapoli-slide {
    width: var(--mid-w);
    height: var(--active-h);
    position: relative;
    overflow: hidden; /* 严格裁切中间 960px 区域 */
    grid-column: 2;
    grid-row: 1;
  }

  .DiNapoli-slide .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }

  /* 每个 slide：绝对定位（参考 carousel_center_overlap） */
  .DiNapoli-slide .swiper-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--side-w);
    height: var(--side-h);
    border-radius: var(--radius);
    overflow: hidden;
    background: #eee;
    will-change: transform, opacity, filter;
    transition: transform 520ms var(--ease), opacity 520ms var(--ease),
      filter 520ms var(--ease), box-shadow 520ms var(--ease);
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.98);
  }

  .DiNapoli-slide .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* 左右背面偏移：嵌入 overlap（每侧露出=side-overlap=135） */
  .DiNapoli-slide {
    --side-offset: calc(
      (var(--active-w) / 2) - var(--overlap) + (var(--side-w) / 2)
    );
  }

  .DiNapoli-slide .swiper-slide.is-active {
    width: var(--active-w);
    height: var(--active-h);
    z-index: 3;
    opacity: 1;
    filter: none;
    pointer-events: auto;
    transform: translate(-50%, -50%) translateZ(0);
  }

  .DiNapoli-slide .swiper-slide.is-prev,
  .DiNapoli-slide .swiper-slide.is-next {
    z-index: 1;
    opacity: 0.36;
    filter: saturate(0.85) brightness(1.04);
    pointer-events: auto;
  }

  .DiNapoli-slide .swiper-slide.is-prev {
    transform: translate(-50%, -50%) translateX(calc(-1 * var(--side-offset)))
      translateZ(-10px);
  }
  .DiNapoli-slide .swiper-slide.is-next {
    transform: translate(-50%, -50%) translateX(var(--side-offset))
      translateZ(-10px);
  }

  .DiNapoli-slide .swiper-slide.is-hidden {
    opacity: 0;
    filter: blur(2px);
    transform: translate(-50%, -50%) scale(0.98);
    pointer-events: none;
  }
 
  .DiNapoli-section5 .dinapoli-nav {
    position: relative;
    width: var(--btn-size);
    height: var(--btn-size);
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #000; /* SVG stroke: currentColor */
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
      color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 5;
    justify-self: center;
  }
.DiNapoli-section5 .dinapoli-nav:hover svg{
  fill: #a52933;
}
  .DiNapoli-section5 .dinapoli-nav:hover svg path {
    stroke: var(--ebc-text-primary_white);
  }

  .DiNapoli-section5 .dinapoli-nav:focus-visible {
    outline: 3px solid rgba(165, 41, 51, 0.35);
    outline-offset: 4px;
  }

  .DiNapoli-section5 .dinapoli-prev {
    grid-column: 1;
    grid-row: 1;
  }
  .DiNapoli-section5 .dinapoli-next {
    grid-column: 3;
    grid-row: 1;
  }
  .DiNapoli-section5 .dinapoli-next svg {
    transform: rotate(180deg);
  }
}

.DiNapoli-section5 .swiper-pagination {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}
.DiNapoli-section5 .swiper-pagination-bullet {
  width: 12px;
  height: 2px;
  border: 0;
  padding: 0;
  border-radius:var(--ebc-corner-radius-full);
  background: rgba(0, 0, 0, 0.12);
  opacity: 1;
  margin: 0 6px !important;
}
.DiNapoli-section5 .swiper-pagination-bullet[aria-current="true"],
.DiNapoli-section5 .swiper-pagination-bullet-active {
  background: var(--ebc-brand-secondary-red);
  width: 32px;
}
@media (max-width: 996px) {
   .DiNapoli-slide img{
    width: 100%;
    height: auto;
  }
  .DiNapoli-section5 {
    padding: 160rem 0 225rem;
  }
  .DiNapoli-section5 h3 {
    margin: 16rem 0 80rem;
  }
  .dinapoli-shell {
    margin-top: 80rem;
    position: relative;
  }
  .dinapoli-shell img {
    border-radius: 8px;
  }
  .dinapoli-shell button {
    display: none;
  }
}

.DiNapoli-crumbs {
  background-color: #fff;
  padding: calc(80px + 10rem) 0 16rem;
}

.DiNapoli-crumbs span:nth-child(1) {
  color: var(--ebc-text-secondary);
}

.DiNapoli-crumbs svg {
  margin-inline: 16rem;
  width: 5px;
  height: 10px;
}

.DiNapoli-section1 {
  padding-bottom: 17rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.DiNapoli-section1 .contentBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80rem;
}
.DiNapoli-section1 .contentBox .right {
  flex: 0 0 474rem;
}
.DiNapoli-section1 .contentBox .right img {
  width: 474rem;
  height: auto;
}
.DiNapoli-section1 .controlTitle {
  color: var(--ebc-text-secondary);
  margin: 48rem 0 64rem;
}
.DiNapoli-section1 .leftBottom {
  display: flex;
  gap: 56rem;
  color: var(--ebc-brand-secondary-gold);
}
.DiNapoli-section1 .leftBottom.enType{
    flex-direction: column;
    gap: 16rem;
}
.DiNapoli-section1 .leftBottom li {
  display: flex;
  gap: 12rem;
  align-items: center;
}
.DiNapoli-section1 .leftBottom li img {
  width: 48rem;
  height: 48rem;
}
.DiNapoli-section1 .leftBottom.enType li img{
    width: 28rem;
    height: 28rem;
}
@media (max-width: 996px) {
  .DiNapoli-section1 {
    background: #fff;
    padding: 60rem 0 160rem;
  }
  .DiNapoli-section1 .contentBox {
    flex-direction: column;
    gap: 32rem;
    text-align: center;
  }
  .DiNapoli-section1 .contentBox .left {
    order: 2;
  }
  .DiNapoli-section1 .contentBox .right {
    flex: 1;
  }
  .DiNapoli-section1 .contentBox .showMore {
    color: var(--ebc-brand-secondary-red);
    margin-bottom: 80rem;
  }
  .DiNapoli-section1 .contentBox .showMore svg {
    margin-left: 9rem;
    transform: translateY(-3rem);
  }
.ar  .DiNapoli-section1 .contentBox .showMore svg {
  margin-left: 0;
  margin-right: 9rem;
}

  .DiNapoli-section1 .contentBox .showMore.showAll svg {
    transform: translateY(-3rem) rotate(180deg);
  }
   .DiNapoli-section1 .contentBox .showMore .show{
    display: inline-block;
  }
  .DiNapoli-section1 .contentBox .showMore .hide{
    display: none;
  }
  .DiNapoli-section1 .contentBox .showMore.showAll .show{
    display: none;
  }
  .DiNapoli-section1 .contentBox .showMore.showAll .hide{
    display: inline-block;
  }
  .DiNapoli-section1 .controlTitle {
    margin: 16rem 0 40rem;
    text-overflow: ellipsis;
    display: -webkit-box; /* 必须 */
    -webkit-box-orient: vertical; /* 必须 */
    -webkit-line-clamp: 4; /* 行数，想省略几行就写几 */
    overflow: hidden;
  }
  .DiNapoli-section1 .controlTitle.showAll {
    -webkit-line-clamp: 100;
  }
  .ar .DiNapoli-section1 .leftBottom li div{
    text-align: right;
  }
  .DiNapoli-section1 .leftBottom{
    justify-content: center;
  }
  .DiNapoli-section1 .leftBottom.enType{
    justify-content: flex-start;
  }
  .DiNapoli-section1 .leftBottom li {
    flex-direction: column;
    gap: 16rem;
    justify-content: center;
    align-items: center;
  }
  .DiNapoli-section1 .leftBottom.enType li {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .DiNapoli-section1 .leftBottom li img {
    width: 80rem;
    height: 80rem;
  }
.DiNapoli-section1 .leftBottom.enType li img{
width: 56rem;
height: 56rem;
}
}
