html,
body {
  height: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #d3d3d3;
  color: #111111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  min-height: 18vh;
  display: flex;
  align-items: flex-start;
  background: linear-gradient(135deg, #111111, #2f2f2f);
}

.hero-inner {
  min-height: 32vh;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 820px;
  margin: 0 auto;
  padding: 6.5rem 1rem 2rem;
  text-align: center;
}

.hero-top {
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-logo {
  width: clamp(220px, 30vw, 390px);
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background-color: #f59e0b;
  color: #111111;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  margin-bottom: 0.4rem;
  text-align: center;
}

.subtitle {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  text-align: center;
}

.container {
  flex: 1;
  width: min(1100px, 92%);
  margin: 2.2rem auto 3rem;
}

.video-section {
  margin-bottom: 1.5rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #b8b8b8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  background-color: #111111;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.intro-text {
  margin-bottom: 1.4rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.area-card {
  display: flex;
  flex-direction: column;
  border: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f2f2f2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #b8b8b8;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.area-card.active {
  outline: 3px solid #f59e0b;
}

.area-card img {
  width: 100%;
  height: 185px;
  object-fit: contain;
  object-position: center;
  background-color: #1f1f1f;
}

.area-card h2 {
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #111111;
  min-height: 86px;
  background-color: #e6e6e6;
}

.docs-panel {
  background-color: #f2f2f2;
  border: 1px solid #b8b8b8;
  border-radius: 14px;
  padding: 1.2rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: #111111;
  text-decoration: none;
  font-weight: bold;
}

.back-link:hover {
  color: #d97706;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.article-card {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f2f2f2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #b8b8b8;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.article-card.disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.article-card.disabled:hover {
  transform: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.article-card img {
  width: 100%;
  height: 185px;
  object-fit: contain;
  object-position: center;
  background-color: #1f1f1f;
}

.card-content {
  padding: 1rem;
  color: #111111;
}

.card-content h2 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-content p {
  color: #d97706;
  font-weight: bold;
}

.docs-panel h3 {
  margin-bottom: 0.6rem;
  color: #111111;
}

.panel-text {
  margin-bottom: 1rem;
  color: #333333;
}

.folder-link {
  display: inline-block;
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background-color: #f59e0b;
  color: #111111;
  font-weight: bold;
}

.folder-link:hover {
  background-color: #e38900;
}

.footer {
  text-align: center;
  padding: 1rem;
  background-color: #111111;
  color: #d3d3d3;
}

@media (max-width: 650px) {
  .hero-top {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
  }
}
