/* فرهنگ مسابقات مهارت — page 2188 */
.iw-culture {
  --navy: #19476d;
  --navy-deep: #0d2f4a;
  --navy-ink: #071926;
  --accent: #d51067;
  --sand: #e8eef5;
  --muted: #5a6b7d;
  --cream: #f7fafc;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--navy-ink);
  background: #fff;
  overflow-x: clip;
  direction: rtl;
  text-align: right;
}

.iw-culture .container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.iw-culture .iwc-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.iw-culture .iwc-eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.iw-culture .iwc-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.iw-culture .iwc-section-head {
  max-width: none;
  width: 100%;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.iw-culture .iwc-section-head h2,
.iw-culture .iwc-intro__copy h2,
.iw-culture .iwc-iran__copy h2,
.iw-culture .iwc-partner__box h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

.iw-culture .iwc-section-head p,
.iw-culture .iwc-intro__copy p,
.iw-culture .iwc-osoc__points p,
.iw-culture .iwc-split__copy p,
.iw-culture .iwc-gift p,
.iw-culture .iwc-iran__copy p,
.iw-culture .iwc-partner__box p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-word;
}

.iw-culture .iwc-section-head p:last-child,
.iw-culture .iwc-intro__copy p:last-child,
.iw-culture .iwc-split__copy p:last-child,
.iw-culture .iwc-iran__copy p:last-child {
  margin-bottom: 0;
}

/* Hero */
.iw-culture .iwc-hero {
  position: relative;
  height: clamp(420px, 58vw, 560px);
  max-height: 70vh;
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.iw-culture .iwc-hero__media,
.iw-culture .iwc-hero__shade {
  position: absolute;
  inset: 0;
}

.iw-culture .iwc-hero__pattern {
  display: none;
}

.iw-culture .iwc-hero__media {
  z-index: 0;
}

.iw-culture .iwc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform: none;
  animation: none;
}

.iw-culture .iwc-hero__shade {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(7, 25, 38, 0.15) 0%,
    rgba(7, 25, 38, 0.2) 40%,
    rgba(7, 25, 38, 0.55) 68%,
    rgba(7, 25, 38, 0.88) 100%
  );
  pointer-events: none;
}

.iw-culture .iwc-hero__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
  max-width: min(1120px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  direction: rtl;
}

.iw-culture .iwc-hero .iwc-eyebrow {
  order: 1;
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.iw-culture .iwc-hero h1 {
  order: 2;
  margin: 0 0 0.85rem;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.55rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: none;
}

.iw-culture .iwc-hero .iwc-lead {
  order: 3;
  margin: 0;
  max-width: 34rem;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 500;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  text-align: right;
}

@media (max-width: 900px) {
  .iw-culture .iwc-hero {
    height: clamp(380px, 78vw, 480px);
    max-height: none;
  }
  .iw-culture .iwc-hero__media img {
    object-position: center 25%;
  }
  .iw-culture .iwc-hero h1 {
    max-width: none;
    white-space: normal;
  }
}

/* Intro */
.iw-culture .iwc-intro {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(25, 71, 109, 0.06), transparent 55%),
    var(--cream);
}

.iw-culture .iwc-intro__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.iw-culture .iwc-intro__copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(25, 71, 109, 0.1);
  box-shadow: 0 10px 28px rgba(13, 47, 74, 0.05);
}

.iw-culture .iwc-intro__copy h2 {
  margin: 0 0 0.9rem;
}

.iw-culture .iwc-intro__copy > p {
  text-align: justify;
  text-justify: inter-word;
}

.iw-culture .iwc-intro__aside {
  height: 100%;
}

.iw-culture .iwc-quote {
  margin-top: auto;
  margin-bottom: 0;
  padding: 1.1rem 1.2rem;
  border-right: 3px solid var(--accent);
  background: rgba(25, 71, 109, 0.05);
  border-radius: 14px;
}

.iw-culture .iwc-quote p {
  margin: 0 !important;
  color: var(--navy-deep) !important;
  font-weight: 700;
  font-size: 1.02rem !important;
  line-height: 1.8 !important;
  text-align: justify !important;
}

.iw-culture .iwc-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.85rem;
}

.iw-culture .iwc-pillars li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(25, 71, 109, 0.1);
  box-shadow: 0 10px 28px rgba(13, 47, 74, 0.05);
}

.iw-culture .iwc-pillars li:nth-child(1) {
  background: linear-gradient(145deg, #ffffff 0%, #eef5fb 100%);
}
.iw-culture .iwc-pillars li:nth-child(2) {
  background: linear-gradient(145deg, #ffffff 0%, #f3f0f7 100%);
}
.iw-culture .iwc-pillars li:nth-child(3) {
  background: linear-gradient(145deg, #ffffff 0%, #eef8f6 100%);
}

.iw-culture .iwc-pillars strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--navy-deep);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.iw-culture .iwc-pillars span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: justify;
}

/* OSOC */
.iw-culture .iwc-osoc__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.iw-culture .iwc-media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 18px 40px rgba(13, 47, 74, 0.12);
}

