:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
  background: #f8fafc;
  color: #1f2937;
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  min-height: 100%;
}
body {
  background: #f8fafc;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.visitor-page {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 24px 20px 40px;
}
.visitor-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #0b5f50;
  color: white;
  font-size: 0.95rem;
  margin-bottom: 24px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.visitor-announcement {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 999px;
  position: relative;
  margin-left: 8px;
}
.visitor-announcement span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
@keyframes marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}
.visitor-navigation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 24px 32px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  margin-bottom: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.visitor-nav-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 120px;
}
.visitor-nav-spacer {
  display: block;
}
.visitor-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}
.visitor-logo {
  width: 350px;
  height: auto;
  border-radius: 24px;
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 350px;
  margin: 0 auto;
}
.visitor-brandeyebrow {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0f172a;
}
.logo-upload-label:hover {
  transform: translateY(-1px);
  background: #e2e8f0;
}
.visitor-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.visitor-menu a {
  color: #0f172a;
}
.visitor-menu a:hover,
.visitor-menu a:focus {
  color: #0b5f50;
}
.visitor-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.mobile-menu-toggle:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.18);
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #10b981);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.mobile-menu-toggle span:nth-child(1) {
  width: 18px;
}
.mobile-menu-toggle span:nth-child(2) {
  width: 24px;
}
.mobile-menu-toggle span:nth-child(3) {
  width: 18px;
}
.visitor-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.78);
  padding: 24px;
  overflow-y: auto;
}
.visitor-mobile-menu.open {
  display: block;
}
.mobile-menu-panel {
  width: min(100%, 100%);
  max-width: 520px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.visitor-logo-mobile {
  width: 140px;
  height: auto;
  object-fit: contain;
}
.mobile-menu-close {
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
}
.mobile-menu-links {
  display: grid;
  gap: 14px;
}
.mobile-menu-links a {
  display: block;
  padding: 14px 18px;
  border-radius: 16px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  text-align: center;
}
.mobile-menu-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 720px) {
  .visitor-menu {
    display: none;
  }
  .visitor-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .visitor-nav-top {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: center;
    min-height: auto;
  }
  .visitor-brand {
    justify-items: center;
  }
}

