:root {
  --saffron: #ff7700;
  --saffron-dark: #cc5f00;
  --ink: #2b2320;
  --paper: #fffaf3;
  --card-bg: #ffffff;
  --border: #f0dfc9;
  --muted: #7a6a5c;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", "Noto Serif Devanagari", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

a {
  color: var(--saffron-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--saffron);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-text {
  font-size: 1rem;
  line-height: 1rem;
}

.brand-text strong {
  color: var(--saffron);
  font-size: 1.1rem;
}

.brand-text small {
  display: block;
  color: var(--saffron);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

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

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
}

.main-nav > ul {
  align-items: center;
  justify-content: flex-end;
}

.main-nav a {
  color: #eee;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  padding: 0.25rem 0.3rem;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--saffron);
}


/* =========================================================
   NAVIGATION LINK + SUBMENU ARROW
   ========================================================= */

.nav-link-wrapper {
  display: flex;
  align-items: center;
}

.nav-link-wrapper > a {
  flex: 0 1 auto;
}

.submenu-arrow {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0 0.15rem;
  font-size: 0.65rem;
  line-height: 1;
}


/* =========================================================
   SUBMENU - DESKTOP
   ========================================================= */

.main-nav ul li {
  position: relative;
}

.main-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: #1a1a1a;
  min-width: 180px;
  z-index: 100;
  flex-direction: column;
  gap: 0;
}

.main-nav .submenu li {
  width: 100%;
}

.main-nav .submenu a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  font-size: 0.95rem;
  text-transform: none;
}

.main-nav .has-submenu:hover .submenu {
  display: flex;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  text-align: center;
  background: linear-gradient(
    180deg,
    #fff3e2 0%,
    var(--paper) 100%
  );
  border-bottom: 1px solid var(--border);
}

.hero:has(.hero-image) {
  padding: 0;
  background: none;
  border-bottom: none;
}

.hero:not(:has(.hero-image)) {
  padding: 1.5rem 1.25rem 2rem;
}

.hero-om {
  font-size: 2.5rem;
  color: var(--saffron);
  margin: 0;
}

.hero h1 {
  margin: 0.2rem 0;
  font-size: 1.9rem;
}

.hero-tagline {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-intro {
  max-width: 640px;
  margin: 1rem auto 0;
  color: var(--ink);
}


/* =========================================================
   CONTENT
   ========================================================= */

.site-main {
  max-width: 1000px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 2rem 1.5rem 4rem !important;
}

.site-main.has-sidebar {
  display: grid !important;
  grid-template-columns: 1fr 280px !important;
  max-width: 1250px !important;
  gap: 2.5rem !important;
  margin: 0 auto !important;
  padding: 2rem 1.5rem 4rem !important;
}

.main-content {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.single-page,
article {
  max-width: 1200px !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 5rem;
}

.content-grid h2,
.subjects-grid h2 {
  text-align: center;
  margin-bottom: 1.2rem;
}

.subjects-grid {
  margin-top: 2.5rem;
}

.content-grid {
  padding-top: 3rem;
}

.intro-text {
  font-size: 1.5rem;
  color: var(--ink);
  text-align: left;
  max-width: 1000px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}


/* =========================================================
   SUBJECT GRID
   ========================================================= */

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.subject-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.3rem 1.2rem;
  text-align: center;
  color: var(--ink);
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}

.subject-card:hover {
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 119, 0, 0.15);
  transform: translateY(-2px);
}

.subject-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.4rem;
}

.subject-card h3 {
  margin: 0 0 0.3rem;
  color: var(--saffron-dark);
  font-size: 1.2rem;
}

.subject-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-image {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: unset !important;
  object-fit: unset !important;
  display: block !important;
  margin: 0 auto !important;
}


/* =========================================================
   CARD GRID
   ========================================================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(260px, 1fr)
  );
  gap: 1.2rem;
}

.card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  color: var(--ink);
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}

.card:hover {
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 119, 0, 0.15);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 0.4rem;
  color: var(--saffron-dark);
  font-size: 1.05rem;
}

.card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--saffron-dark);
  background: #fff1e0;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
}


/* =========================================================
   FEATURED / CARD IMAGES
   ========================================================= */

