* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f0f4f8;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #1a2a3a;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

.article-content img {
  border-radius: 20px;
}

.site-header {
  background: linear-gradient(135deg, #ffffff 0%, #e8f4fe 100%);
  box-shadow: 0 4px 14px rgba(41, 144, 252, 0.15), 0 1px 0 rgba(41, 144, 252, 0.2);
  border-bottom: 2px solid #2990fc;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-container a {
  display: flex;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-area:hover {
  transform: scale(1.01);
}

.logo-icon {
  background: linear-gradient(135deg, #2990fc, #1a6fd6);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.6rem;
  font-family: system-ui, 'Segoe UI', sans-serif;
  box-shadow: 0 4px 12px rgba(41, 144, 252, 0.35);
  transition: all 0.2s;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  font-family: 'Inter', 'Helvetica Neue', Helvetica, sans-serif;
  color: #1a2a3a;
}

.logo-text span {
  font-weight: 300;
  color: #2990fc;
  border-bottom: 2px solid #5def88;
  padding-bottom: 2px;
}

.header-badge {
  background: linear-gradient(135deg, #d4f0e0, #b8e8d0);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a4a6a;
  font-weight: 500;
  border: 1px solid #5def88;
  backdrop-filter: blur(2px);
}

@media (max-width: 650px) {
  .header-container {
    flex-direction: column;
    text-align: center;
    padding: 0.8rem 1rem;
  }
  .logo-text {
    font-size: 1.3rem;
  }
}

.layout-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1rem;
  gap: 2rem;
  position: relative;
}

.sidebar {
  flex: 0 0 220px;
  position: sticky;
  top: 6rem;
  align-self: flex-start;
  text-align: center;
}

.sidebar-left {
  margin-right: 0;
}

.sidebar-right {
  margin-left: 0;
}

.ad-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
}

.text-upper {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #1a6fa0;
  text-transform: uppercase;
  background: linear-gradient(135deg, #d4f0e0, #e8f4fe);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-family: 'Arial', sans-serif;
  border: 0.5px solid #5def88;
}

.sidebar img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(41, 144, 252, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s;
  border: 1px solid #b8d8f0;
  padding: 10px;
}

.sidebar img:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 26px rgba(41, 144, 252, 0.25);
}

.article-main {
  flex: 1;
  max-width: 780px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 35px -12px rgba(41, 144, 252, 0.08);
  padding: 2.5rem 2.8rem;
  transition: all 0.2s;
  border: 1px solid #d4e8f8;
}

.article-content {
  font-size: 1.05rem;
  color: #1a2a3a;
}

.article-content p {
  margin-bottom: 1.4rem;
  text-align: justify;
}

.article-content h1 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  border-left: 5px solid #2990fc;
  padding-left: 1rem;
  color: #1a4a6a;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.3;
}

@media (max-width: 1000px) {
  .layout-container {
    gap: 1rem;
    padding: 0 1.2rem;
  }
  .sidebar {
    flex: 0 0 130px;
  }
  .article-main {
    padding: 1.8rem;
  }
}

@media (max-width: 780px) {
  .layout-container {
    flex-direction: column;
  }
  .sidebar {
    position: relative;
    top: 0;
    align-self: center;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    order: 1;
  }
  .sidebar-left,
  .sidebar-right {
    margin: 0;
  }
  .article-main {
    order: -1;
    max-width: 100%;
    margin: 0 0 1rem;
  }
  .sidebar img {
    max-width: 140px;
  }
  .article-content h1 {
    font-size: 1.4rem;
  }
}

@media (max-width: 550px) {
  .article-main {
    padding: 1.4rem;
  }
  .article-content p {
    font-size: 1rem;
  }
}

.footer {
  background: linear-gradient(135deg, #1a3a5a, #0d2847);
  color: #e8f4fc;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  margin-top: 3rem;
  padding: 2rem 1.5rem 1.5rem;
  border-top: 4px solid #5def88;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
}

.footer-contact {
  flex: 2;
  min-width: 240px;
}

.footer-contact h4 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #5def88;
}

.footer-contact p {
  margin: 0.35rem 0;
  line-height: 1.4;
  font-size: 0.9rem;
}

.footer-contact a {
  color: #c8e4fc;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #5def88;
  text-decoration: underline;
}

.footer-disclaimer {
  flex: 3;
  min-width: 280px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #c8e4fc;
  border-left: 1px solid #5def88;
  padding-left: 1.5rem;
}

.footer-disclaimer p {
  margin-bottom: 0.4rem;
}

.footer-links {
  flex: 1;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #c8e4fc;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
  border-bottom: 1px dotted #5def88;
  display: inline-block;
  width: fit-content;
}

.footer-links a:hover {
  color: #5def88;
  border-bottom-color: #5def88;
}

.copyright {
  text-align: center;
  margin-top: 1.8rem;
  padding-top: 1rem;
  font-size: 0.7rem;
  color: #c8e4fc;
  border-top: 1px solid #5def88;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: #2990fc;
}

button,
.logo-area {
  cursor: pointer;
}

.docs {
  word-break: break-word;
}

.docs ul {
  padding-left: 20px;
}

.docs p {
  text-align: start;
}

@media screen and (max-width: 991.98px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}