/* Iran Print Pack & Paper 2026 - Modern Redesign Clean CSS
   Clean version without duplicated v4/v5/v6/v7/v8 override blocks.
   Use this file instead of the old modern-redesign-v8.css.
*/

/* -----------------------------
   Global variables
----------------------------- */
:root {
  --ipp-cyan: #00a6d6;
  --ipp-magenta: #e6007e;
  --ipp-yellow: #ffd200;
  --ipp-black: #111820;

  --ipp-red: #e6007e;
  --ipp-red-dark: #b90065;
  --ipp-blue: #002b45;
  --ipp-blue-soft: #005f7f;
  --ipp-gold: #ffd200;
  --ipp-light: #f7fbfd;
  --ipp-text: #22313a;
  --ipp-muted: #61717b;

  --ipp-radius: 22px;
  --ipp-shadow: 0 22px 70px rgba(0, 38, 51, 0.14);
}

/* -----------------------------
   Base typography
----------------------------- */
body.modern-home {
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(0,166,214,.08), transparent 22%),
    radial-gradient(circle at 92% 18%, rgba(230,0,126,.07), transparent 24%),
    #fff;
  color: var(--ipp-text);
}

body.modern-home h1,
body.modern-home h2,
body.modern-home h3,
body.modern-home .h1 {
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  letter-spacing: -0.04em;
}

body.modern-home p {
  color: var(--ipp-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* -----------------------------
   Navigation
----------------------------- */
.modern-nav {
  padding: 0 2.3rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  background: linear-gradient(90deg, rgba(0,43,69,.28), rgba(17,24,32,.12));
}

.modern-nav .top-nav li a {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  opacity: .86;
  padding: 1.55rem .82rem;
}

.modern-nav .top-nav li a:hover {
  opacity: 1;
  background: rgba(255,255,255,.12) !important;
}

nav.fixed.modern-nav,
.fixed nav.modern-nav {
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 35px rgba(0,0,0,.07);
}

nav.fixed.modern-nav .top-nav li a,
.fixed nav.modern-nav .top-nav li a {
  color: #444;
}

.modern-nav .language-switch a {
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  padding: 0.55rem 0.85rem !important;
  margin: 0.85rem 0.15rem;
  line-height: 1;
  font-weight: 800;
  opacity: 1;
}

.modern-nav.fixed .language-switch a,
.fixed .modern-nav .language-switch a {
  border-color: rgba(0,0,0,0.18);
}

.modern-nav .language-switch a.active-lang,
.modern-nav .language-switch a:hover {
  background: linear-gradient(135deg, #00AEEF, #EC008C, #FFD200);
  border-color: transparent;
  color: #111 !important;
}

.modern-nav .top-nav ul {
    display: flex;
    justify-content: center;
    width: 100%;
}

.modern-nav .top-nav {
    padding-right: 100px;
}

/* -----------------------------
   Hero
----------------------------- */
.hero-2025 {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #fff;
}

.hero-2025 > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.02);
  filter: saturate(1.18) contrast(1.06);
}

/* One subtle overlay only. No duplicated dotted pattern. */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,43,69,.32) 0%,
    rgba(0,43,69,.16) 42%,
    rgba(0,43,69,.04) 78%,
    rgba(0,43,69,0) 100%
  );
}

.hero-2025::after {
  display: none !important;
  content: none !important;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 60px;
}

.hero .hero-inner,
.hero-2025 .hero-inner,
.hero-2026 .hero-inner,
.hero-inner {
    padding-top: 60px !important;
}

/* Extra safety for the event badge */
.event-badge {
    margin-top: 25px !important;
}

.event-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ipp-magenta);
  background: linear-gradient(90deg, rgba(0,166,214,.10), rgba(230,0,126,.10), rgba(255,210,0,.14));
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .09em;
  margin-bottom: 18px;
}

.event-badge {
  color: #fff;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  margin-top: 0;
}

