/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* Critical styles and reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

body {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff;
}

/* Home page: dark background fills any sub-pixel gaps between blue sections */
.page-1 main {
  background: #0a3f7c;
}

main.press-center-main {
  background: #ffffff !important;
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding: 0 !important;
  padding-top: 0 !important;
  overflow: visible !important;
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
}

main.press-center-main.is-press-center {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

main.press-center-main>* {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

main.press-center-main .frame,
main.press-center-main .frame-container,
main.press-center-main .frame-inner,
main.press-center-main .content-element,
main.press-center-main .frame.frame-has-no-shadow {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  overflow: visible;
}

main.press-center-main .frame-container,
main.press-center-main .frame-inner {
  padding: 0 !important;
}

/* CSS Variables */
:root {
  --blue-deep: #0a3f7c;
  --blue-mid: #0c5ca8;
  --blue-light: #0d77c5;
  --blue-very-light: #e6f0fb;
  --navy: #052f66;
  --yellow: #f7c402;
  --white: #ffffff;
  --text: #0d1b2a;
  --muted: #6e7c91;
  --card: #0a57a7;
  --gradient-hero: linear-gradient(180deg, rgba(5, 60, 120, 0.92) 0%, rgba(11, 94, 168, 0.7) 55%, rgba(9, 71, 130, 0.9) 100%);
  --shadow-soft: 0 10px 30px rgba(0, 37, 86, 0.25);
  --radius: 10px;
  --text-font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

table,
.table,
table td,
.table td {
  font-size: 0.8rem;
  line-height: 1.4;
}

.container {
  width: min(1440px, 96vw);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Animations */
.reveal {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== HEADER ==================== */
.header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  margin: 0;
  padding: 0;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4vw;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.logo-link {
  display: block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.85;
}

.logo {
  width: 200px;
  height: 55px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  color: var(--blue-mid);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.country {
  font-size: 13px;
  color: var(--blue-light);
}

.authority {
  font-size: 16px;
  color: var(--blue-mid);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--blue-mid);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 69, 128, 0.25);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4vw 10px;
  background: linear-gradient(90deg, #010913, #010913);
  position: relative;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--yellow);
}

.nav-link {
  padding: 8px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  background: none;
  border: none;
  color: inherit;
  font-family: 'Poppins', sans-serif;
  font-weight: inherit;
  font-size: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Non-clickable nav items in dropdown menus */
.nav-item-with-submenu > .nav-link {
  cursor: default;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  background: var(--yellow);
  border-radius: 999px;
}

.nav-item-with-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--blue-mid);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}

/* Add invisible bridge between nav item and submenu */
.submenu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

.submenu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-item-with-submenu:hover .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

/* Delay hiding submenu to give user time to move mouse */
.nav-item-with-submenu .submenu {
  transition-delay: 0s, 0s, 150ms;
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: block;
  padding: 10px 16px;
  color: var(--white);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2px;
  text-transform: none;
  text-decoration: none;
  transition: background 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

.submenu a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  position: absolute;
  left: 12px;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 260px;
  background: url('assets/images/city.png') center/100% 100% no-repeat;
  background-color: #eef2f6;
  color: var(--blue-mid);
  display: flex;
  align-items: center;
  overflow: hidden;
  contain: layout style paint;
  will-change: background-image;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('assets/images/transparent-overlay.png'),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.82) 28%,
      rgba(255, 255, 255, 0.60) 50%,
      rgba(255, 255, 255, 0.32) 68%,
      rgba(13, 110, 253, 0.4) 100%);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  padding: 60px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  z-index: 2;
}

.hero-copy {
  max-width: 640px;
}

.quote {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.2px;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.search {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border-radius: 30px;
  padding: 4px 6px 4px 16px;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  min-width: 260px;
}

.search input {
  border: none;
  outline: none;
  font-size: 14px;
  flex: 1;
  padding: 10px 6px;
}

.search button {
  border: none;
  background: var(--blue-mid);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: grid;
  place-items: center;
}

.search button img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ==================== SERVICES ==================== */
.services {
  background-color: #0a3f7c;
  background:
    linear-gradient(rgba(10, 63, 124, 0.92), rgba(10, 63, 124, 0.92)),
    url('assets/images/background-numbers.png'),
    linear-gradient(180deg, #0b4d8b 0%, #0a3f7c 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  padding: 36px 0 46px;
  position: relative;
  contain: layout style paint;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.08), transparent 40%);
  opacity: 0.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 180px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(9, 30, 60, 0.09);
}

.service-card h3 {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: var(--blue-mid);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px auto;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.98));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 34, 66, 0.06);
  position: relative;
}

.service-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px auto;
}

.icon-doc::before,
.icon-license::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid var(--blue-mid);
  border-radius: 8px;
}

.icon-doc::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  height: 2px;
  background: var(--blue-mid);
  box-shadow: 0 -8px var(--blue-mid), 0 -16px var(--blue-mid);
}

.icon-license::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--blue-mid);
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.icon-idea::before,
.icon-headset::before,
.icon-headset::after {
  content: '';
  position: absolute;
  border: 2px solid var(--blue-mid);
}

.icon-idea::before {
  inset: 12px;
  border-radius: 999px;
  box-shadow: 0 -10px 0 -6px var(--blue-mid);
}

.icon-idea::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 12px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-mid);
  border-radius: 4px;
}

.icon-headset::before {
  inset: 12px;
  border-radius: 999px;
}

.icon-headset::after {
  width: 28px;
  height: 18px;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-mid);
  border-radius: 8px;
}

.docs-card {
  min-height: auto;
  max-height: none;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow: visible;
  z-index: 5;
  text-align: center;
}

.docs-lead {
  display: none;
}

.doc-list {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  position: static;
  width: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.doc-item {
  margin: 0;
  width: auto;
}

.docs-card .doc-item:last-child {
  margin-bottom: 0;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  min-height: auto;
  border-radius: 0;
  background: transparent;
  color: #072e5a;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  text-align: left;
  transition: color 0.12s ease;
}

.doc-link::after {
  content: '›';
  opacity: 0.8;
  margin-left: 4px;
  font-size: 14px;
  transform: none;
  transition: margin-left 0.12s ease;
}

.doc-link:hover {
  color: #0052a3;
  text-decoration: underline;
}

.doc-link:hover::after {
  margin-left: 6px;
}

.docs-overview-link {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-mid);
  text-decoration: none;
  align-self: auto;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(6, 34, 66, 0.15);
  background: rgba(7, 46, 90, 0.06);
}

.docs-overview-link:hover {
  color: var(--blue-dark);
  background: rgba(7, 46, 90, 0.12);
  text-decoration: none;
}

/* ==================== MINI FOOTER ==================== */
.mini-footer {
  background-color: #0a3f7c;
  text-align: center;
  padding: 18px 4vw 26px;
  color: var(--white);
  background:
    linear-gradient(rgba(10, 63, 124, 0.92), rgba(10, 63, 124, 0.92)),
    url('assets/images/background-numbers.png'),
    linear-gradient(180deg, #0a3f7c 0%, #0c5ca8 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  contain: layout style paint;
}

.mini-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 6px;
}

.mini-links a {
  color: var(--white);
}

.copyright {
  margin: 0;
  font-size: 13px;
}

