:root {
  --pn-chrome-ink: #0b1637;
  --pn-chrome-brand: #3547df;
  --pn-chrome-accent: #ef2636;
  --pn-chrome-line: rgba(148, 163, 184, 0.22);
  --pn-chrome-shell: 1280px;
}

.pn-site-header,
.pn-site-footer,
.pn-site-header *,
.pn-site-footer * {
  box-sizing: border-box;
}

.pn-site-header,
.pn-site-footer {
  font-family: "Noto Sans Telugu", "Nirmala UI", Gautami, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pn-chrome-shell {
  margin-inline: auto;
  max-width: var(--pn-chrome-shell);
  padding-inline: 28px;
  width: 100%;
}

.pn-site-topbar {
  background: linear-gradient(90deg, #17236f 0%, #3447d9 58%, #2736ad 100%);
  color: #fff;
}

.pn-site-topbar__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 38px;
}

.pn-site-topbar__left {
  align-items: center;
  display: flex;
  font-size: 12px;
  gap: 0;
}

.pn-site-topbar__left > * {
  color: rgba(255, 255, 255, 0.9);
  padding: 0 16px;
  position: relative;
  text-decoration: none;
}

.pn-site-topbar__left > *:first-child { padding-left: 0; }

.pn-site-topbar__left > * + *::before {
  background: rgba(255, 255, 255, 0.25);
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

.pn-site-topbar a:hover { color: #fff; }

.pn-socials {
  align-items: center;
  display: flex;
  gap: 8px;
}

.pn-socials a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  width: 26px;
}

.pn-socials a:hover {
  background: var(--pn-chrome-accent);
  border-color: var(--pn-chrome-accent);
  color: #fff;
  transform: translateY(-2px);
}

.pn-site-brandbar {
  background: #fff;
  border-bottom: 1px solid #eef1f6;
}

.pn-site-brandbar__inner {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(180px, 250px) 1fr auto;
  min-height: 106px;
}

.pn-site-logo a {
  display: inline-flex;
}

.pn-site-logo img,
.pn-site-logo .custom-logo {
  display: block;
  height: auto;
  max-height: 68px;
  max-width: 215px;
  object-fit: contain;
  width: auto;
}

.pn-site-brandbar__tagline {
  border-left: 1px solid #e4e7ec;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 28px;
}

.pn-site-brandbar__tagline strong {
  color: var(--pn-chrome-ink);
  font-size: 15px;
  font-weight: 750;
}

.pn-site-brandbar__tagline span {
  color: #667085;
  font-size: 12px;
}

.pn-site-brandbar__actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.pn-site-header .punnami-language-switcher {
  margin: 0;
}

.pn-site-header .punnami-language-switcher select {
  background-color: #f8f9fc;
  border: 1px solid #d8deea;
  color: var(--pn-chrome-ink);
  height: 42px;
  min-width: 118px;
}

.pn-author-button {
  align-items: center;
  background: var(--pn-chrome-brand);
  border: 1px solid var(--pn-chrome-brand);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(53, 71, 223, 0.18);
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pn-author-button:hover {
  background: #2435c8;
  color: #fff;
  transform: translateY(-1px);
}

.pn-author-button__icon { font-size: 18px; }

.pn-site-navrow {
  background: var(--pn-chrome-ink);
  box-shadow: 0 8px 24px rgba(11, 22, 55, 0.12);
  color: #fff;
  position: relative;
  z-index: 80;
}

.pn-site-navrow__inner {
  align-items: stretch;
  display: flex;
  min-height: 58px;
  position: relative;
}

.pn-home-link,
.pn-search-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  display: inline-flex;
  flex: 0 0 52px;
  justify-content: center;
  padding: 0;
}

.pn-home-link { border-right: 1px solid rgba(255, 255, 255, 0.11); }
.pn-search-toggle { border-left: 1px solid rgba(255, 255, 255, 0.11); cursor: pointer; }
.pn-home-link:hover, .pn-search-toggle:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.pn-home-link svg { fill: currentColor; height: 19px; width: 19px; }
.pn-search-toggle svg { fill: none; height: 21px; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; width: 21px; }

.pn-desktop-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.pn-primary-menu,
.pn-primary-menu ul,
.pn-mobile-menu,
.pn-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pn-primary-menu {
  align-items: stretch;
  display: flex;
  height: 100%;
  justify-content: flex-start;
}

.pn-primary-menu > li { position: relative; }
.pn-primary-menu > li.pn-mega-trigger { position: static; }

.pn-primary-menu > li > a,
.pn-primary-menu > li > button {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.93);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 650;
  height: 58px;
  padding: 0 12px;
  text-decoration: none;
  white-space: nowrap;
}

.pn-primary-menu > li.current-menu-item > a,
.pn-primary-menu > li.current-menu-ancestor > a,
.pn-primary-menu > li > a:hover,
.pn-primary-menu > li > button:hover,
.pn-primary-menu > li:focus-within > button {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.pn-menu-bolt { color: #ff2f57; font-size: 20px; font-weight: 900; line-height: 1; margin-right: 3px; }
.pn-menu-caret { font-size: 12px; margin-left: 5px; opacity: 0.7; transform: translateY(-1px); }

.pn-primary-menu > li.current-menu-item > a::after,
.pn-primary-menu > li.current-menu-ancestor > a::after {
  background: var(--pn-chrome-accent);
  bottom: 0;
  content: "";
  height: 3px;
  left: 14px;
  position: absolute;
  right: 14px;
}

.pn-primary-menu .sub-menu {
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 42px rgba(11, 22, 55, 0.18);
  left: 0;
  min-width: 230px;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  visibility: hidden;
  z-index: 100;
}

.pn-primary-menu li:hover > .sub-menu,
.pn-primary-menu li:focus-within > .sub-menu,
.pn-primary-menu li:hover > .pn-mega-menu,
.pn-primary-menu li:focus-within > .pn-mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.pn-mega-menu {
  background: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 24px 52px rgba(5, 18, 51, 0.2);
  color: #17213d;
  left: 52px;
  opacity: 0;
  padding: 22px 24px 26px;
  pointer-events: none;
  position: absolute;
  right: 52px;
  top: 100%;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  visibility: hidden;
  z-index: 110;
}

.pn-mega-menu__head { align-items: end; border-bottom: 1px solid #e8edf6; display: flex; justify-content: space-between; margin-bottom: 18px; padding-bottom: 15px; }
.pn-mega-menu__head span { color: #74809a; display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pn-mega-menu__head strong { color: var(--pn-chrome-ink); display: block; font-size: 23px; margin-top: 4px; }
.pn-mega-menu__head a { color: var(--pn-chrome-brand); font-size: 13px; font-weight: 750; text-decoration: none; }
.pn-mega-menu__grid { display: grid; gap: 8px 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pn-mega-menu__grid > a { align-items: center; border: 1px solid #e9edf6; border-radius: 10px; color: #26314d; display: flex; font-size: 13px; font-weight: 650; gap: 9px; min-height: 42px; padding: 7px 10px; text-decoration: none; transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease; }
.pn-mega-menu__grid > a:hover { background: #f4f6ff; border-color: #cdd5ff; color: var(--pn-chrome-brand); transform: translateY(-1px); }
.pn-mega-menu__icon { align-items: center; background: #eef1ff; border-radius: 9px; color: var(--pn-chrome-brand); display: inline-flex; flex: 0 0 28px; height: 28px; justify-content: center; }
.pn-mega-menu__icon svg { fill: none; height: 16px; stroke: currentColor; stroke-width: 1.8; width: 16px; }
.pn-more-menu .sub-menu { left: auto; right: 0; }

.pn-primary-menu .sub-menu a {
  border-radius: 7px;
  color: #26314d;
  display: block;
  font-size: 13px;
  padding: 10px 12px;
  text-decoration: none;
}

.pn-primary-menu .sub-menu a:hover { background: #f1f4ff; color: var(--pn-chrome-brand); }

.pn-site-search {
  background: #fff;
  border-bottom: 1px solid #e6eaf2;
  box-shadow: 0 18px 30px rgba(11, 22, 55, 0.08);
}

.pn-site-search[hidden] { display: none; }

.pn-site-search form {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  padding-bottom: 20px;
  padding-top: 20px;
}

.pn-site-search input,
.pn-mobile-search input {
  background: #f7f8fc;
  border: 1px solid #dce1eb;
  border-radius: 10px;
  color: var(--pn-chrome-ink);
  font-size: 15px;
  min-height: 46px;
  padding: 0 16px;
  width: 100%;
}

.pn-site-search button,
.pn-mobile-search button {
  background: var(--pn-chrome-brand);
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  padding: 0 22px;
}

.pn-mobile-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.pn-mobile-toggle > span:not(.pn-sr-only) {
  background: var(--pn-chrome-ink);
  border-radius: 2px;
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 26px;
}

.pn-mobile-drawer {
  inset: 0;
  pointer-events: none;
  position: fixed;
  visibility: hidden;
  z-index: 99999;
}

.pn-mobile-drawer.is-open { pointer-events: auto; visibility: visible; }

.pn-mobile-drawer__overlay {
  background: rgba(5, 12, 32, 0.72);
  border: 0;
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.25s ease;
  width: 100%;
}

.pn-mobile-drawer.is-open .pn-mobile-drawer__overlay { opacity: 1; }

.pn-mobile-drawer__panel {
  background: #fff;
  height: 100%;
  max-width: 390px;
  overflow-y: auto;
  padding: 22px;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  width: min(88vw, 390px);
}

.pn-mobile-drawer.is-open .pn-mobile-drawer__panel { transform: translateX(0); }

.pn-mobile-drawer__head {
  align-items: center;
  border-bottom: 1px solid #e7eaf0;
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
}

.pn-mobile-drawer__head .pn-site-logo img { max-height: 52px; max-width: 170px; }
.pn-mobile-drawer__head > button { background: #f1f3f8; border: 0; border-radius: 50%; color: var(--pn-chrome-ink); cursor: pointer; font-size: 25px; height: 38px; width: 38px; }

.pn-mobile-search {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 46px;
  margin: 20px 0;
}

.pn-mobile-search button { padding: 0; }

.pn-mobile-menu > li { border-bottom: 1px solid #edf0f5; }
.pn-mobile-menu a { color: #17213c; display: block; font-size: 15px; font-weight: 700; padding: 13px 2px; text-decoration: none; }
.pn-mobile-menu .sub-menu { border-left: 2px solid #dfe4ff; margin: 0 0 10px 10px; padding-left: 14px; }
.pn-mobile-menu .sub-menu a { color: #586174; font-size: 14px; font-weight: 600; padding: 9px 0; }

.pn-mobile-drawer__foot {
  border-top: 1px solid #e7eaf0;
  margin-top: 22px;
  padding-top: 18px;
}

.pn-mobile-drawer__foot > a { color: var(--pn-chrome-brand); display: inline-block; font-weight: 750; margin-bottom: 18px; text-decoration: none; }
.pn-mobile-drawer__foot .pn-socials a { background: var(--pn-chrome-ink); border-color: var(--pn-chrome-ink); }
body.pn-drawer-open { overflow: hidden; }

/* Footer */
.pn-site-footer {
  background: #09132f;
  color: #c7cede;
  margin-top: 76px;
  position: relative;
}

.pn-site-footer__accent {
  background: linear-gradient(90deg, var(--pn-chrome-accent) 0 18%, #f2b72d 18% 28%, var(--pn-chrome-brand) 28% 100%);
  height: 5px;
}

.pn-site-footer__main {
  display: grid;
  gap: 52px;
  grid-template-columns: 1.45fr 0.8fr 0.8fr 1fr;
  padding-bottom: 58px;
  padding-top: 64px;
}

.pn-site-logo--footer {
  background: #fff;
  border-radius: 12px;
  display: inline-flex;
  padding: 10px 14px;
}

.pn-site-logo--footer img { max-height: 55px; max-width: 180px; }

.pn-site-footer__brand > p {
  color: #aeb7ca;
  font-size: 14px;
  line-height: 1.85;
  margin: 22px 0;
  max-width: 390px;
}

.pn-site-footer__column h2 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin: 7px 0 22px;
  padding-bottom: 12px;
  position: relative;
}

.pn-site-footer__column h2::after {
  background: var(--pn-chrome-accent);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 34px;
}

.pn-site-footer__column ul { list-style: none; margin: 0; padding: 0; }
.pn-site-footer__column li + li { margin-top: 11px; }
.pn-site-footer__column a { color: #b9c2d4; font-size: 14px; text-decoration: none; }
.pn-site-footer__column a:hover { color: #fff; }

.pn-site-footer__contact p { font-size: 13px; line-height: 1.75; margin: 0 0 16px; }
.pn-site-footer__email { display: inline-block; overflow-wrap: anywhere; }

.pn-footer-cta {
  align-items: center;
  background: var(--pn-chrome-brand);
  border-radius: 9px;
  color: #fff !important;
  display: flex;
  font-weight: 750;
  justify-content: space-between;
  margin-top: 20px;
  padding: 12px 15px;
  width: 100%;
}

.pn-site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.pn-site-footer__bottom .pn-chrome-shell { align-items: center; display: flex; gap: 28px; justify-content: space-between; min-height: 70px; position: relative; }
.pn-site-footer__bottom p { color: #8f9ab1; font-size: 12px; margin: 0; }

.pn-footer-top {
  background: var(--pn-chrome-accent);
  border: 0;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  font-size: 19px;
  height: 38px;
  width: 38px;
}

@media (max-width: 1199px) {
  .pn-primary-menu > li > a { font-size: 13px; padding-inline: 10px; }
  .pn-site-brandbar__tagline { display: none; }
  .pn-site-brandbar__inner { grid-template-columns: 1fr auto; }
  .pn-site-footer__main { gap: 34px; grid-template-columns: 1.3fr repeat(3, 1fr); }
}

@media (max-width: 991px) {
  .pn-chrome-shell { padding-inline: 20px; }
  .pn-site-topbar__left a:last-child { display: none; }
  .pn-site-topbar__socials { display: none; }
  .pn-site-brandbar__inner { min-height: 84px; }
  .pn-site-logo img, .pn-site-logo .custom-logo { max-height: 57px; max-width: 185px; }
  .pn-desktop-nav, .pn-site-navrow { display: none; }
  .pn-mobile-toggle { display: block; }
  .pn-site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn-site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .pn-chrome-shell { padding-inline: 16px; }
  .pn-site-topbar { display: none; }
  .pn-site-brandbar__inner { gap: 12px; min-height: 80px; }
  .pn-site-logo img, .pn-site-logo .custom-logo { max-height: 52px; max-width: 165px; }
  .pn-site-brandbar__actions { gap: 6px; }
  .pn-site-header .punnami-language-switcher select { height: 38px; min-width: 94px; }
  .pn-author-button { border-radius: 9px; min-height: 38px; padding-inline: 10px; }
  .pn-author-button > span:last-child { display: none; }
  .pn-author-button__icon { font-size: 16px; }
  .pn-mobile-toggle { height: 38px; width: 38px; }
  .pn-site-footer { margin-top: 52px; }
  .pn-site-footer__main { gap: 34px; grid-template-columns: 1fr; padding-bottom: 42px; padding-top: 46px; }
  .pn-site-footer__brand { grid-column: auto; }
  .pn-site-footer__bottom .pn-chrome-shell { align-items: flex-start; flex-direction: column; gap: 8px; justify-content: center; min-height: 104px; padding-right: 68px; }
  .pn-footer-top { position: absolute; right: 16px; top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .pn-site-header *, .pn-site-footer * { scroll-behavior: auto !important; transition: none !important; }
}