.section-label.light {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.hero-2025 h1 {
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: .92;
  margin-bottom: 26px;
  max-width: 950px;
  text-shadow: 0 2px 10px rgba(0,0,0,.28);
}

.hero-lead {
  color: rgba(255,255,255,.92) !important;
  font-size: clamp(1.1rem, 2vw, 1.45rem) !important;
  max-width: 680px;
  text-shadow: 0 1px 8px rgba(0,0,0,.22);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.hero-meta span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.modern-btn,
a.modern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: .25s ease;
}

.modern-btn.primary {
  background: linear-gradient(135deg, var(--ipp-cyan), var(--ipp-magenta));
  color: #fff !important;
  box-shadow: 0 18px 45px rgba(0,166,214,.28), 0 10px 32px rgba(230,0,126,.22);
}

.modern-btn.secondary {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
}

.modern-btn:hover {
  transform: translateY(-2px);
}

/* -----------------------------
   Event cards
----------------------------- */
.event-cards {
    position: relative;
    z-index: 3;
    margin: 40px auto 0 auto !important;
    max-width: 1200px;
    display: grid !important;
    grid-template-columns: repeat(3, 320px);
    gap: 40px;
    justify-content: center;
}

.event-cards > div {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  box-sizing: border-box !important;
}

.event-card,
.event-card.featured {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 190px;
  box-sizing: border-box;
  background: #fff !important;
  color: var(--ipp-text) !important;
  border-radius: var(--ipp-radius);
  padding: 34px;
  box-shadow: var(--ipp-shadow);
  border: 1px solid rgba(0,38,51,.06);
}

.event-card::before {
  display: none !important;
  content: none !important;
}

.event-card i,
.event-card.featured i {
  font-size: 34px;
  color: var(--ipp-cyan) !important;
  margin-bottom: 18px;
  display: block;
}

.event-card h3,
.event-card.featured h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--ipp-text) !important;
}

.event-card h3::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ipp-cyan), var(--ipp-magenta), var(--ipp-yellow));
  margin-bottom: 18px;
}

.event-card p,
.event-card.featured p {
  margin: 0;
  font-weight: 700;
  color: var(--ipp-muted) !important;
  line-height: 1.65;
}

/* -----------------------------
   Common sections
----------------------------- */
.intro-section,
.why-section,
.services-modern {
  background: #fff;
}

.intro-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 0 var(--ipp-radius) var(--ipp-radius) 0;
  box-shadow: var(--ipp-shadow);
}

.intro-copy {
  padding: 40px 30px 40px 60px;
}

.intro-copy h2,
.why-section h2,
.sectors-section h2,
.services-modern h2,
.cta-section h2,
.stats-modern h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  color: var(--ipp-blue);
}

.section-intro {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.mini-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.mini-highlights span,
.sectors-grid div {
  background: var(--ipp-light);
  color: var(--ipp-blue);
  border: 1px solid rgba(0,38,51,.08);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
}

/* -----------------------------
   Why and service cards
----------------------------- */
.why-section > .line.margin-top-40,
.services-modern > .line.margin-top-40 {
  display: grid !important;
  align-items: stretch !important;
  gap: 28px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.why-section > .line.margin-top-40 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.services-modern > .line.margin-top-40 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.why-section > .line.margin-top-40 > div,
.services-modern > .line.margin-top-40 > div {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  box-sizing: border-box !important;
}

.why-card,
.service-card {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(0,38,51,.08);
  border-radius: var(--ipp-radius);
  padding: 32px;
  box-shadow: 0 15px 45px rgba(0,38,51,.08);
  transition: .25s ease;
}

.why-card {
  min-height: 320px;
}

.service-card {
  min-height: 390px;
}

.why-card::before,
.service-card::before {
  display: none !important;
  content: none !important;
}

.why-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ipp-shadow);
}

.why-card h3,
.service-card h3 {
  color: var(--ipp-blue);
  font-size: 1.35rem;
}

.why-card h3::before,
.service-card h3::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ipp-cyan), var(--ipp-magenta), var(--ipp-yellow));
  margin-bottom: 18px;
}

.why-card p,
.service-card p {
  line-height: 1.65;
}

.service-card a {
  color: var(--ipp-magenta) !important;
  font-weight: 800;
  margin-top: auto;
  align-self: flex-start;
}

/* -----------------------------
   Sectors
----------------------------- */
.sectors-section {
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  padding-left: 40px;
}

.sectors-grid div {
  border-radius: 18px;
  background: #fff;
  padding: 22px;
}

.sectors-grid div:nth-child(4n+1) { border-left: 5px solid var(--ipp-cyan); }
.sectors-grid div:nth-child(4n+2) { border-left: 5px solid var(--ipp-magenta); }
.sectors-grid div:nth-child(4n+3) { border-left: 5px solid var(--ipp-yellow); }
.sectors-grid div:nth-child(4n+4) { border-left: 5px solid var(--ipp-black); }

/* -----------------------------
   Stats
----------------------------- */
.stats-modern {
  padding: 90px 1.25rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,166,214,.28), transparent 30%),
    radial-gradient(circle at 78% 24%, rgba(230,0,126,.24), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(255,210,0,.18), transparent 34%),
    linear-gradient(135deg, #002b45 0%, #111820 100%);
}

.stats-modern h2 {
  color: #fff;
}

.stats-grid,
.stats-modern .stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px;
  margin-top: 40px;
}

.stats-grid div,
.stats-modern .stats-grid > div {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--ipp-radius);
  padding: 34px 18px;
  text-align: center;
  box-sizing: border-box;
}

.stats-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 12px;
}