/* ==================== NEWS & VIDEOS ==================== */
.news-videos {
  background-color: #0a3f7c;
  background:
    linear-gradient(rgba(10, 63, 124, 0.92), rgba(10, 63, 124, 0.92)),
    url('assets/images/background-numbers-bg.png'),
    linear-gradient(180deg, #0c5ca8 0%, #0a3f7c 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  padding: 52px 0;
  contain: layout style paint;
}

.news-videos-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
  align-items: flex-start;
}

.section-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90%;
  height: 2px;
  background: var(--white);
  border-radius: 99px;
}

.cards {
  display: grid;
  gap: 16px;
}

.news-block .cards {
  grid-template-columns: repeat(3, 1fr);
}

.videos-block .cards {
  grid-template-columns: repeat(2, 1fr);
}

.thumb {
  height: 100px;
  background: linear-gradient(135deg, #8fb8ff, #d3e4ff);
  position: relative;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-video {
  height: 100px;
  background: linear-gradient(135deg, #0c5ca8, #0a3f7c);
  position: relative;
  display: block;
  overflow: hidden;
}

.thumb-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-video::after {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.thumb-video::before {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--blue-mid);
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  z-index: 1;
}

.divider {
  background-color: #0a3f7c;
  background:
    linear-gradient(rgba(10, 63, 124, 0.92), rgba(10, 63, 124, 0.92)),
    url('assets/images/background-numbers-bg.png'),
    linear-gradient(180deg, #0c5ca8 0%, #0a3f7c 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.divider::after {
  content: '';
  width: calc(min(1440px, 96vw) - 40px);
  height: 1px;
  background: var(--yellow);
}

/* ==================== NEWS & VIDEOS ==================== */
.news-videos {
  background-color: #0a3f7c;
  background:
    linear-gradient(rgba(10, 63, 124, 0.92), rgba(10, 63, 124, 0.92)),
    url('assets/images/background-numbers-bg.png'),
    linear-gradient(180deg, #0c5ca8 0%, #0a3f7c 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  padding: 52px 0;
  contain: layout style paint;
}

.news-videos-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
  align-items: flex-start;
}

.section-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90%;
  height: 2px;
  background: var(--white);
  border-radius: 99px;
}

.cards {
  display: grid;
  gap: 16px;
}

.news-block .cards {
  grid-template-columns: repeat(3, 1fr);
}

.videos-block .cards {
  grid-template-columns: repeat(2, 1fr);
}

.news-videos .card {
  background: transparent;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(5, 63, 124, 0.12);
  overflow: hidden;
  border: 1px solid rgba(219, 231, 255, 0.3);
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-bottom: 0;
}

.news-videos .card p {
  margin: 0;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--white);
  background: transparent;
  word-wrap: break-word;
}

.thumb {
  height: 100px;
  background: linear-gradient(135deg, #8fb8ff, #d3e4ff);
  position: relative;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-video {
  height: 100px;
  background: linear-gradient(135deg, #0c5ca8, #0a3f7c);
  position: relative;
  display: block;
  overflow: hidden;
}

.thumb-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-video::after {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.thumb-video::before {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--blue-mid);
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  z-index: 1;
}

/* ==================== INFO BAND ==================== */
.info-band {
  background-color: #0a3f7c;
  background:
    linear-gradient(rgba(10, 63, 124, 0.92), rgba(10, 63, 124, 0.92)),
    url('assets/images/background-numbers-bg.png'),
    linear-gradient(180deg, #0c5ca8 0%, #0a3f7c 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: var(--white);
  padding: 46px 0 54px;
  contain: layout style paint;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.info-title {
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  color: var(--yellow);
  position: relative;
  padding-bottom: 8px;
}

.info-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  border-radius: 99px;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.signup {
  display: grid;
  gap: 10px;
}

.row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.signup input {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
}

.signup button {
  padding: 12px;
  border: none;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.signup button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: #052f66;
  background:
    linear-gradient(rgba(5, 47, 102, 0.92), rgba(5, 47, 102, 0.92)),
    url('assets/images/background-numbers-bg.png'),
    #052f66;
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: var(--white);
  padding: 16px 0 20px;
  contain: layout style paint;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--yellow);
}

.social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  font-weight: 600;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */

@media (max-width: 1024px) {
  .nav {
    gap: 10px;
    font-size: 11px;
  }

  .nav-link {
    padding: 6px 4px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    font-size: 12px;
    gap: 10px;
  }

  .footer-links {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #010913;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 4vw;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 8px 4px;
    font-size: 12px;
  }

  .submenu {
    min-width: 200px;
    margin-left: 12px;
  }

  .news-videos-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }

  .quote {
    font-size: 20px;
  }

  .news-block .cards,
  .videos-block .cards {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 12px 0 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 1rem;
    gap: 8px;
  }

  .footer-links {
    justify-content: center;
    gap: 10px;
    font-size: 12px;
  }

  .social {
    justify-content: center;
    font-size: 12px;
  }

  .footer-copy {
    font-size: 11px;
    margin-top: 8px;
  }
}

@media (max-width: 720px) {
  .doc-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav-bar {
    padding: 0 2vw 6px;
  }

  .nav {
    padding: 8px 2vw;
    font-size: 11px;
  }

  .nav-link {
    padding: 6px 3px;
    font-size: 11px;
  }

  .top-bar {
    padding: 12px 2vw;
    gap: 12px;
  }

  .logo {
    width: 140px;
    height: 40px;
  }

  .country {
    font-size: 10px;
  }

  .authority {
    font-size: 13px;
  }

  .chip {
    padding: 8px 12px;
    font-size: 10px;
  }

  .footer {
    padding: 10px 0 14px;
  }

  .footer-grid {
    padding: 0 0.75rem;
    gap: 6px;
  }

  .footer-links {
    gap: 8px;
    font-size: 11px;
  }

  .social {
    font-size: 11px;
    gap: 8px;
  }

  .footer-copy {
    font-size: 10px;
    margin-top: 6px;
  }
}

@media (max-width: 520px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* News List Page Styles */
.page-header {
  background: var(--blue-mid);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 38px;
  margin: 0 0 12px;
  font-weight: 700;
}

.page-header p {
  font-size: 16px;
  margin: 0;
  opacity: 0.9;
}

.news-list-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.news-article {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--blue-deep);
  line-height: 1.4;
}

.news-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.news-teaser {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.no-news {
  text-align: center;
  padding: 80px 20px;
  color: #666;
}

/* News Detail Page Styles */
.news-detail {
  padding: 60px 0;
}

.news-detail-header {
  margin-bottom: 32px;
}

.news-detail-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0 0 16px;
  line-height: 1.3;
}

.news-detail-image {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.news-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.news-detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

.news-detail-content p {
  margin-bottom: 16px;
}

.news-detail-content h2,
.news-detail-content h3 {
  color: var(--blue-deep);
  margin-top: 32px;
  margin-bottom: 16px;
}

.news-detail-footer {
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}

.btn-back {
  display: inline-block;
  padding: 12px 24px;
  background: var(--blue-mid);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.btn-back:hover {
  background: var(--blue-deep);
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 28px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-detail-header h1 {
    font-size: 28px;
  }
}

/* Press Center styling removed - now uses standard 3-column grid layout like other pages */

/* Press Center News List Styling */
.press-content-section {
  background: #ffffff;
}

.press-news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  width: 100%;
  margin: 1rem 0;
}

.press-news-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  color: inherit;
  cursor: pointer;
}

.press-news-item:hover {
  border-color: #d91e18;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.press-news-item,
.press-news-item:hover,
.press-news-item:focus,
.press-news-item:active,
.press-news-item .press-news-title,
.press-news-item .press-news-date,
.press-news-item .press-news-excerpt {
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.press-news-image {
  flex-shrink: 0;
  width: 90px;
  height: 67px;
  overflow: hidden;
  border-radius: 6px;
}

.press-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.press-news-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #1e40af;
  line-height: 1.4;
  margin: 0;
}

.press-news-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: #6b7280;
}

.press-calendar-icon {
  font-size: 0.69rem;
}

.press-news-excerpt {
  color: #4b5563;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
  font-size: 0.62rem;
}

.press-empty-state {
  color: #4b5563;
}

.press-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.press-pagination-button,
.pagination-button {
  padding: 0.3rem 0.6rem;
  background: #d91e18;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
  text-decoration: none;
  font-size: 0.50rem;
}

.press-pagination-button:hover:not(.is-disabled),
.pagination-button:hover:not(.is-disabled) {
  background: #b91c1c;
}

.press-pagination-button.is-disabled,
.pagination-button.is-disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}

.press-pagination-info {
  font-weight: 500;
  color: #475569;
  font-size: 0.62rem;
}

.press-article {
  padding: 2rem 0;
  background: #ffffff;
}

.press-article-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 1.25rem 0;
}

.press-back-link {
  display: inline-block;
  color: #2563eb;
  text-decoration: none;
  margin-bottom: 2rem;
  font-weight: 500;
  transition: color 0.2s;
}

.press-back-link:hover {
  color: #1d4ed8;
  text-decoration: none;
}

.press-article-header {
  margin-bottom: 2rem;
}

.press-article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: clamp(0.72rem, 0.9vw, 0.85rem);
  color: #6b7280;
}

.press-article-date {
  font-weight: 500;
}

.press-article-author {
  font-style: italic;
}

.press-article-title {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
  margin: 0;
}

.press-cover-image {
  width: 100%;
  height: clamp(180px, 26vw, 280px);
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.press-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-article-content {
  font-size: clamp(0.85rem, 1.1vw, 0.98rem);
  line-height: 1.65;
  color: #374151;
}

.press-article-content p {
  margin-bottom: 1.5rem;
}

.press-article-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .press-news-item {
    flex-direction: column;
  }

  .press-news-image {
    width: 100%;
    height: 190px;
  }

  .press-content-section {
    padding: 2rem 0;
  }

  .press-pagination {
    gap: 1rem;
  }

  .press-article-title {
    font-size: 1.2rem;
  }

  .press-cover-image {
    height: 180px;
  }

  .press-article-content {
    font-size: 0.84rem;
  }
}

/* ==================================
   DOCUMENT PAGE STYLES
   ================================== */

/* Breadcrumb Navigation */
.breadcrumb-section {
  background: #f9fafb;
  padding: 0.35rem 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0;
}

.breadcrumb {
  margin: 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.breadcrumb-item a {
  color: #d91e18;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: var(--dark-blue);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #111827;
  font-weight: 500;
}

.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: #9ca3af;
  font-size: 1.25rem;
}

/* Document Header */
.document-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.document-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.document-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
  margin: 0;
}

/* Document Content Layout */
.document-content {
  padding: 0;
  margin: 0;
  background: #ffffff;
}

/* Add padding only to container inside document-content */
.document-content .container {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

.document-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.document-main {
  min-width: 0;
}

.document-sidebar {
  position: sticky;
  top: 2rem;
}

/* Document List Styles */
.document-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.document-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.document-item:hover {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.document-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.document-info {
  flex: 1;
  min-width: 0;
}

.document-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.document-name a {
  color: #111827;
  text-decoration: none;
  transition: color 0.2s;
}

.document-name a:hover {
  color: var(--primary-blue);
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.document-size {
  font-weight: 500;
}

.document-description {
  font-style: italic;
}

.document-actions {
  flex-shrink: 0;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-download:hover {
  background: var(--dark-blue);
}

/* Document Page specific main styling */
main.document-page {
  background: #ffffff;
  margin-top: 0;
}

main.document-listing-page {
  background: #ffffff;
  margin-top: 0;
}

/* Sidebar Widgets */
.document-sidebar .widget {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.document-sidebar .widget:last-child {
  margin-bottom: 0;
}

.document-sidebar .widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #111827;
}

.document-sidebar .widget-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-sidebar .widget-content li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.document-sidebar .widget-content li:last-child {
  border-bottom: none;
}

.document-sidebar .widget-content a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.document-sidebar .widget-content a:hover {
  color: var(--primary-blue);
}

.sidebar-nav-list.sidebar-nested {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.sidebar-nav-list.sidebar-nested li {
  padding-left: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
  .document-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .document-sidebar {
    position: static;
  }

  .document-title {
    font-size: 2rem;
  }

  .document-subtitle {
    font-size: 1.125rem;
  }
}

@media (max-width: 640px) {
  .document-header {
    padding: 2rem 0;
  }

  .document-title {
    font-size: 1.75rem;
  }

  .document-subtitle {
    font-size: 1rem;
  }

  .document-content {
    padding: 2rem 0;
  }

  .document-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .document-actions {
    width: 100%;
  }

  .btn-download {
    width: 100%;
    justify-content: center;
  }

  .breadcrumb-list {
    font-size: 0.8125rem;
  }
}

/* ==================================
   DOCUMENT LISTING PAGE STYLES
   ================================== */

/* Document Listing Page */
main.document-listing-page {
  background: #ffffff;
}

/* Hide the header section on listing pages to save space */
main.document-listing-page .document-header {
  display: none;
}

/* Hide the divider and info-band footer section on listing pages */
main.document-listing-page .divider,
main.document-listing-page .info-band {
  display: none;
}

/* Intro text area */
.document-intro {
  margin-bottom: 1rem;
  padding: 0;
  background: transparent;
  border: none;
}

/* Hide intro if it's empty */
.document-intro:empty {
  display: none;
  margin: 0;
  padding: 0;
}

.document-intro p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
  margin: 0;
}

/* Document Subpages List */
.document-subpages-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.document-subpage-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.document-subpage-item:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.document-subpage-item .document-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.document-subpage-item .document-icon svg {
  width: 40px;
  height: 40px;
}

.document-subpage-item .document-info {
  flex: 1;
  min-width: 0;
}

.document-subpage-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.375rem 0;
  color: #111827;
  line-height: 1.4;
}

.document-subpage-link {
  color: #1e40af;
  text-decoration: none;
  transition: color 0.2s;
}

.document-subpage-link:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.document-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #6b7280;
  align-items: center;
}

.document-date {
  font-weight: 500;
}

.document-size {
  font-weight: 500;
}

.document-subpage-description {
  display: none;
}

.document-subpage-date {
  display: none;
}

.document-subpage-actions,
.document-actions {
  flex-shrink: 0;
  margin-left: auto;
}

.btn-view-document,
.btn-download-document {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-view-document:hover,
.btn-download-document:hover {
  background: var(--dark-blue);
}

.no-documents {
  text-align: center;
  padding: 4rem 2rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  border: 2px dashed #d1d5db;
}

.no-documents p {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0;
}

/* Responsive Design for Listing Page */
@media (max-width: 768px) {
  .document-subpage-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 1rem;
  }

  .document-subpage-item .document-icon {
    align-self: flex-start;
  }

  .document-actions {
    width: 100%;
    margin-left: 0;
  }

  .btn-download-document,
  .btn-view-document {
    width: 100%;
    justify-content: center;
  }

  .document-subpage-title {
    font-size: 1rem;
  }

  .document-intro {
    padding: 1rem;
  }

  .document-intro p {
    font-size: 1rem;
  }
}

/* ==================================
   DOCUMENT FILES UPLOAD STYLES
   ================================== */

/* File Upload Widget - Custom Styling for PDF/Document Cards */
.ce-uploads.document-files-list {
  margin: 2rem 0;
}

/* COMPACT LIST FORMAT - Horizontal Layout */
.ce-uploads.document-files-list-compact {
  margin: 2rem 0;
}

.document-files-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.document-file-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.document-file-item:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.document-file-item .document-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.document-file-item .document-icon svg {
  width: 40px;
  height: 40px;
}

.document-file-item .document-info {
  flex: 1;
  min-width: 0;
}

.document-file-item .document-file-title,
.document-file-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.375rem 0;
  color: #111827;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.document-file-item .document-actions {
  flex-shrink: 0;
  margin-left: auto;
}

.document-file-item .btn-download-document {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
  pointer-events: none;
}

/* CARD/GRID FORMAT - Keep as backup */
.document-files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.document-file-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.document-file-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.document-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 0.5rem;
  color: var(--primary-blue);
}

.document-file-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--primary-blue);
}

