:root {
  --igp-navy: #002d69;
  --igp-navy-dark: #071a32;
  --igp-gold: #ffbd59;
  --igp-green: #25d366;
  --igp-ink: #16202f;
  --igp-muted: #5f6877;
  --igp-line: #e4e8ef;
  --igp-soft: #f5f7fb;
  --igp-white: #ffffff;
}

.igp-blog-post,
.igp-blog-archive {
  background: #ffffff;
}

body.igp-blog-post #masthead,
body.igp-blog-archive #masthead,
body.igp-blog-post .site-header,
body.igp-blog-archive .site-header {
  display: none !important;
}

body.igp-blog-post #content,
body.igp-blog-archive #content {
  padding-top: 18px !important;
}

body.igp-blog-archive #content > .container {
  margin-top: -52px;
}

.igp-blog-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--igp-line);
  box-shadow: 0 10px 30px rgba(22, 32, 47, 0.07);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 14px clamp(16px, 4vw, 52px);
  position: relative;
  z-index: 50;
}

.igp-blog-topbar__brand {
  color: var(--igp-navy-dark) !important;
  line-height: 1.05;
  text-decoration: none !important;
}

.igp-blog-topbar__brand strong,
.igp-blog-topbar__brand span {
  display: block;
}

.igp-blog-topbar__brand strong {
  font-size: 20px;
}

.igp-blog-topbar__brand span {
  color: #9a6410;
  font-size: 12px;
  font-weight: 900;
  margin-top: 4px;
  text-transform: uppercase;
}

.igp-blog-topbar__toggle {
  background: var(--igp-navy);
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: none;
  font-size: 13px;
  font-weight: 900;
  min-height: 42px;
  padding: 10px 16px;
}

.igp-blog-topbar__menu {
  min-width: 0;
}

