@charset "UTF-8";
:root {
  --radius-full: 9999px ;
}

*, ::before, ::after {
  /* outline: .1px solid red; */
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: "Inter V", sans-serif;
  font-optical-sizing: auto;
  text-size-adjust: none;
  text-rendering: optimizespeed;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  font-feature-settings: "calt" on, "cv05" on, "cv08" on, "cv10" on, "cv11" on;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.sr {
  position: absolute !important;
  opacity: 0 !important;
  user-select: none !important;
  pointer-events: none !important;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  padding-left: 20px;
}

:is(ul, ol) > li {
  margin: 5px 0;
}

p :is(i, em) {
  margin-right: 4px;
} /* देवनागरी के लिए */
:is(b, strong) {
  font-weight: 600;
}

a, u {
  text-underline-offset: 2px;
}

a:not(main a) {
  display: block;
  color: inherit;
  text-decoration: none;
}

main a {
  word-break: break-word;
}

hr {
  width: calc(100% - 2px);
  margin-inline: auto;
  border: none;
  box-shadow: 0 0 0 1px #ccc;
}

input, select {
  font: inherit;
  color: inherit;
  line-height: calc(1em + 0.7rem);
}

select {
  -webkit-appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2399b9ff" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>') calc(100% - 6px) center/33px no-repeat;
}

button, .btn {
  display: block;
  padding: 15px 30px;
  border: none;
  border-radius: 16px;
  /* background-color: #0000; */
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  user-select: none;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

h1 {
  text-align: center;
}

@media (max-width: 700px) {
  h1 {
    text-align: center;
  }
}
h2, strong, p, li {
  line-height: 1.5;
}

h1 {
  font-size: clamp(2.13rem, 1.92rem + 1.03vw, 2.5rem);
}

h2 {
  font-size: clamp(1.6rem, 1.48rem + 0.59vw, 1.81rem);
}

h3 {
  font-size: clamp(1.41rem, 1.29rem + 0.6vw, 1.63rem);
}

h4, h5, h6 {
  font-size: clamp(1.3125rem, 1.21rem + 0.51vw, 1.5rem);
}

.wrap {
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.flex, .flex-col {
  display: flex;
  align-items: center;
  gap: 20px;
}

.flex-col {
  flex-direction: column;
}

header#site-header {
  width: 100%;
  background-color: #FFF;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  user-select: none;
}
header#site-header > nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  margin: auto;
}
header#site-header a {
  font-size: 20px;
  line-height: 1;
  padding: 10px 15px;
  border-radius: 9999px;
  transition: background-color 0.2s;
}
header#site-header a:hover, header#site-header a:focus-visible, header#site-header a[aria-current=page] {
  background-color: rgba(0, 0, 0, 0.0666666667);
}
header#site-header a#logo {
  font-size: 28px;
  font-weight: 600;
  margin-right: auto;
}

#site-footer {
  background-color: #f5f5f5;
  padding: 20px min(3%, 20px);
  border-top: 1.5px solid #ddd;
  font-size: 16px;
  user-select: none;
}
#site-footer > div {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 15px;
  margin: auto;
}
#site-footer nav {
  display: flex;
  flex-wrap: wrap;
  font-weight: 600;
  width: 100%;
  max-width: 330px;
}
#site-footer a {
  text-align: center;
  flex-grow: 1;
  padding: 8px 0;
  border-radius: 9999px;
  transition: background-color 0.2s;
}
#site-footer a:hover, #site-footer a:focus-visible, #site-footer a[aria-current=page] {
  background-color: rgba(0, 0, 0, 0.0666666667);
}

main {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin: auto;
  padding: 70px clamp(14px, 4%, 40px);
}
main > * {
  width: 100%;
  max-width: 900px;
}

article > * + * {
  margin-top: 1em;
}

#card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 50px;
}
#card-container .card {
  position: relative;
  aspect-ratio: 4/3;
  height: auto;
  overflow: hidden;
  border-radius: 30px;
}
#card-container .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#card-container .card h2 {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #f1f1ff;
  padding: 20px;
  border-radius: 20px;
}
.blog-list .post-link {
  color: #0050ff;
  padding: 10px;
  border-radius: 10px;
  transition: background-color 0.2s;
}
.blog-list .post-link:hover {
  background-color: #ddddff;
}
.blog-list .post-link:hover > h2 {
  text-decoration: underline;
}
