/*
Theme Name: Pratiyogita Drishti
Template: newscrunch
Description: प्रतियोगिता दृष्टि – हल्की हिंदी थीम: करेंट अफेयर्स, क्विज, सामान्य ज्ञान। Three-column portal layout. Works with the GyanSetu Core plugin; all quiz features live in the plugin so this theme can be swapped for any other theme.
Version: 1.0.8
Requires at least: 6.4
Requires PHP: 8.1
Author: GyanSetu
Text Domain: gyansetu
License: Proprietary
*/

:root {
  --sky: #e9268f;
  --strip: #c2177a;
  --navy: #7d0c4b;
  --ink: #172033;
  --soft: #394456;
  --muted: #5d6879;
  --link: #a8125f;
  --border: #dce5ee;
  --border-soft: #edf1f6;
  --page: #f4f7fb;
  --head: #f5f8fc;
  --shadow: 0 1px 3px rgba(20, 38, 63, .06);
  --header-h: 98px;
  --font: "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 10px); }
body { max-width: 1420px; margin: 0 auto; padding-bottom: 84px; background: var(--page); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 10000; width: auto; height: auto; clip: auto; padding: .5rem 1rem; background: #fff; }

/* ---------- Header (fixed) ---------- */
.site-header { position: fixed; z-index: 1000; top: 0; left: 50%; width: 100%; max-width: 1420px; transform: translateX(-50%); background: #fff; box-shadow: 0 2px 10px rgba(16, 42, 67, .08); }
.header_top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 26px; }
.brand { display: block; line-height: 1.05; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__name { display: block; color: #c2177a; font-size: 24px; font-weight: 700; line-height: 1.3; }
.brand__tag { display: block; color: var(--soft); font-size: 11px; font-weight: 600; line-height: 1.2; }
.custom-logo, .brand__logo { display: block; width: auto; height: 44px; max-height: 44px; }
.header_date { margin: 0; color: var(--soft); font-size: 14px; }
.mobile_icon { display: none; }
.header_bottom { background: var(--sky); }
.main_menu { display: flex; align-items: center; gap: 4px; height: 42px; margin: 0; padding: 0 20px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.main_menu::-webkit-scrollbar { display: none; }
.main_menu li { flex: none; }
.main_menu a { display: flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 5px; color: #fff; font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; }
.main_menu a:hover { background: rgba(255, 255, 255, .17); text-decoration: none; }
.main_menu .current-menu-item > a, .main_menu .current_page_item > a { background: rgba(255, 255, 255, .17); }

/* ---------- Three columns ---------- */
.main_content { display: grid; grid-template-columns: 278px minmax(0, 1fr) 306px; gap: 18px; align-items: start; margin-top: var(--header-h); padding: 15px 14px 0; }
.column-left, .column-right { min-width: 0; }
.middle-column { min-width: 0; }

/* ---------- Side menus ---------- */
.side_menu_title { margin: 0; padding: 10px 13px; border-radius: 8px 8px 0 0; background: var(--strip); color: #fff; font-size: 17px; font-weight: 700; line-height: 1.35; }
.side_menu { margin: 0 0 14px; padding: 0; list-style: none; background: #fff; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 8px 8px; box-shadow: var(--shadow); overflow: hidden; }
.side_menu li { padding: 7px 12px; border-bottom: 1px solid var(--border-soft); color: var(--soft); font-size: 15px; line-height: 1.45; }
.side_menu li:last-child { border-bottom: 0; }
.side_menu li a { display: block; color: var(--soft); }
.side_menu li a:hover { color: #c2177a; text-decoration: none; }
.side_menu li.side_menu_head { padding: 8px 12px; background: var(--head); border-bottom: 1px solid var(--border); color: var(--ink); font-size: 14px; font-weight: 700; }
.side_box { margin-bottom: 14px; }
.side_search { margin-bottom: 14px; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.search-form { display: flex; gap: 6px; }
.search-form input[type="search"] { flex: 1; min-width: 0; height: 35px; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; }
.search-form button { flex: none; height: 35px; padding: 0 12px; border: 0; border-radius: 6px; background: #fbe6f1; color: var(--link); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

/* ---------- Post feed ---------- */
.post-list { background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
/* One card, one click: the title link is stretched over the whole item. */
.home-post-item { position: relative; display: flex; align-items: flex-start; gap: 13px; padding: 11px 12px; border: 1px solid transparent; border-bottom-color: var(--border-soft); background: #fff; cursor: pointer; transition: background-color .12s; }
.home-post-item:last-child { border-bottom-color: transparent; }
.home-post-item:hover { background: #fff5fa; border-color: #f6c4de; }
.home-post-item:active { background: #fde8f2; border-color: var(--sky); }
.home-post-item:focus-within { outline: 2px solid var(--link); outline-offset: -2px; }
.featured-image { flex: none; display: block; width: 116px; }
.featured-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid #e6ebf1; border-radius: 6px; }
.featured-image.is-empty { display: grid; place-items: center; aspect-ratio: 16 / 10; border: 1px solid #f6c4de; border-radius: 6px; background: #fdeef5; color: #c2177a; font-size: 15px; font-weight: 700; }
.post-data { flex: 1; min-width: 0; }
.post-data h3 { margin: 0 0 3px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.post-data h3 a { color: #111827; }
.post-data h3 a::after { content: ""; position: absolute; inset: 0; }
.post-data h3 a:hover { text-decoration: none; }
.post-data h3 a:focus-visible { outline: none; }
.home-post-item:hover h3 a { color: #c2177a; }
.post-excerpt { margin: 0 0 4px; color: #3f4a5a; font-size: 15px; line-height: 1.55; }
.home-post-data-meta, .post-meta { display: flex; flex-wrap: wrap; gap: 0 14px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.home-post-data-meta { margin: 0; }
.home-post-data-meta a, .post-meta a { color: #657286; }

/* ---------- Hide and show side menus ---------- */
.side_menu_title { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.side_toggle { flex: none; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.side_toggle::after { content: ""; position: absolute; inset: 0; }
.side_toggle:focus-visible { outline: none; }
.side_menu_title:focus-within { outline: 2px solid var(--link); outline-offset: 1px; }
.side_menu_title.is-closed { margin-bottom: 14px; border-radius: 8px; }
.side_menu { transition: height .32s ease, opacity .32s ease; }
.side_menu.is-moving { overflow: hidden; }

/* ---------- Daily news with images ---------- */
.ca-news section { margin-bottom: 16px; }
.ca-news .post-list { border-top: 0; border-radius: 0 0 8px 8px; }
.ca-news .featured-image { width: 170px; }
.ca-news .post-data h3 { margin-bottom: 8px; font-size: 20px; }
.ca-news .news-topic { color: var(--link); font-weight: 600; }

/* ---------- Home banner ---------- */
.site-banner { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, 1fr); margin: calc(var(--header-h) + 15px) 14px 0; border-radius: 10px; overflow: hidden; background: var(--navy); }
.has-banner .main_content { margin-top: 0; }
.site-banner__brand { padding: 22px 34px 24px; color: #fff; }
.site-banner__name { margin: 0; font-size: 72px; font-weight: 700; line-height: 1.25; }
.site-banner__line { margin: 2px 0 0; font-size: 21px; font-weight: 600; line-height: 1.4; }
.site-banner__exams { margin: 4px 0 0; color: #fbd3e7; font-size: 15px; line-height: 1.4; }
.site-banner__links { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 26px; background: var(--sky); }
.site-banner__links a { padding: 10px 14px; border-radius: 6px; background: #fff; color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.3; text-align: center; }
.site-banner__links a:hover { background: var(--navy); color: #fff; text-decoration: none; }
.site-banner--image { display: block; background: none; }
.site-banner--image img { display: block; width: 100%; }

/* ---------- Section strips and tiles ---------- */
.section_strip { margin: 0; padding: 10px 14px; border-radius: 8px 8px 0 0; background: var(--strip); color: #fff; font-size: 19px; font-weight: 700; line-height: 1.35; }
.section_strip + .post-list { border-top: 0; border-radius: 0 0 8px 8px; }
.tile-section { margin-top: 16px; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.tile-section--navy { --tone: #7d0c4b; }
.tile-section--teal { --tone: #0a6478; }
.tile-section--plum { --tone: #6b2a7e; }
.tile-section--green { --tone: #1a6a4c; }
.tile-section--rust { --tone: #8f3f12; }
.tile-section .section_strip { background: var(--tone); }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 12px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 118px; padding: 12px 8px; border-radius: 6px; outline: 1px solid rgba(255, 255, 255, .35); outline-offset: -6px; background: var(--tone); color: #fff; text-align: center; transition: filter .12s; }
.tile:hover { filter: brightness(1.18); text-decoration: none; }
.tile:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.tile__name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.tile__sub { font-size: 13px; line-height: 1.35; opacity: .92; }
.tile-section__all { margin: 0; padding: 0 12px 12px; font-size: 15px; font-weight: 600; text-align: right; }

/* ---------- Single pages ---------- */
.content-area { padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.breadcrumb { margin-bottom: 6px; color: var(--soft); font-size: 13px; font-weight: 600; line-height: 1.5; }
.breadcrumb a { color: var(--soft); }
.breadcrumb i { margin: 0 2px; color: var(--muted); font-style: normal; }
.entry-title { margin: 0 0 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--sky); border-radius: 8px; box-shadow: var(--shadow); color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1.4; text-align: center; }
.post-meta { margin: 8px 0 14px; padding: 8px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.post-meta a { color: var(--link); }
.entry-content { font-size: 17px; line-height: 1.7; }
:where(.entry-content) p { margin: 0 0 .75em; }
.entry-content::after { content: ""; display: block; clear: both; }
.entry-thumb { float: left; width: 46%; margin: 4px 16px 8px 0; }
.entry-thumb img { display: block; width: 100%; border-radius: 6px; }
:where(.entry-content) :is(h2, h3, h4) { margin: 1.1em 0 .4em; line-height: 1.4; }
:where(.entry-content) h2 { font-size: 21px; }
:where(.entry-content) h3 { font-size: 19px; }
:where(.entry-content) h4 { font-size: 18px; }
.entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.entry-content td, .entry-content th { padding: .4rem .6rem; border: 1px solid var(--border); }
.share { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--border-soft); }
.share a, .share button { padding: 4px 10px; border: 1px solid var(--border); border-radius: 5px; background: #fff; color: var(--soft); font: inherit; font-size: 14px; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--sky); text-decoration: none; }

/* ---------- Fixed bottom bar ---------- */
.site-footer { position: fixed; z-index: 900; bottom: 0; left: 50%; width: 100%; max-width: 1420px; transform: translateX(-50%); padding: 8px 12px; background: #fff; }
.navigation-links { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 40px; padding: 8px 12px; border-radius: 5px; background: #f5f5f5; font-size: 15px; font-weight: 600; line-height: 1.3; }
.navigation-links a { color: var(--link); }
.footer-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 12px; margin-top: 4px; color: var(--muted); font-size: 13px; }
/* The fixed bar already has previous/next; keep only the plugin's month link in the page. */
.gs-daynav__prev, .gs-daynav__next { display: none; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 0 12px; list-style: none; margin: 0; padding: 0; }

/* Logged-in editors: keep the fixed header below WordPress's admin bar */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header, .admin-bar #left_column { top: 46px; } .admin-bar #left_column { height: calc(100% - 46px); } }

/* ---------- Narrower screens ---------- */
@media (max-width: 1180px) {
  .main_content { grid-template-columns: 240px minmax(0, 1fr); }
  .column-right { grid-column: 2; }
}
@media (max-width: 767px) {
  :root { --header-h: 97px; }
  .entry-content { font-size: 16px; line-height: 1.65; }
  body { padding-bottom: 76px; }
  .header_top { justify-content: center; height: 55px; padding: 0 44px; }
  .header_date { display: none; }
  .brand { text-align: center; }
  .brand__name { font-size: 22px; }
  .custom-logo, .brand__logo { height: 40px; max-height: 40px; margin: 0 auto; }
  .mobile_icon { position: absolute; top: 50%; left: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; transform: translateY(-50%); border: 0; background: none; cursor: pointer; }
  .mobile_icon span { display: block; width: 24px; height: 2px; margin: 3px 0; background: var(--ink); }
  .main_menu { padding: 0 6px; gap: 0; }
  .main_menu a { padding: 0 9px; font-size: 14px; }
  .main_content { display: block; padding: 10px 8px 0; }
  .site-banner { grid-template-columns: minmax(0, 1fr); margin: calc(var(--header-h) + 10px) 8px 0; }
  .site-banner__brand { padding: 12px 16px 14px; text-align: center; }
  .site-banner__name { font-size: 44px; }
  .site-banner__line { font-size: 16px; }
  .site-banner__exams { font-size: 13px; }
  .site-banner__links { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 8px; }
  .site-banner__links a { flex: 1 1 auto; padding: 8px 6px; font-size: 14px; }
  .section_strip { font-size: 17px; }
  .ca-news .featured-image { width: 132px; }
  .ca-news .post-data h3 { font-size: 17px; }
  .tile-grid { gap: 8px; padding: 8px; }
  .tile { min-height: 100px; }
  .tile__name { font-size: 16px; }
  #left_column { position: fixed; z-index: 9999; top: 0; left: 0; width: min(82%, 330px); height: 100%; padding: 8px; overflow-y: auto; background: var(--head); transform: translateX(calc(-100% - 32px)); visibility: hidden; transition: transform .28s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .28s; box-shadow: 4px 0 18px rgba(15, 23, 42, .18); }
  #left_column.open { transform: none; visibility: visible; transition-delay: 0s; }
  .gkt-backdrop { position: fixed; z-index: 9998; inset: 0; background: rgba(15, 23, 42, .18); }
  .column-right { margin-top: 12px; }
  .home-post-item { gap: 9px; padding: 10px 8px; }
  .featured-image { width: 110px; }
  .featured-image.is-empty { font-size: 14px; }
  .post-data h3 { font-size: 16.5px; line-height: 1.4; }
  .post-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 2px 0; font-size: 14px; line-height: 1.45; }
  .home-post-data-meta { font-size: 12.5px; }
  .content-area { padding: 10px; }
  .entry-title { font-size: 20px; padding: 10px 12px; }
  .entry-thumb { float: none; width: 100%; margin: 4px 0 10px; }
  .site-footer { padding: 4px 8px; }
  .navigation-links { min-height: 36px; padding: 5px 10px; }
  .footer-line { margin-top: 2px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { #left_column, .home-post-item, .tile, .side_menu { transition: none; } }

/* ---------- Full footer ---------- */
body { padding-bottom: 0; }
body:has(.navigation-links) { padding-bottom: 64px; }
.site-info { margin: 20px 14px 14px; padding: 22px 24px 12px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.site-info__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.site-info img { display: block; width: auto; height: 62px; margin-bottom: 12px; }
.site-info p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.6; }
.site-info h2 { margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid #f0c7dc; color: var(--ink); font-size: 18px; font-weight: 700; }
.site-info ul { margin: 0; padding: 0; list-style: none; }
.site-info li { padding: 4px 0; color: var(--soft); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.site-info li a { color: var(--soft); }
.site-info li a:hover { color: var(--link); }
.site-info__social { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px !important; font-weight: 600; }
.site-info__copy { margin-top: 18px !important; padding-top: 12px; border-top: 1px solid var(--border-soft); color: var(--muted) !important; font-size: 13px !important; text-align: center; }

/* ---------- Calm palette: white surfaces, pink only as an accent ---------- */
:root { --page: #f8f7f8; --strip: #a8125f; }
.header_bottom { background: #fff; border-top: 1px solid #f3e6ed; border-bottom: 2px solid #d9559d; }
.main_menu a { color: #3b2a33; }
.main_menu a:hover, .main_menu .current-menu-item > a, .main_menu .current_page_item > a { background: #fcf0f6; color: var(--strip); }
.side_menu_title { background: #fff; color: var(--strip); border: 1px solid var(--border); border-bottom: 2px solid #e58bbb; }
.side_toggle { color: var(--muted); }
.section_strip { background: #fff; color: var(--strip); border: 1px solid var(--border); border-bottom: 2px solid #e58bbb; }
.site-banner { background: #fff; border: 1px solid var(--border); }
.site-banner__brand { color: var(--ink); }
.site-banner__name { color: var(--strip); }
.site-banner__line { color: var(--ink); }
.site-banner__exams { color: var(--muted); }
.site-banner__links { background: #fdf5f9; }
.site-banner__links a { border: 1px solid #efc6da; background: #fff; color: var(--strip); }
.site-banner__links a:hover { background: var(--strip); color: #fff; }
.tile-section .section_strip { background: #fff; color: var(--tone); border-color: var(--border); border-bottom-color: var(--tone); }
.tile { border: 1px solid color-mix(in srgb, var(--tone) 35%, #fff); outline: none; background: #fff; color: var(--tone); transition: background .15s ease, color .15s ease; }
.tile:hover { filter: none; background: var(--tone); color: #fff; }
.tile:hover .tile__sub { color: #fff; }
.tile__sub { color: var(--muted); opacity: 1; }
@media (max-width: 767px) {
  .site-info { margin: 14px 8px 8px; padding: 16px 14px 10px; }
  .site-info__grid { grid-template-columns: 1fr; gap: 18px; }
  .site-banner__links { background: #fff; }
}

/* ---------- Tiles in the client's three light colour combinations ---------- */
.tile-section--orange { --c1: #f4ae78; --c2: #f5cf72; --c3: #f8dfa0; --c4: #f7c8a4; }
.tile-section--sky { --c1: #b7d7e8; --c2: #efdcd3; --c3: #e8bd7f; --c4: #e8b198; }
.tile-section--lavender { --c1: #cbc8ee; --c2: #f4edd4; --c3: #d3d9d6; --c4: #adbfe3; }
.tile-section .section_strip { border: 0; border-bottom: 0; border-radius: 7px 7px 0 0; background: var(--c1); color: #2b2420; }
.tile { border: 0; outline: 1px solid rgba(255, 255, 255, .75); outline-offset: -6px; background: var(--c1); color: #2b2420; transition: filter .15s ease; }
.tile:nth-child(4n+2) { background: var(--c2); }
.tile:nth-child(4n+3) { background: var(--c3); }
.tile:nth-child(4n) { background: var(--c4); }
.tile:hover, .tile:focus { background-color: var(--c1); color: #2b2420; filter: brightness(.94); text-decoration: none; }
.tile:nth-child(4n+2):hover { background: var(--c2); }
.tile:nth-child(4n+3):hover { background: var(--c3); }
.tile:nth-child(4n):hover { background: var(--c4); }
.tile:hover .tile__sub, .tile__sub { color: #4a3f38; opacity: 1; }
.tile:focus-visible { outline: 3px solid #2b2420; outline-offset: 1px; }

/* ---------- Full-width footer in the logo pink ---------- */
.site-info { margin: 24px 0 0; padding: 40px max(24px, calc((100% - 1240px) / 2)) 18px; background: #dc1f85; border: 0; border-radius: 0; }
.site-info img { box-sizing: content-box; padding: 8px 12px; background: #fff; border-radius: 6px; }
.site-info p, .site-info li, .site-info li a { color: #fff; }
.site-info h2 { padding-bottom: 0; border-bottom: 0; color: #fff; }
.site-info a:hover, .site-info li a:hover { color: #fff; text-decoration: underline; }
.site-info__social a { color: #fff; }
.site-info__copy { margin-top: 30px !important; border-top-color: rgba(255, 255, 255, .4); color: #fff !important; text-align: left; }
.site-info a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767px) {
  .site-info { margin: 16px 0 0; padding: 26px 18px 14px; }
  .site-info__copy { margin-top: 20px !important; text-align: center; }
}

/* ---------- Lighter pink and white (tiles and footer keep their own colours) ---------- */
:root { --page: #fff3f8; --head: #fee8f2; --sky: #e98fbf; --strip: #a51563; --border: #f3cfe0; --border-soft: #f8e2ec; --shadow: 0 1px 4px rgba(190, 50, 120, .07); }
.tile-section { border-color: #dce5ee; }
.site-header { box-shadow: 0 2px 10px rgba(190, 50, 120, .08); }
.header_bottom { background: #fcdcec; border-top: 1px solid #f8cfe3; border-bottom: 1px solid #efa9cd; }
.main_menu a { color: #4a2c3c; }
.main_menu a:hover, .main_menu .current-menu-item > a, .main_menu .current_page_item > a { background: #fff; color: var(--strip); }
.side_menu_title, .section_strip { background: #fbd3e7; color: var(--strip); border: 1px solid var(--border); border-bottom: 1px solid #eda6cb; }
.side_toggle { color: #8a4a6b; }
.side_menu li.side_menu_head { color: #4a2c3c; border-bottom-color: var(--border); }
.side_menu li a:hover { color: var(--strip); }
.site-banner { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.site-banner__name { color: #dc1f85; }
.site-banner__exams { color: #6d5763; }
.site-banner__links { background: #fcdcec; }
.site-banner__links a { border: 1px solid #eda6cb; background: #fff; color: var(--strip); }
.site-banner__links a:hover { background: #fbd3e7; color: var(--strip); text-decoration: none; }
.entry-title { background: #fde6f1; border-color: var(--border); border-left-color: #e98fbf; }
.featured-image img { border-color: var(--border); }
.search-form button { background: #fbd3e7; color: var(--strip); }
.search-form button:hover { background: #f8c4de; }
.home-post-item:hover { background: #fde6f1; border-color: #f6c4dc; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.not-found-links a { padding: 7px 14px; border: 1px solid #eda6cb; border-radius: 6px; background: #fcdcec; color: var(--strip); font-weight: 600; }
.not-found-links a:hover { background: #fbd3e7; text-decoration: none; }
@media (max-width: 767px) { .site-banner__links { background: #fcdcec; } }

/* ---------- Social icons in the footer ---------- */
.site-info__icons { margin-top: 12px; }
.site-info .gs-icon { background: #fff; color: #dc1f85; }
.site-info a.gs-icon:hover { background: #fde6f1; }

/* ---------- English / Hindi button ---------- */
.header_date { margin-left: auto; }
.lang-switch { flex: none; margin-left: 14px; padding: 4px 13px; border: 1px solid #eda6cb; border-radius: 999px; background: #fbd3e7; color: #a51563; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.4; cursor: pointer; }
.lang-switch:hover { background: #f8c4de; }
@media (max-width: 767px) {
  .lang-switch { position: absolute; top: 50%; right: 8px; margin: 0; padding: 4px 9px; font-size: 13px; transform: translateY(-50%); }
}
/* Google's translation bar and pop-ups stay out of the layout. */
body { top: 0 !important; }
body > .skiptranslate, iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