.file-extension {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7280;
  background: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
}

.document-file-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.document-file-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: #111827;
  line-height: 1.4;
}

.document-file-description {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.document-file-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

.file-size {
  font-weight: 500;
}

.file-type-badge {
  background: #e0e7ff;
  color: #4338ca;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.document-file-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

.btn-download-file,
.btn-view-file {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-download-file {
  background: var(--primary-blue);
  color: white;
}

.btn-download-file:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

.btn-view-file {
  background: #ffffff;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-view-file:hover {
  background: #eff6ff;
}

.btn-download-file svg,
.btn-view-file svg {
  width: 16px;
  height: 16px;
}

.no-files-message {
  text-align: center;
  padding: 3rem 2rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  border: 2px dashed #d1d5db;
}

.no-files-message p {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0;
}

/* Specific file type colors */
.document-file-card:has(.file-extension:contains("PDF")) .document-file-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #dc2626;
}

.document-file-card:has(.file-extension:contains("PDF")) .document-file-icon svg {
  stroke: #dc2626;
}

.document-file-card:has(.file-extension:contains("DOC")) .document-file-icon,
.document-file-card:has(.file-extension:contains("DOCX")) .document-file-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #2563eb;
}

.document-file-card:has(.file-extension:contains("DOC")) .document-file-icon svg,
.document-file-card:has(.file-extension:contains("DOCX")) .document-file-icon svg {
  stroke: #2563eb;
}

.document-file-card:has(.file-extension:contains("XLS")) .document-file-icon,
.document-file-card:has(.file-extension:contains("XLSX")) .document-file-icon {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
}

.document-file-card:has(.file-extension:contains("XLS")) .document-file-icon svg,
.document-file-card:has(.file-extension:contains("XLSX")) .document-file-icon svg {
  stroke: #059669;
}

/* Responsive Design for File Cards */
@media (max-width: 768px) {
  /* Compact List Format */
  .document-file-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 1rem;
  }

  .document-file-item .document-icon {
    align-self: flex-start;
  }

  .document-file-item .document-actions {
    width: 100%;
    margin-left: 0;
  }

  .document-file-item .btn-download-document {
    width: 100%;
    justify-content: center;
  }

  /* Card Grid Format */
  .document-files-grid {
    grid-template-columns: 1fr;
  }

  .document-file-card {
    padding: 1.25rem;
  }

  .document-file-actions {
    flex-direction: column;
  }

  .btn-download-file,
  .btn-view-file {
    width: 100%;
  }
}
/* ==================== CONTENT PAGE LAYOUT ==================== */

