/*
Theme Name: Snkhar News Theme
Author: Snkhar
Description: Custom news portal theme with clean layout and responsive grid.
Version: 1.0.0
Text Domain: snkhar-news-theme
*/

:root {
  --bg: #f5f7fb;
  --text: #1a1f2b;
  --muted: #5b6475;
  --brand: #0a66c2;
  --card: #ffffff;
  --border: #e6e9f0;
  --shadow: 0 8px 24px rgba(10, 31, 68, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-bar {
  background: #0f1b2d;
  color: #dce3f0;
  font-size: 14px;
}

.top-bar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.top-bar-center {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-bar .menu {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-bar a {
  color: #fff;
}

.top-label {
  font-weight: 700;
  margin-right: 10px;
}

.top-news {
  list-style: none;
  display: inline-flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.top-news li {
  white-space: nowrap;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-title {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
}

.site-description {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-weight: 600;
  color: var(--text);
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-field {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
}

.search-submit {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}

.layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 32px;
  margin: 32px 0 48px;
}

.section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0 36px;
}

.trending-section {
  margin: 28px 0 36px;
}

.trending-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
}

.trending-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 0 0 25%;
  max-width: 25%;
}

.trending-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trending-body {
  padding: 12px 14px;
}

.trending-title {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.4;
}

.news-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.news-box h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.news-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.news-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-list a {
  font-weight: 600;
}

.category-section {
  margin: 28px 0 36px;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.category-header a {
  color: var(--brand);
  font-weight: 600;
}

/* Home page Video section - desktop/global - FULL SCREEN WIDTH */
.video-section {
  background: #fff;
  padding: 24px 0 40px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
}

.video-section-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  width: 100%;
  justify-content: space-between;
}

.video-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex: 1 1 0;
  max-width: 25%;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.video-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #f3f4f6;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-thumb::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.video-thumb:hover::after {
  opacity: 1;
}

.video-thumb::before {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s;
}

.video-thumb:hover::before {
  opacity: 1;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-weight: 600;
  font-size: 14px;
}

.video-body {
  padding: 12px 14px 16px;
}

.video-title {
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
  font-weight: 600;
}

.video-title a {
  color: var(--text);
  transition: color 0.2s;
}

.video-title a:hover {
  color: var(--brand);
}

.video-next-btn {
  border: none;
  background: var(--brand);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.video-next-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  margin-top: 24px;
}

.hero-content {
  padding: 32px;
}

.hero-title {
  font-size: 32px;
  margin: 0 0 12px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.section-title {
  font-size: 22px;
  margin: 24px 0 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-body {
  padding: 16px 18px;
}

.card-title {
  margin: 0 0 10px;
  font-size: 18px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
}

.sidebar .widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

/* Sidebar clean-up: hide default search & categories widgets to keep only ads or custom widgets */
.sidebar .widget_search,
.sidebar .widget_categories {
  display: none;
}

.widget-title {
  margin: 0 0 12px;
  font-size: 18px;
}

.site-footer {
  background: #fff;
  display: flex;
  flex-direction: column;
}

@media (min-width: 981px) {
  .site-footer {
    flex-direction: row;
  }

  .mobile-search-toggle,
  .mobile-date-row,
  .mobile-search-toggle-row {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
  }
}

.footer-upper {
  background: var(--brand);
  color: #fff;
  padding: 40px 0;
}

@media (min-width: 981px) {
  .footer-upper {
    flex: 1;
    min-width: 50%;
  }
}

.footer-upper-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo img {
  max-height: 48px;
  width: auto;
}

.footer-company {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.company-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.company-address,
.company-reg {
  font-size: 14px;
  margin: 0;
  color: #fff;
  opacity: 0.95;
}

.footer-middle {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.footer-contact,
.footer-email {
  font-size: 14px;
  margin: 0;
  color: #fff;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-icon-cards {
  display: flex;
  gap: 12px;
}

.footer-icon-card {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}

.footer-logo-small img {
  max-height: 30px;
  width: auto;
}

.footer-logo-small-red {
  width: 40px;
  height: 40px;
  background: var(--brand);
  color: #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.footer-icon-card span {
  font-size: 12px;
  color: #1c2230;
  text-align: center;
}

.footer-icon-card svg {
  color: #1c2230;
}

.footer-lower {
  background: #fff;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 981px) {
  .footer-lower {
    flex: 1;
    min-width: 50%;
    border-top: none;
    border-left: 1px solid var(--border);
  }
}

.footer-lower-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--brand);
  color: #fff;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-menu {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-menu a {
  color: var(--text);
  font-size: 14px;
}

.footer-nav span {
  color: var(--text);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 8px;
  position: relative;
}

.footer-copyright {
  font-size: 13px;
  color: var(--brand);
  text-align: center;
}

.footer-copyright .designer-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s, text-decoration 0.2s;
}

.footer-copyright .designer-link:hover {
  color: #1a3d8f;
  text-decoration: underline;
}

.scroll-top {
  position: absolute;
  right: 0;
}

.scroll-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.scroll-top:hover {
  background: #1a3d8f;
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

.post-featured {
  margin-bottom: 18px;
}

.post-content {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.post-content h1,
.post-content h2,
.post-content h3 {
  margin-top: 1.6em;
}

.pagination,
.pagination-wrapper {
  margin-top: 40px;
}

.pagination-wrapper .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-wrapper .page-numbers li {
  margin: 0;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
  display: inline-block;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  min-width: 44px;
  text-align: center;
}

.pagination-wrapper .page-numbers a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.pagination-wrapper .page-numbers .current {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.pagination-wrapper .page-numbers .dots {
  border: none;
  background: transparent;
  cursor: default;
}

.pagination {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.pagination a {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.pagination a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Single post share icons (match compact square buttons look) */
.post-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.post-share-icons {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.share-icon {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.share-icon-inner {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.share-icon:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
  color: var(--brand);
}

.share-icon.share-facebook:hover {
  color: #1877f2;
  border-color: #1877f2;
}

.share-icon.share-twitter:hover {
  color: #111827;
  border-color: #111827;
}

.share-icon.share-email:hover {
  color: #4b5563;
  border-color: #4b5563;
}

.share-icon.share-whatsapp:hover {
  color: #16a34a;
  border-color: #16a34a;
}

/* Related posts (bottom grid) */
.related-posts {
  margin-top: 26px;
  border-top: 2px solid var(--brand);
  padding-top: 18px;
}

.related-posts h3 {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.related-post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.related-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-body {
  padding: 12px;
}

.related-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

@media (max-width: 980px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

.archive-header {
  margin-bottom: 32px;
}

.archive-header .section-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--text);
}

.archive-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 12px;
}

.card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.category-tag:hover {
  background: #1a3d8f;
}

.news-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.news-placeholder svg {
  width: 60px;
  height: 60px;
}

.no-posts {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed var(--border);
}

.no-posts p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 960px) {
  .top-bar-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .section-row {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-nav {
    margin-left: 0;
  }
}

/* Hamro Biratnagar inspired overrides */
:root {
  --bg: #f3f4f7;
  --text: #1c2230;
  --muted: #5f6b7c;
  --brand: #1f4aa5;
  --border: #e4e7ee;
  --shadow: 0 8px 16px rgba(20, 32, 60, 0.08);
}

body {
  background: var(--bg);
}

.site-header {
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.top-ad {
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.top-ad.scrolled-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
}

.ad-banner {
  background: #f5f5f5;
  border: 1px dashed var(--border);
  color: var(--muted);
  padding: 14px;
  text-align: center;
  border-radius: 6px;
  margin: 8px 0;
}

.ad-banner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.date-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.date-bar-inner {
  padding: 6px 0;
}

.date-pill {
  font-size: 14px;
  color: var(--muted);
}

.mobile-date {
  display: none;
}

.mobile-user-btn {
  display: none;
}

.header-inner {
  justify-content: space-between;
  padding: 12px 0 16px;
  flex-wrap: wrap;
}

.header-ad {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 240px;
}

.header-ad .ad-banner {
  max-width: 728px;
  width: 100%;
  margin: 0;
}

.site-logo img {
  max-height: 64px;
  width: auto;
}

.footer-logo img {
  max-height: 48px;
  width: auto;
}

.site-title {
  font-size: 24px;
}

.site-tagline {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
}

.mobile-search-toggle {
  display: none !important;
}

.mobile-search-form-wrapper {
  display: none;
}

.main-header {
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

.nav-bar {
  background: var(--brand);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.main-nav .menu {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  font-weight: 600;
}

.main-nav a {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 12px;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.icon-text {
  font-weight: 700;
  font-size: 12px;
}

.nav-actions form {
  display: flex;
  gap: 8px;
}

@media (max-width: 980px) {
  .nav-actions form {
    display: none;
  }
}

.nav-actions input[type="search"] {
  padding: 6px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.nav-actions input[type="submit"] {
  background: #fff;
  border: 0;
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 600;
}

.ticker-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex: 0 0 auto;
  z-index: 1;
}

.ticker-list {
  list-style: none;
  display: inline-flex;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 4px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
  will-change: transform;
}

.ticker-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-left: 1px solid var(--border);
  line-height: 1.2;
}

.ticker-list li:first-child {
  border-left: 0;
  padding-left: 0;
}

.ticker-list a {
  white-space: nowrap;
}

.ticker-list a {
  color: var(--text);
}

.ticker-list:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.category-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.category-strip-list {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 8px 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
}

.category-strip-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
}

.mobile-search {
  display: none;
}

.home-layout {
  padding: 24px 0 48px;
}

.lead-section {
  margin-bottom: 28px;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 18px;
}

.lead-main {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lead-content {
  padding: 18px 20px;
}

.lead-content h1 {
  margin: 8px 0;
  font-size: 28px;
}

.lead-list {
  display: grid;
  gap: 14px;
  width: 100%;
}

.lead-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 6px 14px rgba(20, 32, 60, 0.06);
  width: 100%;
}

.lead-item a {
  display: block;
  width: 200px;
  height: 120px;
  overflow: hidden;
  border-radius: 10px;
  flex-shrink: 0;
}

.lead-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-item-body {
  padding: 0;
  min-width: 0;
}

.lead-item-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.45;
}

.lead-item-body .meta {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.content-layout {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 28px;
  padding: 20px 0 48px;
  align-items: start;
}

.content-area,
.sidebar {
  min-width: 0;
}

.sidebar img {
  width: 100%;
  height: auto;
}

.sidebar .widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.sidebar .widget-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: none;
}

.page-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.category-section {
  margin: 28px 0 36px;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.category-header a {
  color: var(--brand);
  font-weight: 600;
}

.site-footer {
  background: #0f2f6d;
}

@media (max-width: 980px) {
  .container {
    width: 100%;
    padding: 0 16px;
  }

  .top-ad {
    display: block !important;
    background: #fff !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .top-ad.scrolled-hidden {
    opacity: 0 !important;
    transform: translateY(-100%) !important;
    pointer-events: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
  }

  .date-bar {
    display: none !important;
  }

  .header-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    padding: 8px 16px !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-user-btn {
    display: none !important;
  }

  .mobile-user-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  .site-branding {
    flex: 1 1 auto !important;
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
  }

  .mobile-date {
    display: none !important;
  }

  .site-logo img {
    max-height: 50px !important;
    vertical-align: middle !important;
  }

  .header-ad {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    flex: 0 0 0 !important;
  }

  .main-header {
    background: #fff !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .header-inner {
    border-bottom: 1px solid var(--border) !important;
  }

  .mobile-search-toggle {
    display: none !important;
  }

  .mobile-date-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 6px 16px !important;
    border-bottom: 1px solid var(--border) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-date-row .mobile-date {
    display: block !important;
    font-size: 12px !important;
    color: var(--muted) !important;
    font-weight: normal !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  .mobile-search-toggle-row {
    display: flex !important;
    background: transparent !important;
    border: none !important;
    padding: 4px !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text) !important;
  }

  .mobile-search-toggle-row svg {
    width: 18px !important;
    height: 18px !important;
  }

  .mobile-search-toggle svg {
    width: 20px !important;
    height: 20px !important;
  }

  .mobile-search-form-wrapper {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    padding: 12px 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    z-index: 998 !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .mobile-search-form-wrapper.is-open {
    display: block !important;
  }

  .mobile-search-form-wrapper form {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .mobile-search-form-wrapper input[type="search"] {
    flex: 1 !important;
    padding: 10px 14px !important;
    border: 1px solid var(--border) !important;
    border-radius: 20px !important;
    font-size: 14px !important;
  }

  .mobile-search-form-wrapper input[type="submit"] {
    padding: 10px 20px !important;
    background: var(--brand) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  .menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    background: transparent !important;
    border: none !important;
    padding: 5px !important;
    cursor: pointer !important;
    order: 3 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    width: auto !important;
    min-width: 32px !important;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
  }

  .nav-bar {
    display: none !important;
  }

  .nav-bar.is-open {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 12px 16px;
  }

  .nav-bar.is-open .nav-inner {
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    display: none !important;
  }

  .nav-bar.is-open .main-nav {
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
  }

  .nav-bar.is-open .main-nav ul.menu,
  .nav-bar.is-open .main-nav .menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
  }

  .nav-bar.is-open .main-nav .menu li {
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
  }

  .nav-bar.is-open .main-nav .menu a {
    display: block !important;
    padding: 12px 0 !important;
    color: var(--text) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-bottom: 1px solid var(--border) !important;
    visibility: visible !important;
  }

  .nav-bar.is-open .main-nav .menu a:hover {
    color: var(--brand) !important;
  }

  .nav-actions {
    display: none !important;
  }

  .nav-bar.is-open .nav-actions {
    display: block !important;
    width: 100% !important;
  }

  .nav-bar.is-open .nav-actions .nav-icons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    margin-bottom: 12px !important;
  }

  .nav-bar.is-open .nav-actions .icon-btn {
    width: 36px !important;
    height: 36px !important;
    border: 2px solid var(--brand) !important;
    background: transparent !important;
    color: var(--brand) !important;
  }

  .main-header {
    border-bottom: 1px solid var(--border);
    background: #fff;
  }

  body {
    padding-top: 0 !important;
  }

  .category-strip {
    display: none !important;
  }

  .category-strip-list {
    display: none !important;
  }

  .mobile-search {
    display: none !important;
  }

  .mobile-search form {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .mobile-search input[type="search"] {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    width: 200px;
  }

  .mobile-search input[type="submit"] {
    padding: 8px 16px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
  }

  .ticker-bar {
    border-bottom: 1px solid var(--border);
  }

  .ticker-bar {
    overflow: hidden !important;
  }

  .ticker-inner {
    flex-direction: row !important;
    align-items: center !important;
    padding: 8px 16px !important;
    gap: 12px !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .ticker-label {
    background: #2563eb !important;
    color: #fff !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    z-index: 3 !important;
    position: relative !important;
  }

  .ticker-list {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    position: relative !important;
    animation: ticker-scroll 25s linear infinite !important;
    padding: 0 4px 0 0 !important;
    will-change: transform !important;
  }

  .ticker-list li {
    flex-shrink: 0 !important;
    display: inline-flex !important;
  }

  .ticker-bar {
    overflow: hidden !important;
  }

  .lead-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lead-main {
    border-radius: 12px;
  }

  .lead-main img {
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
  }

  .lead-content {
    padding: 16px;
  }

  .lead-content h1 {
    font-size: 20px;
    line-height: 1.4;
  }

  .lead-list {
    gap: 12px;
  }

  .lead-item {
    grid-template-columns: 100px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
  }

  .lead-item a {
    width: 100px;
    height: 75px;
  }

  .lead-item-body {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .lead-item-body h3 {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
    width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  .lead-item-body h3 a {
    display: block !important;
    width: 100% !important;
  }

  .lead-item-body .meta {
    font-size: 12px;
  }

  .content-layout {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 20px 0 32px;
  }

  .sidebar {
    display: none !important;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100% !important;
  }

  .news-card {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .news-card .thumb-link {
    width: 100% !important;
    display: block !important;
  }

  .news-card .thumb-link img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .card-body {
    width: 100% !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  .card-title {
    width: 100% !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    font-weight: 600 !important;
    margin: 0 0 8px !important;
  }

  .card-title a {
    display: block !important;
    width: 100% !important;
    color: var(--text) !important;
  }

  .card-title a:hover {
    color: var(--brand) !important;
  }

  .section-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-box {
    padding: 14px;
  }

  .home-layout {
    padding: 20px 0 32px;
  }

  .ad-banner {
    display: block !important;
    margin: 20px 0;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
  }

  .ad-banner img {
    width: 100%;
    height: auto;
  }

  /* Video section mobile layout: 2x2 grid per page */
  .video-grid {
    flex-wrap: wrap;
  }

  .video-card {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .video-next-btn {
    display: inline-flex;
  }

  .footer-upper-inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .footer-left {
    align-items: center;
    text-align: center;
  }

  .footer-middle {
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }

  .footer-icon-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .scroll-top {
    display: flex !important;
  }

  .trending-grid {
    flex-wrap: wrap;
  }

  .trending-card {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .video-section {
    background: #fff;
    padding: 24px 0 40px;
    margin-top: 16px;
    border-top: 1px solid var(--border);
  }

  /* Mobile: 2x2 video grid */
  .video-section .video-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100%;
  }

  .video-section .video-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    box-sizing: border-box;
  }

  .video-section-inner {
    padding: 0 16px;
  }

  .video-section-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
  }

  .video-header .section-title {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
  }

  .video-next-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
  }

  .video-next-btn:hover {
    background: #1a3d8f;
    transform: scale(1.05);
  }

  .video-next-btn svg {
    width: 20px;
    height: 20px;
  }

  .video-body {
    padding: 10px 12px 14px;
  }

  .video-title {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Team Page Styles */
.team-page {
  padding: 40px 0 60px;
}

.team-header {
  text-align: center;
  margin-bottom: 48px;
}

.team-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--text);
}

.team-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.team-member {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  color: #9ca3af;
}

.team-placeholder svg {
  width: 80px;
  height: 80px;
}

.team-info {
  padding: 24px 20px;
}

.team-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text);
}

.team-position {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 16px 0;
  font-weight: 500;
}

.team-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

.team-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.team-social-icon:hover {
  background: #1a3d8f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-social-icon svg {
  width: 18px;
  height: 18px;
}

.team-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed var(--border);
}

.team-empty p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* Mobile Team Page */
@media (max-width: 980px) {
  .team-page {
    padding: 24px 16px 40px;
  }

  .team-header h1 {
    font-size: 28px;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 32px;
  }

  .team-info {
    padding: 16px 12px;
  }

  .team-name {
    font-size: 18px;
  }

  .team-position {
    font-size: 14px;
  }

  .team-social {
    gap: 10px;
    margin-top: 10px;
  }

  .team-social-icon {
    width: 32px;
    height: 32px;
  }

  .team-social-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Contact Page Styles */
.contact-page {
  padding: 40px 0 60px;
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--text);
}

.contact-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--brand);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text);
}

.contact-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.contact-card a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: #1a3d8f;
  text-decoration: underline;
}

.contact-form-section {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-form-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px 0;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.form-group .required {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 61, 143, 0.1);
}

.form-control textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  align-self: flex-start;
}

.contact-submit-btn:hover {
  background: #1a3d8f;
  transform: translateY(-1px);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-message {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 15px;
}

.contact-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.contact-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Mobile Contact Page */
@media (max-width: 980px) {
  .contact-page {
    padding: 24px 16px 40px;
  }

  .contact-header h1 {
    font-size: 28px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-section {
    padding: 24px 20px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
  }

  .contact-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Advertisement Page Styles */
.advertisement-page {
  padding: 40px 0 60px;
}

.advertisement-header {
  text-align: center;
  margin-bottom: 48px;
}

.advertisement-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--text);
}

.advertisement-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.advertisement-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 40px;
}

.advertisement-info-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.advertisement-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.advertisement-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.advertisement-icon {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}

.advertisement-card:first-child .advertisement-icon {
  background: #25D366;
}

.advertisement-card:nth-child(2) .advertisement-icon {
  background: var(--brand);
}

.advertisement-card:nth-child(3) .advertisement-icon {
  background: var(--brand);
}

.advertisement-card:nth-child(4) .advertisement-icon {
  background: var(--brand);
}

.advertisement-icon svg {
  width: 28px;
  height: 28px;
}

.advertisement-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text);
}

.advertisement-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 8px 0;
}

.advertisement-card a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}

.advertisement-card a:hover {
  color: #1a3d8f;
  text-decoration: underline;
}

.whatsapp-link {
  color: #25D366 !important;
  font-size: 18px !important;
}

.whatsapp-link:hover {
  color: #128C7E !important;
}

.whatsapp-note {
  font-size: 13px !important;
  color: var(--muted) !important;
  font-style: italic;
}

.advertisement-form-section {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.advertisement-form-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text);
}

.form-description {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.advertisement-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advertisement-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.advertisement-form .form-group label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.advertisement-form .form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.advertisement-form .form-control:focus {
  outline: none;
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.advertisement-form select.form-control {
  cursor: pointer;
}

.advertisement-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.advertisement-submit-btn {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.advertisement-submit-btn:hover {
  background: #128C7E;
  transform: translateY(-1px);
}

.advertisement-submit-btn:active {
  transform: translateY(0);
}

.advertisement-submit-btn svg {
  flex-shrink: 0;
}

/* Mobile Advertisement Page */
@media (max-width: 980px) {
  .advertisement-page {
    padding: 24px 16px 40px;
  }

  .advertisement-header h1 {
    font-size: 28px;
  }

  .advertisement-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .advertisement-form-section {
    padding: 24px 20px;
  }

  .advertisement-card {
    padding: 20px;
  }

  .advertisement-icon {
    width: 48px;
    height: 48px;
  }

  .advertisement-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Privacy Policy Page Styles */
.privacy-page {
  padding: 40px 0 60px;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.privacy-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text);
}

.privacy-updated {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

.privacy-content {
  margin-top: 32px;
}

.privacy-article {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.privacy-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.privacy-text h2,
.privacy-text h3,
.privacy-text h4 {
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.privacy-text h2 {
  font-size: 24px;
}

.privacy-text h3 {
  font-size: 20px;
}

.privacy-text h4 {
  font-size: 18px;
}

.privacy-text p {
  margin-bottom: 16px;
}

.privacy-text ul,
.privacy-text ol {
  margin: 16px 0;
  padding-left: 32px;
}

.privacy-text li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.privacy-text a {
  color: var(--brand);
  text-decoration: none;
}

.privacy-text a:hover {
  text-decoration: underline;
}

.privacy-default-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.privacy-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--text);
}

.privacy-section p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.privacy-section ul {
  margin: 16px 0;
  padding-left: 32px;
}

.privacy-section li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.privacy-section a {
  color: var(--brand);
  text-decoration: none;
}

.privacy-section a:hover {
  text-decoration: underline;
}

.privacy-section strong {
  font-weight: 600;
  color: var(--text);
}

/* Mobile Privacy Page */
@media (max-width: 980px) {
  .privacy-page {
    padding: 24px 16px 40px;
  }

  .privacy-header h1 {
    font-size: 28px;
  }

  .privacy-article {
    padding: 24px 20px;
  }

  .privacy-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }

  .privacy-section h2 {
    font-size: 20px;
  }

  .privacy-text,
  .privacy-default-content {
    font-size: 15px;
  }
}

/* Calendar Page Styles */
.calendar-page {
  padding: 40px 0 60px;
}

.calendar-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.calendar-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text);
}

.calendar-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

.calendar-subtitle strong {
  color: var(--brand);
  font-weight: 700;
}

.calendar-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 32px;
  margin-top: 32px;
}

.calendar-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calendar-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calendar-card-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand);
}

