body {
  font-family: 'Amiri', serif;
  background:
    radial-gradient(1200px 600px at 75% 10%, #c9c7ff30, transparent 60%),
    radial-gradient(900px 500px at 10% 90%, #ffc7d130, transparent 60%),
    #f6f5f7;
  color: #1f2230;
  line-height: 1.6;
  font-size: 1rem;
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.card h2 { 
  font-size: 1.4rem; 
  color: var(--blue-color); 
}

.profile {
  margin: 2rem auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.8px solid var(--blue-color);
  background: var(--off-white-color);
}

.profile__meta h1 {
  margin: 0 0 .25rem;
  line-height: 1.1;
  font-size: 2rem;
}

.company { 
  margin: 0; 
  font-size: 1.2rem; 
}

.company a { 
  color: var(--blue-color); 
  text-decoration: none; 
}

.company a:hover { 
  text-decoration: underline; 
}

.card {
  background: var(--off-white-color);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 0 1.25rem 1.25rem 1.25rem;
}

.card2 {
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 1.25rem;
}

.card2 h2 { 
  font-size: 1.4rem; 
  color: #273166;
}

.card p { 
  font-size: 1rem; 
  line-height: 1.6; 
}
.card ul, .card ol { 
  font-size: 1rem; 
  line-height: 1.6; 
}

.diary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .5rem;
}
.month-nav { 
  display: flex; 
  align-items: center; 
  gap: .5rem; 
}

.month-label { 
  margin: 0; 
  font-size: 1.1rem; 
  font-weight: 700; 
}

.nav-btn {
  inline-size: 2rem;
  block-size: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  cursor: pointer;
}
.nav-btn:disabled { 
  opacity: .45; 
  cursor: not-allowed; 
}

.nav-btn:focus-visible { 
  outline: 3px solid rgba(39,49,102,.25); 
  outline-offset: 2px; 
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .65rem;
  padding: .35rem;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  color: rgba(0,0,0,.60);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: .6rem;
}

.calendar__weekdays > span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .35rem 0;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .9rem;
}

.day-cell {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: normal;
  font-size: .95rem;
  background: #fff;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
}

.day-cell:hover { 
  transform: translateY(-1px); 
  box-shadow: 0 6px 16px rgba(0,0,0,.10); 
}

.day-cell.is-selected {
  background: #d3e6fd;
  border-color: var(--blue-color);
}

.day-cell.is-disabled {
  opacity: .5;
  cursor: default;
  pointer-events: none;
}

.day-cell.is-weekend {
  background: #f1f2f4;
  color: #9aa0a6;
  border-color: #e5e7eb;
}

.divider { 
  margin: 1rem 0; 
  border: none; 
  height: 1px; 
  background: rgba(0,0,0,.12); 
}

.entry h3 { 
  margin: .2rem 0 .5rem; 
  font-size: 1.05rem; 
  color: var(--blue-color); 
}

.entry p { 
  margin: 0; 
  line-height: 1.6; 
}

.blogs__title { 
  margin: 0 0 .75rem; 
  font-size: 1.4rem; 
  color: var(--blue-color); 
}

.blog-list { 
  list-style: none; 
  padding: 0; 
  display: grid; 
  gap: 1rem; 
}

.blog-card {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  background: var(--off-white-color);
  transition: transform .06s ease, box-shadow .12s ease, border .12s ease;
}

.blog-link { 
  display: block; 
  padding: 1rem; 
  color: inherit; 
  text-decoration: none; 
}

.blog-link p{
  font-size: 1rem;
}

.blog-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.12);
}

.blog-pill {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #fafbff);
  color: #273166;
  font-weight: 700;
  font-size: .8rem;
  border: 1px solid rgba(39,49,102,.22);
}

.blog-card h3 { 
  margin: .35rem 0 .35rem; 
  font-size: 1.05rem; 
  color: #273166;
}

.blog-card p { 
  margin: 0; 
  color: rgba(0,0,0,.6); 
}

.footer {
  width: min(1100px, 92vw);
  margin: 3rem auto 1.5rem;
  text-align: center;
  font-size: var(--font-size-small);
  color: rgba(0,0,0,.65);
}

@media (max-width: 1023px) {
  .layout { 
    display: block;
  }

  .card{ 
    margin-bottom: 2rem; 
  }

  .avatar { 
    width: 120px; 
    height: 120px; 
  }

  .profile__meta h1 { 
    font-size: 1.8rem; 
  }
}
@media (max-width: 520px) {
  body{
  width: auto;
  }

  .profile { 
    grid-template-columns: 1fr; 
    text-align: center; 
  }

  .avatar { 
    margin: 0 auto; 
    width: 110px; 
    height: 110px; 
  }

  .profile__meta h1 { 
    font-size: 1.6rem; 
  }
  
  .company { 
    font-size: 1rem; 
  }

  .calendar__grid {
  gap: .4rem;
}

.layout {
  width: auto;
  margin: 0.75rem;
}

  .card{ 
    margin-bottom: 1rem; 
    padding: 0 0.75rem 0.75rem 0.75rem;
  }

  .card2{ 
    padding: 0.75rem;
  }
}