.card img,
.subject-card img,
.page-featured-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  display: block !important;
}

.page-featured-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}


/* =========================================================
   SINGLE / LIST PAGES
   ========================================================= */

.page-header {
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}

.page-header h1 {
  margin: 0 0 0.4rem;
  font-size: 2.5rem;
  text-align: center;
}

.page-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.tag {
  display: inline-block;
  background: #fff1e0;
  color: var(--saffron-dark);
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
  margin-right: 0.3rem;
}

.page-content,
.page-intro {
  font-size: 1.5rem;
}

article {
  font-size: 1.5rem;
}

.page-content h2,
.page-content h3 {
  color: var(--saffron-dark);
}

.page-content blockquote {
  border-left: 3px solid var(--saffron);
  margin: 1.2rem 0;
  padding: 0.4rem 1rem;
  color: var(--muted);
  font-style: italic;
  background: #fff8ef;
}


/* =========================================================
   SIDEBAR WIDGETS
   ========================================================= */

.widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
}

.widget h4 {
  margin: 0 0 0.6rem;
  color: var(--saffron-dark);
  font-size: 0.95rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.4rem;
}

.widget p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.widget-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-links li {
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.widget-author-photo {
  width: 100%;
  max-width: 140px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 0.8rem;
}

.widget-author {
  text-align: center;
}


/* =========================================================
   BOOKS
   ========================================================= */

 .site-main:has(.books-container) {
  padding-top: 0 !important;
}
.books-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.books-section-title {
  text-align: center;
  margin: 0 0 25px;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 40px;
}

.book-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.book-cover {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
}

.book-info {
  padding: 0.8rem;
  text-align: center;
}

.book-info h3 {
  font-size: 0.95rem;
  margin: 0;
}

.book-info h3 a {
  color: #1e293b;
  text-decoration: none;
}

.book-info h3 a:hover {
  color: #2563eb;
}

.books-container h1 {
  text-align: center;
}


/* =========================================================
   UPI QR CODE
   ========================================================= */

img[alt="UPI QR Code – kediganapati@oksbi"] {
  width: 200px !important;
  max-width: 200px !important;
  height: auto !important;
  display: block !important;
  margin: 20px auto !important;
}


/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */

#backToTop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #f28c28;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  transform: translateY(-3px);
}


/* =========================================================
   SUPPORT SECTION
   ========================================================= */

.support-section {
  text-align: center;
  max-width: 700px;
  margin: 10px auto;
  padding: 0 20px;
}

.support-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  color: #2b211c;
  margin-bottom: 16px;
}

.support-section p {
  font-size: 1.1rem;
  color: #4a3f38;
  margin-bottom: 28px;
  line-height: 1.6;
}

