body, h1, h2, h3, p, ul, ol, figure {
  margin: 0;
  padding: 0;
}

body {
  font: 400 16px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
}

a {
  color: #1a5fb4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  border-bottom: 1px solid #e8e8e8;
  padding: 20px 0 12px;
}

.site-title {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
}

.site-tagline {
  color: #666;
  margin: 4px 0 12px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-content {
  padding: 32px 0 48px;
}

.hero-logo {
  max-width: 280px;
  margin: 0 auto 16px;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

.hero-video {
  margin: 0 auto 24px;
  max-width: 720px;
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.page-heading,
.post-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.2;
}

.post-meta {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.post-back {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.post-content img,
.post-content video {
  max-width: 100%;
  height: auto;
  display: block;
}

.post-content figure {
  margin: 0 0 20px;
}

.post-content .wp-block-image.aligncenter img {
  margin-left: auto;
  margin-right: auto;
}

.post-content figcaption {
  color: #666;
  font-size: 0.9rem;
  margin-top: 8px;
}

.post-content h2 {
  font-size: 1.5rem;
  margin: 28px 0 12px;
}

.post-content ul,
.post-content ol {
  margin: 0 0 16px 1.25em;
}

.post-content p {
  margin-bottom: 16px;
}

.thumb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  margin: 24px 0;
}

.thumb-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
}

.post-content .wp-block-gallery {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  list-style: none;
}

.post-content .wp-block-gallery.columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.post-content .wp-block-gallery > .wp-block-image {
  margin: 0;
}

.post-content .wp-block-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
}

.post-content .wp-block-gallery.is-cropped img {
  height: 100%;
}

@media (max-width: 768px) {
  .post-content .wp-block-gallery.columns-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .post-content .wp-block-gallery.columns-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-content .wp-block-button__link,
.post-content .btn {
  display: inline-block;
  background: #1a5fb4;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 500;
  margin: 8px 0 24px;
}

.btn:hover {
  background: #134a8c;
  text-decoration: none;
}

.news-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}

.news-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.post-list {
  list-style: none;
}

.post-list li {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.post-list li:last-child {
  border-bottom: none;
}

.post-link {
  font-size: 1.15rem;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 24px 0;
  color: #666;
  font-size: 0.95rem;
}

.footer-copy {
  margin-top: 4px;
}

@media (max-width: 600px) {
  .page-heading,
  .post-title {
    font-size: 1.6rem;
  }
}