.calendar-card-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.calendar-today {
  text-align: center;
}

.today-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.today-day {
  font-size: 64px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.today-month-year {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

.today-year {
  font-size: 18px;
  color: var(--muted);
}

.today-details {
  text-align: left;
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
}

.today-details p {
  margin: 0 0 12px 0;
  font-size: 15px;
  line-height: 1.6;
}

.today-details p:last-child {
  margin-bottom: 0;
}

.today-details strong {
  color: var(--text);
  font-weight: 600;
}

.calendar-info {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calendar-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--text);
}

.calendar-info p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}

.calendar-months {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.calendar-months h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--text);
}

.months-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.months-list li {
  padding: 10px 14px;
  background: #f9fafb;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  border-left: 3px solid var(--brand);
}

.calendar-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calendar-widget {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calendar-widget h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
}

.important-dates {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.important-dates li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 3px solid var(--brand);
}

.date-label {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.date-value {
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
}

/* Mobile Calendar Page */
@media (max-width: 980px) {
  .calendar-page {
    padding: 24px 16px 40px;
  }

  .calendar-header h1 {
    font-size: 28px;
  }

  .calendar-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .calendar-card,
  .calendar-info,
  .calendar-widget {
    padding: 24px 20px;
  }

  .today-day {
    font-size: 48px;
  }

  .today-month-year {
    font-size: 20px;
  }

  .months-list {
    grid-template-columns: 1fr;
  }
}