.support-button {
  display: inline-block;
  background: #e07a2c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 6px;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}

.support-button:hover {
  background: #c96a20;
  transform: translateY(-2px);
}


/* =========================================================
   SOCIAL SHARE
   ========================================================= */

.social-share {
  margin-top: 2.5rem;
  background: #4a1418 !important;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.social-share h3 {
  font-family: "Georgia", serif;
  font-variant: small-caps;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
  color: #fff !important;
  margin: 0 0 1.6rem;
  text-align: center;
  white-space: nowrap;
}

.social-share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff !important;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.share-btn svg {
  fill: #fff !important;
  width: 19px;
  height: 19px;
  transition: transform 0.2s ease;
}

.share-btn:hover {
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.share-btn:hover svg {
  transform: scale(1.15);
}

.share-btn.facebook {
  background: #1877F2 !important;
}

.share-btn.twitter {
  background: #000000 !important;
}

.share-btn.whatsapp {
  background: #25D366 !important;
}

.share-btn.linkedin {
  background: #0A66C2 !important;
}

.share-btn.pinterest {
  background: #E60023 !important;
}

.share-btn.reddit {
  background: #FF4500 !important;
}

.share-btn.telegram {
  background: #229ED9 !important;
}

.share-btn.tumblr {
  background: #35465C !important;
}

.share-btn.email {
  background: #6b7280 !important;
}

.share-btn.copy-link {
  background: #4b5563 !important;
}


/* =========================================================
   GOOGLE FONTS
   ========================================================= */

@import url(
  "https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Lato:wght@400;500&display=swap"
);


/* =========================================================
   MKG LANGUAGE SWITCHER
   ========================================================= */

.mkg-language {
  position: relative;
  width: auto;
  flex-shrink: 0;
  font-family: "Lato", sans-serif;
}

.language-toggle {
  appearance: none;
  -webkit-appearance: none;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 8px 12px;

  border: 1px solid rgba(200, 134, 10, 0.65);
  border-radius: 20px;

  background: transparent;
  color: #eee;

  font-family: "Lato", sans-serif;
  font-size: 0.85rem;
  line-height: 1;

  cursor: pointer;

  white-space: nowrap;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.language-toggle:hover {
  background: #C8860A;
  border-color: #C8860A;
  color: #fff;
}

.language-arrow {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.mkg-language.open .language-arrow {
  transform: rotate(180deg);
}


/* =========================================================
   LANGUAGE DROPDOWN
   ========================================================= */

.language-menu {
  display: none;

  position: absolute;

  top: calc(100% + 10px);
  right: 0;

  width: 260px;
  max-width: calc(100vw - 30px);

  padding: 14px;

  background: #fffaf3;

  border: 1px solid rgba(200, 134, 10, 0.3);
  border-radius: 12px;

  box-shadow:
    0 10px 30px
    rgba(43, 35, 32, 0.18);

  z-index: 99999;
}

.mkg-language.open .language-menu {
  display: block;
}


/* =========================================================
   LANGUAGE MENU TITLE
   ========================================================= */

.language-menu-title {
  font-family:
    "Cinzel",
    Georgia,
    serif;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: #7A3B0C;

  padding-bottom: 9px;
  margin-bottom: 8px;

  border-bottom:
    1px solid
    rgba(200, 134, 10, 0.25);
}


/* =========================================================
   LANGUAGE OPTIONS
   ========================================================= */

.language-option {
  appearance: none;
  -webkit-appearance: none;

  display: block;
  width: 100%;

  border: none;
  border-radius: 7px;

  background: transparent;
  color: #4A2506;

  font-family:
    "Lato",
    sans-serif;

  font-size: 12px;
  text-align: left;

  padding: 8px 10px;
  margin: 2px 0;

  cursor: pointer;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.language-option:hover {
  background:
    linear-gradient(
      135deg,
      #C8860A,
      #D4580A
    );

  color: #fff;
}

.language-option.active {
  background:
    linear-gradient(
      135deg,
      #7A3B0C,
      #C8860A
    );

  color: #fff;
}


/* =========================================================
   LANGUAGE DIVIDER
   ========================================================= */

.language-divider {
  height: 1px;

  background:
    rgba(200, 134, 10, 0.25);

  margin: 9px 0;
}


/* =========================================================
   MORE LANGUAGES
   ========================================================= */

.language-more-label {
  display: block;
  font-size: 10px;
  color: #B5651D;
  margin-bottom: 5px;
}

.language-more-select {
  appearance: none;
  -webkit-appearance: none;

  display: block;
  width: 100%;

  padding: 7px 9px;

  border:
    1px solid
    rgba(200, 134, 10, 0.4);

  border-radius: 6px;

  background: #fff;
  color: #4A2506;

  font-family:
    "Lato",
    sans-serif;

  font-size: 11px;

  cursor: pointer;
  outline: none;
}

.language-more-select:focus {
  border-color: #C8860A;

  box-shadow:
    0 0 0 2px
    rgba(200, 134, 10, 0.12);
}


/* =========================================================
   HIDE GOOGLE TRANSLATE ORIGINAL UI
   ========================================================= */

#mkg_gte_hidden {
  display: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

#mkg_gte_hidden .goog-te-gadget {
  display: none !important;
}

.goog-te-gadget {
  display: none !important;
}

.goog-te-combo {
  display: none !important;
}

.goog-logo-link {
  display: none !important;
}

.goog-te-banner-frame {
  display: none !important;
}

.goog-te-balloon-frame {
  display: none !important;
}

.goog-tooltip {
  display: none !important;
}

body {
  top: 0 !important;
}


/* =========================================================
   DESKTOP / LAPTOP HEADER
   Keep Language in the same row
   ========================================================= */

@media (min-width: 641px) {

  .header-inner {
    flex-wrap: nowrap !important;
  }

  .brand {
    flex-shrink: 0;
  }

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

  .main-nav > ul {
    flex-wrap: nowrap !important;
    gap: 0.15rem !important;
  }

  .main-nav > ul > li {
    flex-shrink: 0;
  }

  .main-nav > ul > li > .nav-link-wrapper > a {
    font-size: 0.88rem;
    padding: 0.25rem 0.3rem;
  }

  .nav-link-wrapper {
    display: flex;
    align-items: center;
  }

  .nav-link-wrapper > a {
    flex: 0 1 auto;
  }

  .submenu-arrow {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
    font-size: 0.65rem;
  }

  .mkg-language {
    flex-shrink: 0 !important;
    width: auto !important;
    margin-left: 0.2rem;
    white-space: nowrap;
  }

  .language-toggle {
    white-space: nowrap;
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 801px) and (max-width: 980px) {

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .language-toggle {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

}


/* =========================================================
   RESPONSIVE CONTENT
   ========================================================= */

@media (max-width: 800px) {

  .site-main.has-sidebar {
    grid-template-columns: 1fr !important;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 640px) {

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    position: relative;

    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;

    flex-wrap: wrap !important;

    gap: 0.5rem;

    padding: 0.7rem 1rem;
  }


  /* ------------------------------------------
     BRAND
     ------------------------------------------ */

  .brand {
    flex: 1;
    min-width: 0;
  }

  .brand-text {
    font-size: 0.85rem;
    line-height: 0.95rem;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text small {
    font-size: 0.9rem;
  }


  /* ------------------------------------------
     HAMBURGER
     ------------------------------------------ */

  .mobile-menu-toggle {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    padding: 0;

    border:
      1px solid
      rgba(255, 255, 255, 0.35);

    border-radius: 7px;

    background: transparent;
    color: #fff;

    font-size: 1.6rem;
    line-height: 1;

    cursor: pointer;
  }

  .mobile-menu-toggle:hover {
    background: var(--saffron);
    border-color: var(--saffron);
  }


  /* ------------------------------------------
     MOBILE MAIN NAVIGATION
     ------------------------------------------ */

  .main-nav {
    display: none;

    width: 100%;

    order: 3;

    flex: 0 0 100%;
  }

  .main-nav.mobile-open {
    display: block;
  }

  .main-nav > ul {
    display: flex !important;

    flex-direction: column;

    gap: 0 !important;

    width: 100%;

    margin: 0;
    padding: 0.5rem 0;

    border-top:
      1px solid
      rgba(255, 255, 255, 0.15);
  }

  .main-nav > ul > li {
    width: 100%;

    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.1);
  }


  /* ------------------------------------------
     MOBILE LINK WRAPPER
     ------------------------------------------ */

  .nav-link-wrapper {
    width: 100%;

    display: flex;

    align-items: center;
  }

  .nav-link-wrapper > a {
    flex: 1;

    width: auto;

    padding: 0.7rem 0.3rem;

    font-size: 0.95rem;
  }


  /* ------------------------------------------
     MOBILE SUBMENU ARROW
     ------------------------------------------ */

  .submenu-arrow {
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-left: auto;

    font-size: 0.8rem;

    transition:
      transform 0.2s ease;
  }


  /* ------------------------------------------
     MOBILE SUBMENU
     ------------------------------------------ */

  .main-nav .submenu {
    display: none;

    position: static;

    width: 100%;
    min-width: 0;

    padding: 0;

    background: #211c1a;

    flex-direction: column;
  }

  .main-nav .submenu li {
    width: 100%;
  }

  .main-nav .submenu a {
    display: block;

    width: 100%;

    padding: 0.6rem 1.2rem;

    font-size: 0.88rem;

    text-transform: none;

    border-top:
      1px solid
      rgba(255, 255, 255, 0.07);
  }


  /* ------------------------------------------
     OPEN SUBMENU
     ------------------------------------------ */

  .main-nav .has-submenu.submenu-open .submenu {
    display: flex;
  }

  .main-nav .has-submenu:hover .submenu {
    display: none;
  }

  .main-nav
  .has-submenu.submenu-open:hover
  .submenu {
    display: flex;
  }

  .main-nav
  .has-submenu.submenu-open
  .submenu-arrow {
    transform: rotate(180deg);
  }


  /* ------------------------------------------
     MOBILE LANGUAGE
     ------------------------------------------ */

  .mkg-language {
    order: 2;

    width: auto !important;

    flex: 0 0 auto;

    flex-shrink: 0;

    margin-left: 5px;
  }

  .language-toggle {
    width: auto !important;

    min-width: 42px;

    height: 42px;

    padding: 0 8px;

    justify-content: center;
  }

  /* Mobile par sirf 🌐 icon */
  .language-toggle > span:nth-child(2) {
    display: none;
  }

  .language-menu {
    left: auto !important;
    right: 0 !important;

    width: 260px !important;

    max-width:
      calc(100vw - 20px) !important;
  }


  /* ------------------------------------------
     MOBILE HERO
     ------------------------------------------ */

  .hero h1 {
    font-size: 1.5rem;
  }

}


/* =========================================================
   SMALL MOBILE SOCIAL SHARE
   ========================================================= */

@media (max-width: 480px) {

  .social-share h3 {
    font-size: 1rem;
    white-space: normal;
  }

  .share-btn {
    width: 36px;
    height: 36px;
  }

  .share-btn svg {
    width: 16px;
    height: 16px;
  }

  .social-share-buttons {
    gap: 0.4rem;
  }

}
/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--ink);
  color: #ccc;
  text-align: center;
  padding: 2rem 1.25rem;
  margin-top: 2rem;
}

.footer-om {
  color: var(--saffron);
  letter-spacing: 0.3em;
}

.footer-social a {
  color: #eee;
}

.footer-social a:hover {
  color: var(--saffron);
}

.footer-copy {
  font-size: 0.8rem;
  color: #998;
  margin-top: 0.6rem;
}
/* =========================================================
   FOUNDER SECTION
   ========================================================= */

.founder-section {
  max-width: 900px;
  margin: 4rem auto 2rem;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founder-image {
  text-align: center;
}

.founder-image img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--border);
  display: block;
  margin: 0 auto;
}

.founder-content {
  text-align: left;
}

.founder-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--saffron-dark);
  margin: 0 0 0.5rem;
}

.founder-content h3 {
  font-size: 2rem;
  color: var(--ink);
  margin: 0;
}

.founder-role {
  color: var(--muted);
  font-size: 1rem;
  margin: 0.2rem 0 1rem;
}

.founder-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.founder-button {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--saffron);
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}

.founder-button:hover {
  background: var(--saffron-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}


/* =========================================================
   FOUNDER SECTION - MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .founder-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 1.25rem;
  }

  .founder-image img {
    width: 190px;
    height: 190px;
  }

  .founder-content {
    text-align: center;
  }

  .founder-content h3 {
    font-size: 1.7rem;
  }

  .founder-content p {
    font-size: 1rem;
  }

}
/* =========================================================
   PAPERS
   ========================================================= */

.papers-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.papers-container h1 {
  text-align: center;
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.paper-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.paper-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.paper-cover {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
}

.paper-info {
  padding: 0.8rem;
  text-align: center;
}

.paper-info h3 {
  font-size: 0.95rem;
  margin: 0;
}

.paper-info h3 a {
  color: #1e293b;
  text-decoration: none;
}

.paper-info h3 a:hover {
  color: #2563eb;
}