.content-page {
  background: #ffffff;
}

/* Breadcrumb Navigation */
.breadcrumb {
  background: #f9fafb;
  padding: 0.35rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.breadcrumb .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  width: 100%;
}

.breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  color: #374151;
  font-size: 0.875rem;
}

.breadcrumb .breadcrumb-item a {
  color: #d91e18;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb .breadcrumb-item a:hover {
  color: #b91c1c;
  text-decoration: underline;
}

.breadcrumb .breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: #9ca3af;
  font-size: 1.25rem;
}

.separator {
  color: #6b7280;
}

.current {
  color: #1f2937;
  font-weight: 500;
}

/* Page Title Section */
.page-title-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  border-bottom: 4px solid var(--yellow);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
}

/* Page Content Section */
.page-content-section {
  padding: 3rem 0;
  min-height: 300px;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Create 2 unified content blocks */
.page-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Block 1: First 2 children - with background and styling */
/* Container & Content Layout */
.contentSection {
  padding: 1rem 0.5rem 2.5rem;
  background: var(--white);
}

.content-layout-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 250px;
  gap: 16px;
  align-items: start;
}

/* 2-column layout when left sidebar is not present (e.g., Contact Us page) */
.content-layout-grid.no-left-sidebar {
  grid-template-columns: minmax(0, 1fr) 250px;
}

.content-layout-grid.no-left-sidebar .content-left-sidebar {
  display: none;
}

.content-layout-grid:has(.press-article) {
  grid-template-columns: minmax(0, 1fr) 250px;
}

.content-layout-grid:has(.press-article) .content-left-sidebar {
  display: none;
}

/* Licensees page (UID 10): hide left sidebar and widen table area */
.page-10 .content-layout-grid {
  grid-template-columns: minmax(0, 1fr) 250px;
}

.page-10 .content-left-sidebar {
  display: none;
}

.page-10 .content-middle-column .contentBlock,
.page-10 .content-middle-column .ce-bodytext,
.page-10 .content-middle-column .frame-type-table,
.page-10 .content-middle-column .table-responsive {
  max-width: 100%;
  overflow-x: hidden !important;
}

.page-10 .content-middle-column table,
.page-10 .content-middle-column .table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed;
  font-size: 0.72rem;
  line-height: 1.25;
}

.page-10 .content-middle-column table th,
.page-10 .content-middle-column table td,
.page-10 .content-middle-column .table th,
.page-10 .content-middle-column .table td {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  padding: 0.32rem 0.4rem;
  vertical-align: top;
}

.page-10 .content-middle-column .table-responsive > .table {
  margin-bottom: 0;
}

.content-layout-grid > * {
  min-width: 0;
}

.content-middle-column {
  min-width: 0;
}

.content-middle-column,
.content-middle-column .contentBlock {
  position: relative;
  z-index: 1;
}

.content-middle-column .contentBlock {
  background: #ffffff;
  border-radius: 10px;
  overflow: visible;
}

.content-middle-column .contentBlock > * {
  max-width: 100%;
}

.content-middle-column .contentSection {
  padding: 0 !important;
  background: transparent !important;
}

