:root {
  --dark: #323940;
  --gray: #424a51;
  --pink: #cb97b6;
  --pinkd: #b94f8e;
  --purpled: #402441;
  --green: #5b9d95;
  --greenblu: #5b9d95c2;
  --gold: #f4ba0c;
  --blue: #2f80ed;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--dark);
  background-image: url(./asset/background.svg);
  background-size: cover;
  background-attachment: fixed;
  max-width: 1920px;
  margin: auto;
  font-family: "Inter", sans-serif;
  color: #ffffff;
}

.nav {
  display: flex;
  min-height: 90px;
  justify-content: flex-end;
  align-items: center;
  padding: 0px 45px;
  background-color: #eae9e9d9;
  backdrop-filter: blur(6px);
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-link {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.logo {
  width: 228px;
  height: 20px;
  cursor: pointer;
}

.nav__link {
  font-family: "Inter", sans-serif;
  color: #402441;
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav__link,
.logo {
  filter: drop-shadow(2px 3px 3px rgba(0, 0, 0, 0.18));
}

.nav__link li {
  display: inline-block;
  border-radius: 5px;
  transition: background-color 0.25s ease;
}

.nav__link li a {
  display: block;
  padding: 9px 18px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--purpled);
}

.nav__link li:hover,
.nav__link li.active {
  background-color: var(--pinkd);
  border-radius: 5px;
}

.nav__link li:hover a,
.nav__link li.active a {
  color: #ffffff;
}

.container__ {
  max-width: 1280px;
  margin: auto;
  padding: 40px 20px 60px;
}

.blog-header {
  text-align: center;
  margin-bottom: 45px;
}

.blog-header h1 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(2.2rem, 1.5rem + 2vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 1px;
}

.blog-header p {
  font-size: 16px;
  color: #e2e8f0;
  max-width: 680px;
  margin: 10px auto 0;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 5px solid var(--green);
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pinkd);
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.blog-card-body h2 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--purpled);
  line-height: 1.25;
  margin-bottom: 12px;
}

.blog-card-body p {
  font-size: 15px;
  line-height: 1.6;
  color: #2b3137;
  margin-bottom: 20px;
  flex: 1;
}

.read-more-btn {
  display: inline-block;
  background-color: var(--gray);
  color: #ffffff;
  text-decoration: none;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  width: max-content;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.read-more-btn:hover {
  background-color: var(--pinkd);
}

.article-wrapper {
  max-width: 960px;
  margin: 25px auto 45px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  box-shadow: 0px 8px 28px rgba(0, 0, 0, 0.35);
  color: #1f2428;
  overflow: hidden;
}

.article-banner {
  background-color: var(--gray);
  padding: 36px 42px;
  border-bottom: 5px solid var(--pinkd);
}

.article-category {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.article-banner h2 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.65rem);
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
  line-height: 1.2;
}

.article-date {
  color: #cbd5e1;
  font-size: 14px;
  margin-top: 10px;
}

.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.article-content {
  padding: 36px 42px;
}

.article-content h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--purpled);
  margin: 24px 0 12px;
  text-transform: uppercase;
}

.article-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #22292f;
  margin-bottom: 16px;
}

.article-content ul {
  margin: 15px 0 22px 20px;
  list-style: square url("./asset/images/tik.png");
}

.article-content ul li {
  font-size: 16px;
  line-height: 1.7;
  color: #22292f;
  margin-bottom: 10px;
}

.article-callout {
  background-color: rgba(91, 157, 149, 0.22);
  border-left: 5px solid var(--green);
  padding: 18px 22px;
  margin: 22px 0;
}

.article-callout p {
  margin: 0;
  font-weight: 500;
  color: #1f2428;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 22px;
  margin-top: 30px;
  border-top: 2px solid rgba(66, 74, 81, 0.2);
}

.footer {
  margin-top: 40px;
  min-height: 130px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #424a51;
  border-top: 3px solid var(--green);
}

.copyright p {
  font-family: "Inter", sans-serif;
  color: #ffffff;
  padding-bottom: 12px;
  font-size: 14px;
  text-align: center;
}

.contactus {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contactus a {
  font-family: "Inter", sans-serif;
  text-decoration: none;
  color: var(--green);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}

.contactus a:hover {
  color: var(--pink);
}

@media only screen and (max-width: 983px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
  }
  .logo-link {
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }
  .article-banner,
  .article-content {
    padding: 25px 20px;
  }
}