.igp-blog-topbar__links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.igp-blog-topbar__links a,
.igp-blog-topbar__dropdown > button {
  background: var(--igp-soft);
  border: 1px solid var(--igp-line);
  border-radius: 999px;
  color: var(--igp-navy) !important;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  padding: 8px 11px;
  text-decoration: none !important;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.igp-blog-topbar__links a:hover,
.igp-blog-topbar__dropdown:hover > button,
.igp-blog-topbar__dropdown:focus-within > button {
  background: var(--igp-navy);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.igp-blog-topbar__dropdown {
  position: relative;
}

.igp-blog-topbar__submenu {
  background: #ffffff;
  border: 1px solid var(--igp-line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(22, 32, 47, 0.14);
  display: none;
  left: 50%;
  min-width: 230px;
  padding: 8px;
  position: absolute;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  z-index: 60;
}

.igp-blog-topbar__dropdown:hover .igp-blog-topbar__submenu,
.igp-blog-topbar__dropdown:focus-within .igp-blog-topbar__submenu {
  display: grid;
  gap: 6px;
}

.igp-blog-topbar__submenu a {
  border-radius: 10px;
  display: block;
  padding: 10px 12px;
}

.igp-blog-topbar__cta {
  min-height: 42px !important;
  padding: 10px 16px !important;
}

@media (max-width: 900px) {
  .igp-blog-topbar {
    gap: 10px;
    grid-template-columns: 1fr auto;
    padding: 12px;
    position: relative;
    top: auto;
  }

  .igp-blog-topbar__toggle {
    display: inline-flex;
    justify-content: center;
  }

  .igp-blog-topbar__menu {
    background: #ffffff;
    border: 1px solid var(--igp-line);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(22, 32, 47, 0.1);
    display: none;
    grid-column: 1 / -1;
    padding: 12px;
  }

  .igp-blog-topbar.is-open .igp-blog-topbar__menu {
    display: block;
  }

  .igp-blog-topbar__links {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
  }

  .igp-blog-topbar__links a,
  .igp-blog-topbar__dropdown > button {
    display: block;
    text-align: left;
    width: 100%;
  }

  .igp-blog-topbar__dropdown {
    width: 100%;
  }

  .igp-blog-topbar__submenu {
    border-radius: 12px;
    box-shadow: none;
    display: grid;
    gap: 6px;
    left: auto;
    margin-top: 8px;
    min-width: 0;
    position: static;
    transform: none;
    width: 100%;
  }

  .igp-blog-topbar__cta {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.igp-blog-archive .entry-title,
.igp-blog-archive .page-title,
.igp-blog-archive .post-title {
  display: none !important;
}

.igp-blog-post .entry-content,
.igp-blog-post .post-content,
.igp-blog-post article {
  color: var(--igp-ink);
}

.igp-blog-post .entry-content a,
.igp-blog-post .post-content a,
.igp-blog-hub a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.igp-blog-post a[href*="wa.me"],
.igp-blog-post a[href*="api.whatsapp.com"],
.igp-whatsapp {
  align-items: center !important;
  background: var(--igp-green) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-weight: 800 !important;
  gap: 9px !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  min-height: 46px !important;
  padding: 13px 22px !important;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease !important;
}

.igp-blog-post a[href*="wa.me"]::before,
.igp-blog-post a[href*="api.whatsapp.com"]::before,
.igp-whatsapp::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 32 32' fill='none'%3E%3Cpath fill='%23fff' d='M16.04 3C8.87 3 3.04 8.74 3.04 15.8c0 2.27.61 4.48 1.76 6.42L3 29l6.98-1.79a13.2 13.2 0 0 0 6.06 1.48c7.17 0 13-5.74 13-12.8S23.21 3 16.04 3Zm0 23.44c-1.86 0-3.68-.5-5.27-1.44l-.38-.23-4.14 1.06 1.1-4.01-.25-.41a10.45 10.45 0 0 1-1.6-5.6c0-5.82 4.73-10.55 10.54-10.55s10.54 4.73 10.54 10.55-4.73 10.63-10.54 10.63Zm5.78-7.89c-.32-.16-1.87-.91-2.16-1.02-.29-.1-.5-.16-.71.16-.21.31-.81 1.02-.99 1.22-.18.21-.37.23-.69.08-.32-.16-1.34-.49-2.55-1.55-.94-.83-1.58-1.86-1.76-2.18-.18-.31-.02-.48.14-.64.14-.14.32-.37.48-.55.16-.18.21-.31.32-.52.1-.21.05-.39-.03-.55-.08-.16-.71-1.69-.97-2.31-.26-.6-.52-.52-.71-.53h-.6c-.21 0-.55.08-.84.39-.29.31-1.1 1.06-1.1 2.6 0 1.53 1.13 3.02 1.29 3.22.16.21 2.23 3.36 5.4 4.72.75.32 1.34.51 1.8.65.76.24 1.45.2 1.99.12.61-.09 1.87-.75 2.13-1.48.26-.73.26-1.35.18-1.48-.08-.13-.29-.21-.61-.37Z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  flex: 0 0 22px;
  height: 22px;
  width: 22px;
}

.igp-blog-post a[href*="wa.me"]:hover,
.igp-blog-post a[href*="api.whatsapp.com"]:hover,
.igp-whatsapp:hover {
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.36) !important;
  filter: saturate(1.05);
  transform: translateY(-2px);
}

.igp-animate {
  animation: igpRise 520ms ease both;
}

@keyframes igpRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.igp-article-cover {
  margin: 28px auto;
  max-width: 1100px;
}

.igp-article-cover__frame {
  background: var(--igp-navy-dark);
  border: 1px solid rgba(0, 45, 105, 0.14);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(7, 26, 50, 0.14);
  overflow: hidden;
}

.igp-article-cover__image {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.igp-article-cover__caption {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--igp-line);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(22, 32, 47, 0.08);
  color: var(--igp-muted);
  display: flex;
  gap: 12px;
  margin: -24px 22px 0;
  padding: 14px 18px;
  position: relative;
}

.igp-article-cover__caption span {
  background: rgba(255, 189, 89, 0.24);
  border-radius: 999px;
  color: #7a4b00;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 11px;
  text-transform: uppercase;
}

.igp-article-cover__caption strong {
  color: var(--igp-ink);
  font-size: 14px;
}

.igp-blog-nav {
  align-items: center;
  background: rgba(245, 247, 251, 0.94);
  border: 1px solid var(--igp-line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(22, 32, 47, 0.08);
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(230px, 1fr);
  margin: 24px auto 34px;
  max-width: 1100px;
  padding: 15px;
}

.igp-blog-nav__brand {
  background: var(--igp-navy);
  border-radius: 999px;
  color: #ffffff !important;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none !important;
}

.igp-blog-nav__search {
  display: flex;
  gap: 8px;
}

.igp-blog-nav__search input,
.igp-hub-search input {
  background: #ffffff;
  border: 1px solid var(--igp-line);
  border-radius: 999px;
  color: var(--igp-ink);
  flex: 1;
  min-height: 46px;
  min-width: 0;
  padding: 0 16px;
}

.igp-blog-nav__search button,
.igp-hub-search button {
  background: var(--igp-gold);
  border: 0;
  border-radius: 999px;
  color: #111111;
  cursor: pointer;
  font-weight: 800;
  min-height: 46px;
  padding: 0 18px;
}

.igp-blog-nav__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
}

.igp-blog-nav__topics a,
.igp-topic-chip {
  background: #ffffff;
  border: 1px solid var(--igp-line);
  border-radius: 999px;
  color: var(--igp-navy) !important;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 13px;
  text-decoration: none !important;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.igp-blog-nav__topics a:hover,
.igp-topic-chip:hover,
.igp-topic-chip.is-active {
  background: var(--igp-navy);
  border-color: var(--igp-navy);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.igp-related,
.igp-blog-hub,
.igp-featured,
.igp-topic-section,
.igp-popular,
.igp-office {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.igp-related {
  background: linear-gradient(135deg, #f6f8fc 0%, #ffffff 100%);
  border: 1px solid var(--igp-line);
  border-radius: 22px;
  margin-bottom: 34px;
  margin-top: 34px;
  padding: 28px;
}

.igp-section-head {
  margin-bottom: 20px;
}

.igp-section-head span,
.igp-eyebrow {
  color: #9a6410;
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.igp-section-head h2 {
  color: var(--igp-ink);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.12;
  margin: 0 0 9px;
}

.igp-section-head p {
  color: var(--igp-muted);
  font-size: 16px;
  line-height: 1.62;
  margin: 0;
  max-width: 760px;
}

.igp-card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.igp-card-grid--featured,
.igp-card-grid--related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.igp-card {
  background: #ffffff;
  border: 1px solid var(--igp-line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(22, 32, 47, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.igp-card:hover {
  border-color: rgba(0, 45, 105, 0.28);
  box-shadow: 0 18px 44px rgba(22, 32, 47, 0.14);
  transform: translateY(-4px);
}

.igp-card__media {
  background: var(--igp-navy-dark);
  display: block;
  overflow: hidden;
  text-decoration: none !important;
}

.igp-card__image {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100%;
}

.igp-card:hover .igp-card__image {
  transform: scale(1.035);
}

.igp-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.igp-card__tag {
  color: #9a6410;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.igp-card h3 {
  font-size: 20px;
  line-height: 1.22;
  margin: 0;
}

.igp-card h3 a {
  color: var(--igp-ink) !important;
  text-decoration: none !important;
}

.igp-card p {
  color: var(--igp-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

.igp-card__meta {
  align-items: center;
  border-top: 1px solid var(--igp-line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 13px;
}

.igp-card__meta a {
  color: var(--igp-navy) !important;
  font-weight: 900;
  text-decoration: none !important;
}

.igp-card__meta span {
  color: var(--igp-muted);
  font-size: 12px;
}

.igp-blog-hub {
  color: var(--igp-ink);
  padding: 10px 18px 48px;
}

.igp-hub-hero {
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 189, 89, 0.22), transparent 30%),
    linear-gradient(135deg, var(--igp-navy-dark) 0%, var(--igp-navy) 100%);
  border-radius: 26px;
  color: #ffffff;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin: 18px 0 38px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  position: relative;
}

.igp-hub-hero::after {
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 48%, transparent 100%);
  content: "";
  height: 140%;
  position: absolute;
  right: 18%;
  top: -20%;
  transform: rotate(15deg);
  width: 160px;
}

.igp-hub-hero__content,
.igp-hub-hero__panel {
  position: relative;
  z-index: 1;
}

.igp-hub-hero h1 {
  color: #ffffff;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.02;
  margin: 0 0 16px;
  max-width: 820px;
}

.igp-hub-hero p {
  color: #e5edf7;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 780px;
}

.igp-hub-search {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: flex;
  gap: 8px;
  max-width: 720px;
  padding: 8px;
}

.igp-topic-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.igp-hub-hero__panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  padding: 22px;
}

.igp-hub-hero__panel strong {
  color: #ffffff;
  display: block;
  font-size: 23px;
  line-height: 1.2;
}

.igp-hub-hero__panel span {
  color: var(--igp-gold);
  display: block;
  font-weight: 900;
  margin-top: 6px;
}

.igp-hub-hero__panel p {
  font-size: 15px;
  line-height: 1.55;
  margin: 16px 0;
}

.igp-featured,
.igp-topic-section,
.igp-popular {
  margin-bottom: 46px;
}

.igp-paths {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 46px;
}

.igp-paths article {
  background: var(--igp-soft);
  border: 1px solid var(--igp-line);
  border-radius: 20px;
  padding: 24px;
}

.igp-paths span {
  color: #9a6410;
  font-weight: 900;
}

.igp-paths h2 {
  color: var(--igp-ink);
  font-size: 22px;
  line-height: 1.18;
  margin: 9px 0;
}

.igp-paths p {
  color: var(--igp-muted);
  line-height: 1.6;
  margin: 0;
}

.igp-office {
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--igp-line);
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(22, 32, 47, 0.1);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  margin-top: 28px;
  overflow: hidden;
}

.igp-office > div {
  padding: 34px;
}

.igp-office h2 {
  color: var(--igp-ink);
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 14px;
}

.igp-office p {
  color: var(--igp-muted);
  line-height: 1.65;
}

.igp-office iframe {
  border: 0;
  display: block;
  min-height: 360px;
  width: 100%;
}

.igp-no-results {
  background: #fff7e8;
  border: 1px solid rgba(255, 189, 89, 0.55);
  border-radius: 16px;
  color: #7a4b00;
  font-weight: 800;
  margin: 22px auto 0;
  max-width: 760px;
  padding: 16px 20px;
  text-align: center;
}

@media (max-width: 1080px) {
  .igp-card-grid,
  .igp-card-grid--featured,
  .igp-card-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .igp-hub-hero {
    grid-template-columns: 1fr;
  }

  .igp-hub-hero__panel {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .igp-blog-topbar {
    gap: 10px;
    grid-template-columns: 1fr auto;
    padding: 12px;
    position: relative;
    top: auto;
  }

  body.igp-blog-archive #content > .container {
    margin-top: -32px;
  }

  .igp-blog-topbar__toggle {
    display: inline-flex;
    justify-content: center;
  }

  .igp-blog-topbar__menu {
    background: #ffffff;
    border: 1px solid var(--igp-line);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(22, 32, 47, 0.1);
    display: none;
    grid-column: 1 / -1;
    padding: 12px;
  }

  .igp-blog-topbar.is-open .igp-blog-topbar__menu {
    display: block;
  }

  .igp-blog-topbar__links {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
  }

  .igp-blog-topbar__links a,
  .igp-blog-topbar__dropdown > button {
    display: block;
    text-align: left;
    width: 100%;
  }

  .igp-blog-topbar__dropdown {
    width: 100%;
  }

  .igp-blog-topbar__submenu {
    border-radius: 12px;
    box-shadow: none;
    display: grid;
    gap: 6px;
    left: auto;
    margin-top: 8px;
    min-width: 0;
    position: static;
    transform: none;
    width: 100%;
  }

  .igp-blog-topbar__cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .igp-blog-hub {
    padding-left: 12px;
    padding-right: 12px;
  }

  .igp-blog-nav {
    grid-template-columns: 1fr;
    margin-left: 12px;
    margin-right: 12px;
  }

  .igp-blog-nav__search,
  .igp-hub-search {
    border-radius: 20px;
    flex-direction: column;
  }

  .igp-blog-nav__search button,
  .igp-hub-search button {
    width: 100%;
  }

  .igp-article-cover__caption {
    align-items: flex-start;
    flex-direction: column;
    margin-left: 12px;
    margin-right: 12px;
  }

  .igp-related {
    border-radius: 18px;
    margin-left: 12px;
    margin-right: 12px;
    padding: 20px;
  }

  .igp-card-grid,
  .igp-card-grid--featured,
  .igp-card-grid--related,
  .igp-paths,
  .igp-office {
    grid-template-columns: 1fr;
  }

  .igp-hub-hero {
    border-radius: 20px;
    padding: 26px 18px;
  }

  .igp-office iframe {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .igp-animate,
  .igp-card,
  .igp-card__image,
  .igp-whatsapp,
  .igp-topic-chip {
    animation: none !important;
    transition: none !important;
  }
}