.content-middle-column .container,
.content-middle-column .contentSection .container,
.content-middle-column .contentBlock .container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.content-middle-column .contentSection .contentBlock,
.content-middle-column .contentBlock .contentBlock {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.content-middle-column .frame,
.content-middle-column .ce-bodytext,
.content-middle-column .contentText,
.content-middle-column .card,
.content-middle-column .text-column,
.content-middle-column .table-responsive,
.content-middle-column figure,
.content-middle-column table,
.content-middle-column .news,
.content-middle-column .tx-news {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.content-middle-column p,
.content-middle-column li,
.content-middle-column h1,
.content-middle-column h2,
.content-middle-column h3,
.content-middle-column h4 {
  overflow-wrap: anywhere;
  word-break: normal;
}

.content-middle-column .btn,
.content-middle-column .btn-download,
.content-middle-column .btn-download-document,
.content-middle-column .btn-view-document {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.content-middle-column .row {
  margin-left: 0;
  margin-right: 0;
}

.content-middle-column [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.content-middle-column img,
.content-middle-column table,
.content-middle-column iframe,
.content-middle-column .card {
  max-width: 100%;
}

.content-middle-column table {
  width: 100%;
}

.contentBlock {
  max-width: none;
  margin: 0;
  width: 100%;
}

.content-left-sidebar,
.content-right-sidebar {
  position: relative;
  top: auto;
}

.content-left-sidebar {
  margin-left: -8px;
}

.content-right-sidebar {
  margin-right: -8px;
}

.sidebar-card {
  background: #f8fbff;
  border: 1px solid rgba(10, 63, 124, 0.12);
  border-radius: 12px;
  padding: 14px;
}

.sidebar-card h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: var(--blue-mid);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sidebar-nav-card {
  padding-top: 10px;
}

.breadcrumb-inside {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  margin-bottom: 1rem;
}

.breadcrumb-inside .breadcrumb-list {
  margin: 0;
}

.sidebar-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.sidebar-nav-list a {
  color: var(--blue-mid);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

.sidebar-nav-list a:hover {
  text-decoration: underline;
  color: var(--blue-dark);
}

.latest-news-ticker {
  min-height: 220px;
}

.latest-news-track {
  position: relative;
}

.latest-news-item {
  display: none;
  animation: newsFadeIn 0.35s ease;
}

.latest-news-item.is-active {
  display: block;
}

.latest-news-track .news-list-view ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.latest-news-track .news-list-view li,
.latest-news-track .news-list-view .article,
.latest-news-track article,
.latest-news-track li {
  margin: 0 0 10px 0;
}

.latest-news-track a {
  color: var(--blue-mid);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.latest-news-track a:hover {
  text-decoration: underline;
  color: var(--blue-dark);
}

@keyframes newsFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Sidebar Latest News List (snl) ---- */
.snl-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.snl-scroll {
  max-height: 420px;
  overflow: hidden;
  position: relative;
}

.snl-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.snl-item {
  padding: 6px 0;
  border-bottom: 1px solid rgba(10, 63, 124, 0.1);
}

.snl-item a {
  text-decoration: none;
  color: var(--blue-mid);
}

.snl-item a:hover {
  text-decoration: underline;
  color: var(--blue-dark);
}

.snl-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}

.snl-date {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
  margin-top: 2px;
}
/* ---- end snl ---- */

@media (max-width: 1200px) {
  .content-layout-grid {
    grid-template-columns: 200px minmax(0, 1fr) 220px;
    gap: 14px;
  }

  .content-layout-grid.no-left-sidebar {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .page-10 .content-layout-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
}

@media (max-width: 992px) {
  .content-layout-grid {
    grid-template-columns: 1fr;
  }

  .content-layout-grid.no-left-sidebar {
    grid-template-columns: 1fr;
  }

  .content-left-sidebar,
  .content-right-sidebar {
    position: static;
    margin-left: 0;
    margin-right: 0;
  }

  .page-10 .content-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Content Text */
.contentText {
  line-height: 1.8;
  color: var(--text);
  font-size: 1rem;
}

.contentText > p {
  margin-bottom: 1.5rem;
}

/* Numbered List */
.numberedList {
  margin: 1rem 0 1.5rem 1.5rem;
  padding-left: 1rem;
  line-height: 1.7;
}

/* Card Component - Main styling for each section */
.card {
  background: linear-gradient(135deg, #f8f9fc 0%, var(--blue-very-light) 100%);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(10, 63, 124, 0.08);
  border: 1px solid rgba(10, 63, 124, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(10, 63, 124, 0.15);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* Inline Link */
.inlineLink {
  color: #0056b3;
  font-weight: 600;
  text-decoration: none;
}

.inlineLink:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
  .contentSection .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 640px) {
  .contentSection {
    padding: 2rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card h3 {
    font-size: 1.15rem;
  }
}
.contentText > p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.rolesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.roleItem {
  display: flex;
  gap: 1rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, #f8f9fc 0%, var(--blue-very-light) 100%);
  border-radius: var(--radius);
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(10, 63, 124, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(10, 63, 124, 0.08);
}

.roleItem:hover {
  box-shadow: 0 4px 16px rgba(10, 63, 124, 0.15);
  transform: translateY(-2px);
  border-color: var(--yellow);
}

.roleNumber {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--yellow) 0%, #ffd54f 100%);
  color: var(--blue-deep);
  border-radius: 12px;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(247, 196, 2, 0.3);
}

.roleItem p {
  margin: 0;
  line-height: 1.7;
  color: var(--text);
  font-size: 0.95rem;
  padding-top: 0.25rem;
}

/* Feedback form styles */
.feedbackForm {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(10, 63, 124, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(10, 63, 124, 0.08);
}

.formGroup {
  display: grid;
  gap: 0.5rem;
}

.formGroup label {
  font-weight: 600;
  color: var(--blue-deep);
}

.formGroup input,
.formGroup textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(10, 63, 124, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.formGroup input:focus,
.formGroup textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(12, 92, 168, 0.15);
}

.formGroup textarea {
  resize: vertical;
  min-height: 140px;
}

.btnPrimary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--blue-deep);
  color: var(--white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btnPrimary:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
}

.btnPrimary:active {
  background: var(--blue-light);
  transform: translateY(0);
}

/* Content text elements styling */
.page-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 1.5rem 0;
}

.page-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 2.5rem 0 1.25rem 0;
  line-height: 1.3;
}

.page-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-mid);
  margin: 2rem 0 1rem 0;
  line-height: 1.3;
}

.page-content a {
  color: var(--blue-light);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.page-content a:hover {
  color: var(--blue-deep);
  border-bottom-color: var(--blue-deep);
}

.page-content ul, .page-content ol {
  margin: 0 0 1.5rem 0;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

/* Content Box Styling */
.content-box,
.content-boxes-grid > * {
  background: linear-gradient(135deg, #f8f9fc 0%, var(--blue-very-light) 100%);
  border-left: 4px solid var(--yellow);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(10, 63, 124, 0.08);
  transition: all 0.3s ease;
}

.content-box:hover,
.content-boxes-grid > *:hover {
  box-shadow: 0 4px 16px rgba(10, 63, 124, 0.15);
  transform: translateY(-2px);
}

.content-box h3,
.content-boxes-grid > * h3 {
  color: var(--blue-deep);
  font-size: 1.25rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.content-box p,
.content-boxes-grid > * p {
  margin: 0 0 1rem 0;
  line-height: 1.7;
  color: var(--text);
  font-size: 0.95rem;
}

.content-box p:last-child,
.content-boxes-grid > * p:last-child {
  margin-bottom: 0;
}

/* Grid for Multiple Content Boxes (e.g., Vision, Mission, Core Values) */
.content-boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.content-boxes-grid > * {
  border-left: 4px solid var(--yellow);
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fc 0%, var(--blue-very-light) 100%);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(10, 63, 124, 0.08);
}

.content-boxes-grid > * ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-boxes-grid > * li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  line-height: 1.6;
  margin-bottom: 0;
}

.content-boxes-grid > * li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-size: 1.2rem;
  font-weight: bold;
}

/* Content with Images */
.content-with-image {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 2rem 0;
}

.content-with-image img {
  flex-shrink: 0;
  max-width: 300px;
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-with-image-text {
  flex: 1;
}

/* Citizen Charter Card */
.document-card {
  background: linear-gradient(135deg, #f8f9fc 0%, var(--blue-very-light) 100%);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin: 2.5rem 0;
  box-shadow: 0 2px 8px rgba(10, 63, 124, 0.08);
  border: 1px solid rgba(10, 63, 124, 0.08);
}

.document-card h3 {
  color: var(--blue-deep);
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.document-card p {
  margin: 0 0 1.5rem 0;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--blue-deep);
  color: var(--white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--blue-mid);
}

.btn-primary:active {
  background: var(--blue-light);
}

.charter-highlights {
  margin-top: 2.5rem;
  padding: 2rem;
  background: #f8f9fc;
  border-radius: var(--radius);
}

.charter-highlights h3 {
  color: var(--blue-deep);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.charter-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.charter-highlights li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  line-height: 1.7;
}

.charter-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: bold;
  font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-title-section {
    padding: 2rem 0;
  }

  .page-title {
    font-size: 1.875rem;
  }

  .page-content-section {
    padding: 2rem 0;
  }

  .content-boxes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .content-box,
  .content-boxes-grid > * {
    padding: 1.5rem;
  }

  .content-with-image {
    flex-direction: column;
    gap: 1rem;
  }

  .content-with-image img {
    max-width: 100%;
  }

  .breadcrumb-list {
    font-size: 0.875rem;
  }

  .breadcrumb-item::after {
    margin: 0 0.5rem;
  }

  .rolesGrid {
    grid-template-columns: 1fr;
  }

  .roleItem {
    gap: 1rem;
    padding: 1rem;
  }

  .roleNumber {
    min-width: 35px;
    height: 35px;
    font-size: 0.85rem;
  }

  .feedbackForm {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .content-box h3,
  .content-boxes-grid > * h3 {
    font-size: 1.25rem;
  }

  .breadcrumb-section {
    padding: 1.5rem 0;
  }

  .page-title-section {
    padding: 1.5rem 0;
  }

  .contentSection {
    padding: 1rem;
  }

  .feedbackForm {
    padding: 1rem;
  }
}

/* Tables - global application style */
.tableWrap,
.ce-table-wrapper,
.frame-type-table {
  overflow-x: auto;
  margin-top: 1.5rem;
}

/* Override Bootstrap table styles in content area */
.content-page .table,
.content-page .table-responsive .table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.95rem !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(10, 63, 124, 0.08) !important;
  border: 1px solid rgba(10, 63, 124, 0.08) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.content-page .table thead,
.content-page .table-responsive .table thead {
  background: #0c5ca8 !important;
  color: #ffffff !important;
}

.content-page .table thead th,
.content-page .table-responsive .table thead th {
  background: #0c5ca8 !important;
  color: #ffffff !important;
}

/* Reset Bootstrap's cell background so our row colors show */
.content-page .table > :not(caption) > * > *,
.content-page .table-responsive .table > :not(caption) > * > * {
  background-color: transparent !important;
}

.content-page .table th,
.content-page .table td,
.content-page .table-responsive .table th,
.content-page .table-responsive .table td {
  padding: 0.9rem 1rem !important;
  text-align: left !important;
  vertical-align: top !important;
  border-bottom: 1px solid rgba(10, 63, 124, 0.08) !important;
}

.content-page .table tbody tr:nth-child(odd),
.content-page .table-responsive .table tbody tr:nth-child(odd) {
  background: #f9fbff !important;
}

.content-page .table tbody tr:nth-child(odd) > *,
.content-page .table-responsive .table tbody tr:nth-child(odd) > * {
  background: #f9fbff !important;
}

.content-page .table tbody tr:hover,
.content-page .table-responsive .table tbody tr:hover {
  background: #f1f6ff !important;
}

.content-page .table tbody tr:hover > *,
.content-page .table-responsive .table tbody tr:hover > * {
  background: #f1f6ff !important;
}

:where(.table, .ce-table, .frame-type-table table, .ce-textpic table, table.contenttable, table) {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(10, 63, 124, 0.08);
  border: 1px solid rgba(10, 63, 124, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

:where(.table thead, .ce-table thead, .frame-type-table table thead, .ce-textpic table thead, table.contenttable thead, table thead) {
  background: #0c5ca8;
  color: #ffffff;
}

:where(.table th, .table td, .ce-table th, .ce-table td, .frame-type-table table th, .frame-type-table table td, .ce-textpic table th, .ce-textpic table td, table.contenttable th, table.contenttable td, table th, table td) {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(10, 63, 124, 0.08);
}

:where(.table tbody tr:nth-child(odd), .ce-table tbody tr:nth-child(odd), .frame-type-table table tbody tr:nth-child(odd), .ce-textpic table tbody tr:nth-child(odd), table.contenttable tbody tr:nth-child(odd), table tbody tr:nth-child(odd)) {
  background: #f9fbff;
}

:where(.table tbody tr:hover, .ce-table tbody tr:hover, .frame-type-table table tbody tr:hover, .ce-textpic table tbody tr:hover, table.contenttable tbody tr:hover, table tbody tr:hover) {
  background: #f1f6ff;
}

/* Badges for category tags */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0c5ca8;
  background: #e6f0fb;
  border: 1px solid rgba(12, 92, 168, 0.2);
}

/* Tables with company links */
.listedTable a {
  color: #0c5ca8;
  font-weight: 600;
  text-decoration: none;
}

.listedTable a:hover {
  color: #0a3f7c;
  text-decoration: underline;
}

@media (max-width: 640px) {
  :where(.table th, .table td, .ce-table th, .ce-table td, .frame-type-table table th, .frame-type-table table td, .ce-textpic table th, .ce-textpic table td, table.contenttable th, table.contenttable td, table th, table td) {
    padding: 0.75rem 0.85rem;
  }
}

/* ==================== CONTACT US PAGE ==================== */
.content-page:has(.contact-wrapper) .contentSection {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.content-page:has(.contact-wrapper) .contentSection > .container {
  padding-top: 0;
  padding-bottom: 0;
}

.content-page:has(.contact-wrapper) .contentBlock {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 1200px;
}

/* ==================== CONTACT US (UID 29) COMPACT SPACING ==================== */
.page-29 .breadcrumb {
  padding: 0.2rem 0;
}

.page-29 .contentSection {
  padding: 1rem 1rem 1.15rem;
}

.page-29 .contentSection .container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-29 .contentBlock {
  max-width: 1200px;
  margin: 0;
}

.page-29 .contact-wrapper {
  padding: 0 0 0.5rem;
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-29 .contact-form-section {
  padding: 0.9rem 1.1rem;
}

.page-29 .contact-form-section h2 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.page-29 .contact-form-section p {
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.page-29 .contact-info-section {
  padding: 0.9rem 1rem;
  max-width: 280px;
}

.page-29 .contact-info-section h2 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.page-29 .contact-info-section h3 {
  font-size: 0.75rem;
  margin: 0.6rem 0 0.25rem;
}

.page-29 .contact-info-section p,
.page-29 .contact-info-section a {
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0.15rem 0;
}

@media (max-width: 968px) {
  .page-29 .contentSection {
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .page-29 .contact-wrapper {
    gap: 1rem;
    max-width: 100%;
  }

  .page-29 .contact-form-section,
  .page-29 .contact-info-section {
    padding: 0.85rem;
    max-width: none;
  }
}

/* ==================== ABOUT CMA (UID 3) COMPACT SPACING ==================== */
.page-3 .breadcrumb {
  padding: 0.2rem 0;
}

.page-3 .contentSection {
  padding: 1rem 1rem 1.15rem;
}

.page-3 .contentSection .container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-3 .contentBlock {
  max-width: 1200px;
  margin: 0;
}

.page-3 .contentText {
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-3 .contentText > p {
  margin-bottom: 1rem;
}

.page-3 .content-boxes-grid {
  gap: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.page-3 .content-box,
.page-3 .content-boxes-grid > * {
  padding: 1.25rem;
}

.page-3 .content-box h3,
.page-3 .content-boxes-grid > * h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.page-3 .content-box p,
.page-3 .content-boxes-grid > * p,
.page-3 .content-boxes-grid > * li {
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .page-3 .contentSection {
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .page-3 .content-box,
  .page-3 .content-boxes-grid > * {
    padding: 1rem;
  }
}

/* ==================== CITIZEN CHARTER (UID 4) COMPACT SPACING ==================== */
.page-4 .breadcrumb {
  padding: 0.2rem 0;
}

.page-4 .contentSection {
  padding: 1rem 1rem 1.15rem;
}

.page-4 .contentSection .container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-4 .contentBlock {
  max-width: 1200px;
  margin: 0;
}

.page-4 .contentText {
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-4 .contentText > p {
  margin-bottom: 1rem;
}

.page-4 .content-boxes-grid {
  gap: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.page-4 .content-box,
.page-4 .content-boxes-grid > * {
  padding: 1.25rem;
}

.page-4 .content-box h3,
.page-4 .content-boxes-grid > * h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.page-4 .content-box p,
.page-4 .content-boxes-grid > * p,
.page-4 .content-boxes-grid > * li {
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .page-4 .contentSection {
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .page-4 .content-box,
  .page-4 .content-boxes-grid > * {
    padding: 1rem;
  }
}

/* ==================== ROLE OF CMA (UID 5) COMPACT SPACING ==================== */
.page-5 .breadcrumb {
  padding: 0.2rem 0;
}

.page-5 .contentSection {
  padding: 1rem 1rem 1.15rem;
}

.page-5 .contentSection .container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-5 .contentBlock {
  max-width: 1200px;
  margin: 0;
}

.page-5 .contentText {
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-5 .contentText > p {
  margin-bottom: 1rem;
}

.page-5 .rolesGrid {
  gap: 1.2rem;
  margin-top: 1.25rem;
}

.page-5 .roleItem {
  padding: 1.25rem;
}

.page-5 .roleNumber {
  min-width: 40px;
  height: 40px;
  font-size: 0.9rem;
}

.page-5 .roleItem p {
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .page-5 .contentSection {
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .page-5 .rolesGrid {
    gap: 0.9rem;
    grid-template-columns: 1fr;
  }

  .page-5 .roleItem {
    padding: 1rem;
  }

  .page-5 .roleNumber {
    min-width: 36px;
    height: 36px;
  }
}

/* ==================== FEEDBACK (UID 6) COMPACT SPACING ==================== */
.page-6 .breadcrumb {
  padding: 0.2rem 0;
}

.page-6 .contentSection {
  padding: 1rem 1rem 1.15rem;
}

.page-6 .contentSection .container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-6 .contentBlock {
  max-width: 1200px;
  margin: 0;
}

.page-6 .contentText {
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-6 .contentText > p {
  margin-bottom: 1rem;
}

.page-6 .feedbackForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  padding: 1.1rem;
  max-width: 600px;
  background: var(--blue-very-light);
  border: 1px solid rgba(10, 63, 124, 0.1);
  border-radius: 10px;
}

.page-6 .formGroup {
  gap: 0.35rem;
}

.page-6 .formGroup:nth-child(3),
.page-6 .formGroup:nth-child(4) {
  grid-column: 1 / -1;
}

.page-6 .formGroup label {
  font-size: 0.88rem;
  font-weight: 550;
}

.page-6 .formGroup input,
.page-6 .formGroup textarea {
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
}

.page-6 .formGroup textarea {
  min-height: 110px;
}

.page-6 .feedbackForm button {
  grid-column: 1 / -1;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .page-6 .contentSection {
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .page-6 .feedbackForm {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.95rem;
    max-width: 100%;
  }

  .page-6 .formGroup:nth-child(3),
  .page-6 .formGroup:nth-child(4) {
    grid-column: 1;
  }

  .page-6 .formGroup input,
  .page-6 .formGroup textarea {
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
  }

  .page-6 .formGroup textarea {
    min-height: 90px;
  }

  .page-6 .feedbackForm button {
    grid-column: 1;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
  }
}

/* ==================== APPLICATION FOR LICENSE (UID 8) COMPACT SPACING ==================== */
.page-8 .breadcrumb {
  padding: 0.2rem 0;
}

.page-8 .contentSection {
  padding: 1rem 1rem 1.15rem;
}

.page-8 .contentSection .container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-8 .contentBlock {
  max-width: 1200px;
  margin: 0;
}

.page-8 .cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.page-8 .card {
  padding: 1.25rem;
}

.page-8 .card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.page-8 .contentText {
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-8 .contentText p {
  margin-bottom: 0.9rem;
}

.page-8 .numberedList {
  margin: 0.8rem 0 0 1.5rem;
  gap: 0.5rem;
}

.page-8 .numberedList li {
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-8 .inlineLink {
  color: #0056b3 !important;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 768px) {
  .page-8 .contentSection {
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .page-8 .cards-container {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .page-8 .card {
    padding: 1rem;
  }

  .page-8 .card h3 {
    font-size: 1rem;
    margin-bottom: 0.7rem;
  }

  .page-8 .contentText {
    font-size: 0.9rem;
  }

  .page-8 .numberedList li {
    font-size: 0.88rem;
  }
}

/* ==================== PAGE 9: FEES ==================== */
.page-9 .contentSection {
  padding: 2rem 0 !important;
}

.page-9 .contentBlock {
  max-width: 1000px !important;
  margin: 0 auto !important;
}

/* Force text-column to display as single column (not multi-column layout) */
.page-9 .text-column {
  display: block !important;
  width: 100% !important;
  column-count: 1 !important;
  -webkit-column-count: 1 !important;
  -moz-column-count: 1 !important;
}

/* Force ALL figure.table elements to be full-width block elements */
.page-9 .text-column figure.table,
.page-9 figure.table {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 2rem 0 1rem 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  break-inside: avoid !important;
}

.page-9 .text-column figure.table:first-of-type,
.page-9 figure.table:first-of-type {
  margin-top: 0 !important;
}

/* Force table-responsive to not cause any flex/grid issues */
.page-9 .table-responsive {
  display: block !important;
  width: 100% !important;
  overflow-x: auto !important;
}

/* Ensure all paragraphs between tables are full width */
.page-9 .text-column p {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

@media (max-width: 768px) {
  .page-9 .contentSection {
    padding: 1.5rem 0;
  }

  .page-9 .tableWrap,
  .page-9 .ce-table-wrapper,
  .page-9 .frame-type-table {
    margin-top: 1.5rem !important;
  }
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 1.5rem;
  padding: 0.25rem 1rem 0;
}

.contact-form-section {
  background: rgba(230, 240, 251, 0.4);
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(10, 63, 124, 0.1);
}

.contact-form-section h2 {
  color: var(--blue-deep);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-form-section p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-size: 0.85rem;
}

.contact-info-section {
  background: var(--blue-deep);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  color: white;
  min-width: 300px;
}

.contact-info-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.contact-info-section h3 {
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 700;
  margin: 1rem 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.contact-info-section p,
.contact-info-section a {
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0.2rem 0;
}

.contact-info-section a {
  color: white;
  text-decoration: none;
}

.contact-info-section a:hover {
  color: var(--yellow);
}

@media (max-width: 968px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-info-section {
    min-width: unset;
  }
  
  .contact-form-section {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .contact-form-section {
    padding: 1.25rem 1rem;
  }
  
  .contact-info-section {
    padding: 1.5rem 1.25rem;
  }
}

/* ========================================
   DOCUMENTS TABLE STYLES (Laws, Regulations, etc.)
   ======================================== */
.documents-section {
  background: #ffffff;
  padding: 2rem 0;
  margin: 2rem 0;
}

.documents-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.documents-list {
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.docs-item-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.72rem 0.95rem;
  background: #ffffff;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  box-shadow: 0 1px 2px rgba(13, 27, 42, 0.04);
}

.docs-item-card:hover {
  box-shadow: 0 5px 14px rgba(10, 63, 124, 0.09);
  border-color: #d4deeb;
  transform: translateY(-1px);
}

.docs-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f7fb;
  border-radius: 7px;
  font-size: 1.05rem;
  color: #d1292d;
}

.docs-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.docs-item-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #003b7a;
  line-height: 1.35;
  word-break: break-word;
  hyphens: auto;
}

.docs-item-meta {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-size: 0.76rem;
  color: #6b7280;
}

.docs-item-date,
.docs-item-size {
  white-space: nowrap;
}

.docs-item-action {
  flex-shrink: 0;
}

.docs-item-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.82rem;
  background-color: #003b7a;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.docs-item-download:hover {
  background-color: #0b4d96;
  box-shadow: 0 3px 10px rgba(10, 63, 124, 0.2);
}

.docs-item-download i {
  font-size: 0.85rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .docs-item-card {
    flex-wrap: wrap;
    padding: 0.68rem 0.8rem;
    gap: 0.55rem;
  }

  .docs-item-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .docs-item-title {
    font-size: 0.86rem;
    width: 100%;
    order: 2;
  }

  .docs-item-meta {
    order: 3;
    width: 100%;
    gap: 0.75rem;
    font-size: 0.72rem;
  }

  .docs-item-action {
    order: 4;
    width: 100%;
  }

  .docs-item-download {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .docs-item-card {
    padding: 0.58rem 0.65rem;
    gap: 0.48rem;
  }

  .docs-item-icon {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }

  .docs-item-title {
    font-size: 0.8rem;
  }

  .docs-item-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    font-size: 0.68rem;
  }

  .docs-item-download {
    padding: 0.45rem 0.62rem;
    font-size: 0.74rem;
    gap: 0.3rem;
  }

  .docs-item-download span {
    display: none;
  }

  .docs-item-download i::before {
    content: '\f019';
  }
}

.document-title {
  font-weight: 500;
  color: #333333;
}

/* Document pagination styles */
.documents-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.pagination-button {
  display: inline-block;
  padding: 0.6rem 1rem;
  background-color: #003b7a;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
  cursor: pointer;
  border: 1px solid #003b7a;
}

.pagination-button:hover:not(.is-disabled) {
  background-color: #0055cc;
  border-color: #0055cc;
}

.pagination-button.is-disabled {
  background-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  border-color: #e0e0e0;
}

.pagination-info {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.document-download .text-muted {
  color: #999999;
  font-size: 1.2rem;
}

/* Responsive table */
@media (max-width: 768px) {
  .documents-section {
    padding: 1.5rem 0;
  }

  .documents-table {
    font-size: 0.85rem;
  }

  .documents-table thead th,
  .documents-table td {
    padding: 0.55rem 0.45rem;
  }

  .document-title {
    display: block;
    word-break: break-word;
  }

  .document-download .btn {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
  }

  .document-title-link i {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .documents-table {
    display: block;
    border: none;
  }

  .documents-table thead {
    display: none;
  }

  .documents-table tbody,
  .documents-table tr,
  .documents-table td {
    display: block;
    width: 100%;
  }

  .documents-table tr {
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .documents-table td {
    border-bottom: none;
    padding: 0.75rem 1rem;
    text-align: right;
    position: relative;
    padding-left: 50%;
  }

  .documents-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 1rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #666;
  }

  .document-download {
    text-align: left;
  }
}

/* ========================================
   DOCUMENT DETAIL PAGE STYLES
   ======================================== */
.document-detail {
  width: 100%;
  padding: 2rem 0;
}

.document-detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.document-back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #003b7a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.document-back-link:hover {
  color: #0055cc;
  text-decoration: underline;
}

.document-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #e6f0fb 0%, #f0f5fa 100%);
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid #003b7a;
}

.document-detail-icon {
  font-size: 3rem;
  color: #003b7a;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 8px;
}

.document-detail-info {
  flex: 1;
}

.document-detail-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #003b7a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.document-detail-meta {
  font-size: 0.95rem;
  color: #666666;
}

.document-detail-date {
  display: block;
  margin-bottom: 0.5rem;
}

.document-detail-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.document-description {
  margin-bottom: 2rem;
}

.document-description h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #003b7a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.document-description p {
  color: #333333;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.document-files {
  border-top: 2px solid #e5e7eb;
  padding-top: 2rem;
}

.document-files h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #003b7a;
  margin-bottom: 1.5rem;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.file-item:hover {
  background: #f0f5fa;
  border-color: #003b7a;
  box-shadow: 0 2px 8px rgba(0, 59, 122, 0.1);
}

.file-icon {
  font-size: 2.5rem;
  color: #d1292d;
  flex-shrink: 0;
}

.file-details {
  flex: 1;
}

.file-name {
  font-weight: 600;
  color: #003b7a;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.file-size {
  font-size: 0.85rem;
  color: #999999;
}

.file-actions {
  flex-shrink: 0;
}

.file-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #003b7a;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.file-actions .btn:hover {
  background-color: #0055cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 59, 122, 0.2);
}

.file-actions .btn i {
  font-size: 1rem;
}

/* Responsive document detail */
@media (max-width: 768px) {
  .document-detail-header {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .document-detail-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .document-detail-title {
    font-size: 1.5rem;
  }

  .document-detail-content {
    padding: 1.5rem;
  }

  .file-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .file-actions {
    width: 100%;
  }

  .file-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .document-detail-container {
    padding: 0 1rem;
  }

  .document-detail-header {
    padding: 1rem;
    border-left-width: 3px;
  }

  .document-detail-icon {
    width: 50px;
    height: 50px;
    font-size: 1.75rem;
  }

  .document-detail-title {
    font-size: 1.25rem;
  }

  .document-detail-content {
    padding: 1rem;
  }

  .document-description h2,
  .document-files h2 {
    font-size: 1.1rem;
  }

  .file-item {
    padding: 1rem;
  }

  .file-icon {
    font-size: 2rem;
  }

  .file-actions .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

/* End of Document Detail Styles */