.visitor-hero {
  position: relative;
  min-height: 480px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.8)),
              url('https://images.unsplash.com/photo-1533900298318-6b8da08a523e?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  margin-bottom: 32px;
}
.visitor-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.2), transparent 28%),
              radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.2), transparent 28%);
}
.hero-copy {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 32px;
  padding: 32px 32px;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.88);
  color: white;
}
.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  line-height: 1.04;
}
.hero-copy p {
  margin: 0 0 24px;
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 1rem;
}
.visitor-content {
  display: block;
}
.visitor-main {
  display: grid;
  gap: 24px;
}
.visitor-section-header h2 {
  margin: 0;
  font-size: 2rem;
  color: #0f172a;
}
.visitor-section-header p {
  margin: 8px 0 0;
  color: #475569;
}
.visitor-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.visitor-news-card {
  border-radius: 28px;
  overflow: hidden;
  background: white;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: grid;
}
.visitor-news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card-body {
  padding: 22px;
  display: grid;
  gap: 14px;
}
.news-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news-card-body h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.15rem;
  line-height: 1.4;
}
.news-card-body p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}
.news-meta {
  color: #667085;
  font-size: 0.92rem;
}
/* Removed sidebar styles */
.visitor-footer {
  margin-top: 60px;
  border-radius: 32px;
  background: linear-gradient(145deg, #020617, #0f172a);
  color: #94a3b8;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding: 56px 48px 40px;
}
.footer-brand-info {
  flex: 1 1 400px;
}
.footer-brand-info h3 {
  color: white;
  margin: 0 0 16px;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}
.footer-brand-info p {
  line-height: 1.8;
  font-size: 1rem;
  max-width: 90%;
}
.footer-links {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.footer-block h4 {
  margin: 0 0 20px;
  color: white;
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.footer-block p {
  margin: 0;
  line-height: 1.8;
  font-size: 0.95rem;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  transition: all 0.2s ease;
}
.social-links a:hover {
  background: #10b981;
  color: white;
  transform: translateY(-4px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}
.footer-bottom p {
  margin: 0;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  color: #cbd5e1;
  transition: color 0.2s ease;
  font-weight: 500;
}
.footer-legal a:hover {
  color: white;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  background: #f59e0b;
  color: white;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid #0f766e;
  background: white;
  color: #0f766e;
  font-weight: 700;
}
@media (max-width: 1120px) {
  .visitor-navigation {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 20px;
  }
  .visitor-nav-top {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    min-height: auto;
  }
  .visitor-brand {
    position: static;
    transform: none;
  }
  .visitor-actions {
    justify-content: center;
  }
  .visitor-menu {
    gap: 16px;
    font-size: 0.9rem;
  }
  .visitor-content {
    grid-template-columns: 1fr;
  }
  .visitor-news-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding: 56px 48px 40px;
}
  .footer-links {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
  .footer-brand-info p {
    max-width: 100%;
  }
}
@media (max-width: 720px) {
  .visitor-topbar {
    justify-content: center;
  }
  .visitor-navigation {
    padding: 20px 18px;
  }
  .visitor-actions {
    gap: 12px;
  }
  .visitor-menu {
    gap: 12px;
    font-size: 0.88rem;
  }
  .visitor-menu a {
    flex: 1 1 45%;
    text-align: center;
    padding: 10px 0;
  }
  .hero-copy {
    position: static;
    transform: none;
    width: auto;
    max-width: calc(100% - 28px);
    margin: 0 auto 24px;
    padding: 24px 20px;
  }
  .visitor-hero {
    min-height: auto;
    padding-bottom: 20px;
  }
  .visitor-footer {
    margin-top: 40px;
    border-radius: 24px;
  }
  .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding: 56px 48px 40px;
}
  .footer-links {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
  .footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* News Detail Page Styles */
.breadcrumb {
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #64748b;
}
.breadcrumb a {
  color: #0f766e;
  font-weight: 600;
}
.visitor-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
.detail-main {
  min-width: 0;
}
.news-article {
  background: white;
  padding: 36px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.detail-tag {
  margin-bottom: 16px;
}
.article-title {
  margin: 0 0 20px;
  font-size: 2.4rem;
  line-height: 1.3;
  color: #0f172a;
}
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  color: #64748b;
  font-size: 0.9rem;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-hero-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 20px;
  margin: 0 auto 32px;
  display: block;
  object-fit: contain;
}
.article-share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 28px;
  font-weight: 600;
  color: #475569;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
  transition: transform 0.2s ease;
}
.share-btn:hover {
  transform: translateY(-2px);
}
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-wa { background: #25d366; }

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
  overflow-wrap: break-word;
  word-break: break-word;
}
.article-lead {
  font-weight: 600;
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 24px;
}
.article-body p {
  margin-bottom: 20px;
}
.article-tags-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  font-weight: 600;
  color: #475569;
}
.article-tag-pill {
  background: #f1f5f9;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
  transition: background 0.2s;
}
.article-tag-pill:hover {
  background: #e2e8f0;
}
.article-author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}
.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info h4 {
  margin: 0 0 6px;
  color: #0f172a;
}
.author-title {
  font-size: 0.85rem;
  color: #64748b;
  display: block;
  margin-bottom: 8px;
}
.author-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}
.related-news-section {
  margin-top: 48px;
}
.related-news-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 1.5rem;
  color: #0f172a;
}
.related-news-section h3::before {
  content: '';
  display: block;
  width: 5px;
  height: 24px;
  background: #0f766e;
  border-radius: 4px;
}
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: white;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}
.widget-title {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 1.25rem;
  color: #0f172a;
}
.pop-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pop-news-list li a {
  display: block;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #0f172a;
}
.pop-news-list li a:hover {
  color: #0f766e;
}
.pop-meta {
  font-size: 0.85rem;
  color: #64748b;
}
.cta-widget {
  background: linear-gradient(135deg, #0f766e, #10b981);
  color: white;
  text-align: left;
}
.cta-widget h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 1.4rem;
}
.cta-widget p {
  font-size: 1rem;
  margin-bottom: 24px;
  opacity: 0.9;
  line-height: 1.6;
}
.ad-widget {
  background: #f1f5f9;
  text-align: center;
  box-shadow: none;
  border: 1px dashed #cbd5e1;
}
.ad-label {
  font-size: 0.85rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 12px;
}
.ad-placeholder {
  width: 100%;
  height: 250px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border-radius: 12px;
  font-weight: 600;
}

@media (max-width: 1120px) {
  .visitor-detail-content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .article-title {
    font-size: 1.8rem;
  }
  .news-article {
    padding: 24px;
  }
}

.about-hero {
  position: relative;
  min-height: 480px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.85), rgba(15, 118, 110, 0.95)),
              url('https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 40px 20px;
}
.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  margin: 0 0 16px;
}
.about-hero h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  margin: 0 0 32px;
  color: #e2e8f0;
}
.about-hero p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin: 0 auto;
  color: #f8fafc;
}
.visitor-pagination-controls { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 40px; }
.visitor-page-btn { background: white; border: 1px solid #e2e8f0; color: #334155; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; font-weight: 600; font-family: inherit; }
.visitor-page-btn:hover { background: #f1f5f9; }
.visitor-page-btn.active { background: #0f766e; border-color: #0f766e; color: white; }