.stats-grid span {
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

/* -----------------------------
   CTA and footer
----------------------------- */
.cta-section {
  padding: 90px 1.25rem;
  background: linear-gradient(135deg, rgba(0,166,214,.08) 0%, rgba(230,0,126,.08) 52%, rgba(255,210,0,.14) 100%);
}

.cta-section p {
  max-width: 620px;
  margin: 0 auto 28px;
}

.footer-contact h3 {
  color: #fff;
  letter-spacing: 0;
}

.footer-contact a {
  color: #fff !important;
}

.footer-bottom p {
  margin: 0;
  font-size: .9rem;
}

/* -----------------------------
   Responsive
----------------------------- */
@media screen and (max-width: 1100px) {
  .why-section > .line.margin-top-40,
  .stats-modern .stats-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .services-modern > .line.margin-top-40,
  .event-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 900px) {
  .event-cards,
  .why-section > .line.margin-top-40,
  .services-modern > .line.margin-top-40,
  .stats-modern .stats-grid,
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .event-cards > div,
  .why-section > .line.margin-top-40 > div,
  .services-modern > .line.margin-top-40 > div {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    display: block !important;
  }

  .event-card,
  .why-card,
  .service-card {
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    padding: 28px 24px !important;
    border-radius: 24px !important;
  }

  .why-card h3,
  .service-card h3,
  .event-card h3 {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .why-card p,
  .service-card p,
  .event-card p {
    font-size: 0.98rem !important;
    line-height: 1.65rem !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
}

@media screen and (max-width: 768px) {
  .modern-nav {
    padding: 0 1rem;
    background: rgba(255,255,255,.98) !important;
  }

  .modern-nav .language-switch a {
    display: inline-block;
    margin: 0.35rem auto;
  }

  .hero-2025 {
    min-height: 720px;
  }

  

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(0,43,69,.42) 0%,
      rgba(0,43,69,.24) 100%
    );
  }

  .hero-buttons,
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-copy {
    padding: 35px 0 0;
  }

  .intro-image img {
    min-height: 320px;
    border-radius: var(--ipp-radius);
  }

  .sectors-grid {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
}

@media screen and (max-width: 480px) {
  .event-cards,
  .why-section > .line.margin-top-40,
  .services-modern > .line.margin-top-40,
  .stats-modern .stats-grid,
  .stats-grid {
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 16px !important;
  }

  .event-card,
  .why-card,
  .service-card {
    padding: 26px 22px !important;
  }

  .event-badge,
  .section-label {
    font-size: .95rem;
  }
}

.contact-card {
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(0,38,51,.08);
    border-radius: var(--ipp-radius);
    padding: 32px;
    box-shadow: 0 15px 45px rgba(0,38,51,.08);
    transition: .25s ease;
}


/* =========================================================
   FINAL MOBILE NAVIGATION FIX
   Independent header/menu, avoiding Responsee mobile menu conflict.
========================================================= */
body.modern-home {
  overflow-x: hidden;
}

/* Hide possible Responsee/generated mobile menu controls so only one hamburger appears. */
.nav-text,
.top-nav > a,
.top-nav > span,
.top-nav > button,
.modern-menu-toggle,
.modern-nav-bar {
  display: none !important;
}

.ipp-header {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
}

.ipp-nav {
  width: 100%;
  min-height: 86px;
  padding: 0 2.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(90deg, rgba(0,43,69,.28), rgba(17,24,32,.12));
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  box-sizing: border-box;
}

.ipp-logo {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  line-height: 1;
}

.ipp-logo img {
  display: block;
  max-height: 62px;
  width: auto;
  max-width: 245px;
  object-fit: contain;
}

/* Logo switching:
   Desktop navigation has a dark/transparent background, so use logo.png.
   Mobile navigation has a white background, so use logo-dark.png. */
.ipp-logo-light {
  display: block !important;
}

.ipp-logo-dark {
  display: none !important;
}

.ipp-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.ipp-menu ul {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ipp-menu li {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.ipp-menu a {
  display: block !important;
  padding: 1.55rem .68rem !important;
  color: #fff !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  letter-spacing: .035em;
  text-decoration: none !important;
  opacity: .9;
  white-space: nowrap;
  border: 0 !important;
  background: transparent !important;
}

.ipp-menu a:hover,
.ipp-menu a:focus {
  opacity: 1;
  background: rgba(255,255,255,.12) !important;
}

.ipp-language a {
  border: 1px solid rgba(255,255,255,0.45) !important;
  border-radius: 999px !important;
  padding: .55rem .78rem !important;
  margin-left: .25rem !important;
}

.ipp-language a.active-lang,
.ipp-language a:hover {
  background: linear-gradient(135deg, #00AEEF, #EC008C, #FFD200) !important;
  border-color: transparent !important;
  color: #111 !important;
}

.ipp-menu-button {
  display: none;
  width: 48px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(0,43,69,.15);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,38,51,.12);
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.ipp-menu-button span {
  display: block;
  width: 23px;
  height: 3px;
  border-radius: 999px;
  background: var(--ipp-blue);
  transition: .22s ease;
}

.ipp-nav.is-open .ipp-menu-button span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.ipp-nav.is-open .ipp-menu-button span:nth-child(2) {
  opacity: 0;
}

.ipp-nav.is-open .ipp-menu-button span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media screen and (max-width: 1180px) {
  .ipp-nav {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .ipp-logo img {
    max-width: 210px;
  }

  .ipp-menu a {
    font-size: .72rem !important;
    padding-left: .48rem !important;
    padding-right: .48rem !important;
  }
}

@media screen and (max-width: 980px) {
  .ipp-header {
    position: fixed !important;
  }

  .ipp-nav {
    min-height: 78px;
    padding: .7rem 1rem;
    background: rgba(255,255,255,.98) !important;
    border-bottom: 1px solid rgba(0,38,51,.08) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.08) !important;
  }

  .ipp-logo img {
    max-height: 52px;
    max-width: 230px;
  }


  .ipp-logo-light {
    display: none !important;
  }

  .ipp-logo-dark {
    display: block !important;
  }

  .ipp-menu-button {
    display: inline-flex !important;
  }

  .ipp-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .28s ease, opacity .2s ease, visibility .2s ease;
  }

  .ipp-nav.is-open .ipp-menu {
    max-height: calc(100vh - 95px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .ipp-menu ul {
    display: block !important;
    width: 100% !important;
    padding: .55rem !important;
    background: #fff !important;
    border: 1px solid rgba(0,38,51,.08) !important;
    border-radius: 22px !important;
    box-shadow: 0 22px 55px rgba(0,38,51,.18) !important;
  }

  .ipp-menu li {
    width: 100% !important;
    border-bottom: 1px solid rgba(0,38,51,.07) !important;
  }

  .ipp-menu li:last-child {
    border-bottom: 0 !important;
  }

  .ipp-menu a {
    width: 100% !important;
    padding: .92rem 1rem !important;
    color: var(--ipp-blue) !important;
    font-size: .94rem !important;
    text-align: left !important;
    border-radius: 14px !important;
    white-space: normal !important;
    opacity: 1 !important;
  }

  .ipp-menu a:hover,
  .ipp-menu a:focus {
    background: rgba(0,166,214,.10) !important;
    color: var(--ipp-magenta) !important;
  }

  .ipp-language {
    display: inline-block !important;
    width: auto !important;
    border-bottom: 0 !important;
    margin-top: .4rem !important;
    margin-right: .35rem !important;
  }

  .ipp-language a {
    width: auto !important;
    display: inline-flex !important;
    padding: .68rem .9rem !important;
    margin: .1rem !important;
    border-color: rgba(0,38,51,.16) !important;
  }

  .hero-2025 {
    padding-top: 78px !important;
    min-height: 690px !important;
  }
}

@media screen and (max-width: 480px) {
  .ipp-nav {
    min-height: 72px;
    padding: .55rem .75rem;
  }

  .ipp-logo img {
    max-height: 44px;
    max-width: 205px;
  }

  .ipp-menu-button {
    width: 44px;
    height: 41px;
    border-radius: 14px;
  }

  .hero-2025 {
    padding-top: 72px !important;
    min-height: 720px !important;
  }

  .hero-2025 h1 {
    font-size: clamp(2.55rem, 13vw, 4rem) !important;
  }

  .event-badge {
    font-size: .9rem !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 360px) {
  .ipp-logo img {
    max-width: 178px;
  }

  .ipp-menu-button {
    width: 42px;
    height: 39px;
  }
}


/* =========================================================
   CONTACT PAGE MOBILE CARD FIX
   Forces sales-agent contact cards to appear one per row on
   mobile and tablet widths, instead of two side-by-side cards.
========================================================= */
@media screen and (max-width: 980px) {
  .modern-home .margin > .s-8.m-6.l-3.margin-m-bottom,
  .modern-home .margin > .s-8.m-6.l-3.margin-m-bottom:has(.contact-card) {
    float: none !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .modern-home .margin > .s-8.m-6.l-3.margin-m-bottom .contact-card {
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
  }

  .modern-home .contact-card img {
    max-width: 100% !important;
    height: auto !important;
  }

  .modern-home .contact-card p {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

@media screen and (max-width: 480px) {
  .modern-home .margin > .s-8.m-6.l-3.margin-m-bottom,
  .modern-home .margin > .s-8.m-6.l-3.margin-m-bottom:has(.contact-card) {
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .modern-home .contact-card {
    padding: 26px 22px !important;
  }
}
