body {
  background: #f4f6fa;
  color: #1a2a3a;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

header,
footer {
  background: #2857a8;
  color: #fff;
  padding: 1.5em 0;
  text-align: center;
  width: 100%;
}

.top-section {
  max-width: 900px;
  width: 100%;
  margin: 48px 0 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-title {
  font-size: 2rem;
  font-weight: 700;
  color: #22223b;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
  border: none;
  border-radius: 2px;
  margin: 0 auto 10px;
  display: block;
}

.subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 0;
  font-weight: 400;
}

main {
  max-width: 900px;
  margin: 2em auto 0;
  background: #fff;
  box-shadow: 0 4px 24px #00335513;
  border-radius: 18px;
  padding: 2.5em 2.2em 2em;
  min-height: 420px;
}

nav {
  margin-bottom: 1.5em;
}

a,
a:visited {
  color: #000;
}

a:hover {
  text-decoration: underline;
}

.section {
  margin-bottom: 2.2em;
}

/* Container Section */
.container-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  margin: 40px auto;
  padding: 32px 24px 24px;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* General Container */
.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 0;
}

/* Profile Image */
.profile-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}

.profile-img {
  width: 320px;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Info List */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.info-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.info-label {
  font-weight: 600;
  min-width: 90px;
  color: #6b7280;
  margin-right: 8px;
}

/* Links Section */
.links-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links-section a {
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
  transition: color 0.2s;
  padding: 6px 0;
  border-radius: 6px;
}

.links-section a:hover {
  color: #1e40af;
  background: #f1f5fb;
}

/* Ad Block */
.ad-parent {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 20px;
  gap: 24px;
  max-width: 600px;
  margin: 24px auto;
}

.ad-image img {
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  width: 190px;
  height: auto;
  object-fit: cover;
}

.ad-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ad-title a {
  color: #1a73e8;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  transition: color 0.2s;
}

.ad-title a:hover {
  color: #0c47b7;
  text-decoration: underline;
}

.ad-copy {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}

.ad-cta a {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s;
}

.ad-cta a:hover {
  background: #0c47b7;
}

/* Responsive */
@media (max-width: 600px) {
  main {
    padding: 1.3em 0.6em;
  }
  .ad-parent {
    flex-direction: column;
    align-items: center;
    padding: 14px;
    gap: 16px;
  }
  .ad-image img {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 18px 6px 12px;
  }
}