.iw-culture .iwc-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.iw-culture .iwc-media--frame {
  display: flex;
  flex-direction: column;
}

.iw-culture .iwc-media--frame img {
  min-height: 240px;
  flex: 1;
}

.iw-culture .iwc-media figcaption {
  padding: 0.85rem 1rem;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  line-height: 1.6;
}

.iw-culture .iwc-osoc__points {
  display: grid;
  gap: 0.9rem;
}

.iw-culture .iwc-osoc__points article {
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #f4f8fb, #fff);
  border: 1px solid rgba(25, 71, 109, 0.1);
}

.iw-culture .iwc-osoc__points h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--navy-deep);
}

.iw-culture .iwc-note {
  margin: 0.25rem 0 0 !important;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(213, 16, 103, 0.06);
  border: 1px solid rgba(213, 16, 103, 0.12);
  color: var(--navy-deep) !important;
  font-size: 0.95rem !important;
}

/* Pins */
.iw-culture .iwc-pins {
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(25, 71, 109, 0.08), transparent 55%),
    #fff;
}

.iw-culture .iwc-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.iw-culture .iwc-split__copy h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--navy-deep);
}

.iw-culture .iwc-list {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.iw-culture .iwc-list li {
  position: relative;
  padding-right: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.iw-culture .iwc-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.iw-culture .iwc-list--compact {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.iw-culture .iwc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.iw-culture .iwc-chip-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(25, 71, 109, 0.08);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Gifts */
.iw-culture .iwc-gifts {
  background: linear-gradient(180deg, #eef3f8 0%, #f8fafc 100%);
}

.iw-culture .iwc-gift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.iw-culture .iwc-gift {
  padding: 0.85rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(25, 71, 109, 0.1);
  box-shadow: 0 14px 34px rgba(13, 47, 74, 0.08);
}

.iw-culture .iwc-gift figure {
  margin: 0 0 1rem;
  border-radius: 14px;
  overflow: hidden;
}

.iw-culture .iwc-gift img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.iw-culture .iwc-gift h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--navy-deep);
}

/* Iran panel */
.iw-culture .iwc-iran {
  padding-top: 0;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.iw-culture .iwc-iran__panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(213, 16, 103, 0.28), transparent 55%),
    linear-gradient(145deg, #071926 0%, #0d2f4a 48%, #19476d 100%);
}

.iw-culture .iwc-iran__ornament {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(30deg, transparent 40%, rgba(255, 255, 255, 0.35) 41%, transparent 42%),
    linear-gradient(-30deg, transparent 40%, rgba(255, 255, 255, 0.25) 41%, transparent 42%);
  background-size: 42px 42px;
  pointer-events: none;
}

.iw-culture .iwc-iran__copy,
.iw-culture .iwc-iran__stats {
  position: relative;
  z-index: 1;
}

.iw-culture .iwc-iran__copy h2 {
  color: #fff;
}

.iw-culture .iwc-iran__copy p {
  color: rgba(255, 255, 255, 0.84) !important;
}

.iw-culture .iwc-iran__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.iw-culture .iwc-iran__stats > div {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.iw-culture .iwc-iran__stats strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
}

.iw-culture .iwc-iran__stats span {
  font-size: 0.86rem;
  opacity: 0.85;
  line-height: 1.5;
}

/* Partner CTA */
.iw-culture .iwc-partner {
  background: #fff;
  padding-top: 0;
}

.iw-culture .iwc-partner__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  background: linear-gradient(135deg, #f4f8fb, #fff);
  border: 1px solid rgba(25, 71, 109, 0.12);
}

.iw-culture .iwc-partner__box > div {
  max-width: 42rem;
}

.iw-culture .iwc-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.iw-culture .iwc-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

@keyframes iwcKen {
  from { transform: scale(1.04); }
  to { transform: scale(1.1) translate3d(-1%, -0.5%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .iw-culture .iwc-hero__media img,
  .iw-culture .iwc-btn {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .iw-culture .iwc-intro__grid,
  .iw-culture .iwc-osoc__layout,
  .iw-culture .iwc-split,
  .iw-culture .iwc-gift-grid {
    grid-template-columns: 1fr;
  }
  .iw-culture .iwc-pillars {
    grid-template-rows: none;
  }
  .iw-culture .iwc-intro__copy {
    height: auto;
  }
  .iw-culture .iwc-iran__stats {
    grid-template-columns: 1fr;
  }
  .iw-culture .iwc-partner__box {
    flex-direction: column;
    align-items: stretch;
  }
  .iw-culture .iwc-btn {
    width: 100%;
  }
}
