/* CSS Variables */
:root {
  --primary-color: #00401A;
  --background-light: #e0e3e4f0;
  --background-dark: #0f172a;
  --border-radius: 0.5rem;
  --primary: #00401A;
  --primary-dark: #002d12;
  --primary-light: #005c25;
  --accent: #c9a84c;
  --bg-light: #e0e3e4f0;
  --card-bg: #ffffff;
  --text-main: #1e2a1f;
  --text-muted: #5a6b5c;
  --border: #cdd8cf;
  --radius: 0.6rem;
  --shadow: 0 4px 24px rgba(0, 64, 26, .10);
}


/* original  paksitan color for green 
#006600 */
/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background-light);
  color: #334155;
  transition:
    background-color 0.3s,
    color 0.3s;
}

body.dark-mode {
  background-color: var(--background-dark);
  color: #cbd5e1;
}

/* hide hamburger on desktop (>=768px) */
@media (min-width: 768px) {
  .hamburger-btn {
    display: none;
  }

}

.hamburger-btn {

  background: none;
  border: none;
  color: white;
  font-size: 32px;
  padding: 8px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.research-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-item .dropDownmenu {
  display: none;
  transition: all 0.3s linear;
  position: absolute;
  left: 0;
  width: 220px;
  background: #fff;
  list-style: none;
  color: #000;
  border-radius: 5px;
  margin-top: 10px;
  padding: 0;
  overflow: hidden;
}

.nav-item:hover .dropDownmenu {
  display: block;
  z-index: 9999;
}

.nav-item:hover .dropDownmenu li {
  cursor: pointer;
}

.nav-item .dropDownmenu li a {
  padding: 10px;
  display: block;
  text-decoration: none;
  color: var(--primary-color);
}

.nav-item .dropDownmenu li a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transition: all .2s linear;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* **************************************************************************** */
.nav-overlay,
.menuBar {
  display: none;
}


/* **************************************************************************** */
/* Material Icons */
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

/* Top Bar */
.top-bar {
  background-color: #39393bf0;
  border-bottom: 5px solid #bb9500;
  color: #f7f9fc;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.dark-mode .top-bar {
  background-color: #0f172a;
  border-bottom-color: #1e293b;
  color: #94a3b8;
}

.top-bar-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-search {
  display: flex;
  align-items: center;
}

.search-container {
  display: flex;
  align-items: center;
  border: 1px solid #00401A;
  border-radius: 4px;
  padding: 4px 8px;
}

.search-input {
  border: none;
  outline: none;
  padding: 6px;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .header-search {
    display: none;
  }

}

@media (min-width: 768px) {
  .top-bar-content {
    flex-direction: row;
  }
}

@media (max-width: 576px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .site-title {
    text-align: center;
  }
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 12px !important;
}

/* Material Icons baseline vs text — keep glyph vertically centered with label */
.top-bar .contact-item .material-icons-outlined {
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.search-container {
  position: relative;
}

.search-input {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0.25rem 1rem;
  padding-right: 2.5rem;
  font-size: 0.75rem;
  width: 12rem;
}

@media (min-width: 768px) {
  .search-input {
    width: 16rem;
  }
}

.dark-mode .search-input {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(1, 68, 33, 0.1);
}

.search-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.875rem;
}

.search-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.search-btn:hover {
  opacity: 0.9;
}

/* Header */
.main-header {
  padding: 20px 0;
  background-color: white;
  /* padding: 1.5rem 0; */
}

.dark-mode .main-header {
  background-color: #0f172a;
}

.header-content {
  display: flex;
  align-items: center;
  /* vertical alignment */
  gap: 15px;
  /* space between image & text */
}

.emblem {
  width: 100px;
  /* adjust as needed */
  height: auto;
}

.site-title {
  color: var(--primary-color);
  margin: 0;
  text-align: left;
  line-height: 1.3;

  font-weight: 700;
  /* bold */
  text-transform: uppercase;
  /* UPPERCASE */
}


@media (min-width: 768px) {
  .site-title {
    font-size: 30px;
  }
}

.dark-mode .site-title {
  color: white;
}

.site-subtitle {
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.dark-mode .site-subtitle {
  color: #94a3b8;
}

/* Navigation */
.main-nav {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-bottom: 5px solid #bb9500;

}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: white;
  font-size: 13px;
  /* font-weight: 600; */
  /* text-transform: uppercase; */
  list-style: none;
  align-items: center;
  margin: 0;
}

.nav-item {
  display: inline-block;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid transparent;
  transition: background-color 0.2s;
  position: relative;
}

.nav-item.active {
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: white;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.notification-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.5rem;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background-color: #ef4444;
}

/* Hero Section */
.hero-section {
  background:
    /* linear-gradient(rgba(1, 68, 33, 0.85), rgba(1, 68, 33, 0.6)), */
    url("../images/fccp2.webp");
  background-size: cover;
  background-position: center;
  height: 53rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
}

.hero-title {
  color: white;
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-description {
  color: #f1f5f9;
  font-size: 1.125rem;
  font-weight: 300;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

/* Chief Justice Section */
.chief-justice-section {
  margin-top: -6rem;
  position: relative;
  z-index: 20;
  margin-bottom: 4rem;
}

.research-center-section {
  /* margin-top: -6rem; */
  position: relative;
  z-index: 20;
  margin-bottom: 4rem;
}

.chief-justice-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 1px solid #f1f5f9;
}

.research-center-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .chief-justice-card {
    padding: 3rem;
  }
}

.dark-mode .chief-justice-card {
  background-color: #0f172a;
  border-color: #1e293b;
}

.chief-justice-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.chief-justice-image {
  width: 100%;
  height: auto;
  /* border-radius: 9999px; */
  text-align: center !important;
  border: 4px solid #bb9500;
  padding: 0.25rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.research-image {
  width: 100%;
  height: auto;
  /* border-radius: 9999px; */
  text-align: center !important;

  padding: 0.25rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.chief-justice-name {
  color: var(--primary-color);
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.dark-mode .chief-justice-name {
  color: white;
}

.chief-justice-title {
  color: #64748b;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 2rem;
}

.dark-mode .chief-justice-title {
  color: #94a3b8;
}

.chief-justice-quotes {
  max-width: 64rem;
  margin: 0 auto;
  text-align: justify;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 14px;
}

.quote {
  color: #475569;
  line-height: 1.625;
  font-style: italic;
  text-align: center;
}

.dark-mode .quote {
  color: #cbd5e1;
}

/* Services Section */
.services-section {
  margin-bottom: 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: white;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.dark-mode .service-card {
  background-color: #0f172a;
  border-color: #1e293b;
}

.service-icon-container {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #ecfdf5;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s;
}

.dark-mode .service-icon-container {
  background-color: #022c22;
}

.service-card:hover .service-icon-container {
  background-color: var(--primary-color);
}

.service-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.dark-mode .service-icon {
  color: #10b981;
}

.service-card:hover .service-icon {
  color: white;
}

.service-title {
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.dark-mode .service-title {
  color: white;
}

.service-description {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.dark-mode .service-description {
  color: #94a3b8;
}

.service-link {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s;
}

.dark-mode .service-link {
  color: #10b981;
}

.service-link:hover {
  gap: 0.5rem;
}

/* Notifications Section */
.notifications-section {
  background-color: #f8fafc;
  padding: 5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.dark-mode .notifications-section {
  background-color: rgba(15, 23, 42, 0.5);
  border-top-color: #1e293b;
  border-bottom-color: #1e293b;
}

.section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
  }
}

.section-title {
  color: var(--primary-color);
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.dark-mode .section-title {
  color: white;
}

.section-subtitle {
  color: #64748b;
}

.dark-mode .section-subtitle {
  color: #94a3b8;
}

.view-all-link {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dark-mode .view-all-link {
  color: #10b981;
}

.view-all-link:hover {
  text-decoration: underline;
}

.notifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .notifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .notifications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.notification-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.notification-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark-mode .notification-card {
  background-color: #1e293b;
  border-color: #334155;
}

.notification-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.notification-badge-new {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--primary-color);
  background-color: #ecfdf5;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.dark-mode .notification-badge-new {
  color: #10b981;
  background-color: rgba(16, 185, 129, 0.2);
}

.notification-date {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.notification-icon {
  color: #e2e8f0;
  transition: color 0.2s;
}

.dark-mode .notification-icon {
  color: #475569;
}

.notification-card:hover .notification-icon {
  color: var(--primary-color);
}

.notification-title {
  color: #1e293b;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark-mode .notification-title {
  color: white;
}

.notification-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.notification-reference {
  color: #64748b;
  font-size: 0.75rem;
}

.dark-mode .notification-reference {
  color: #94a3b8;
}

.notification-action {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dark-mode .notification-action {
  color: #10b981;
}

.notification-action:hover {
  text-decoration: underline;
}

/* Statistics Section */
.stats-section {
  padding: 5rem 0;
  background:
    linear-gradient(rgba(1, 68, 33, 0.85), rgba(1, 68, 33, 0.6)),
    url("../images/bannerBg.jpg");
  background-size: cover;
  background-position: center;
  height: 40rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  height: auto;
}

.stats-section .hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.stats--zIndex {
  position: relative;
  z-index: 10;
}

.stats-header {
  text-align: center;
  margin-bottom: 4rem;
}

.stats-title {
  color: white;
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.stats-divider {
  width: 5rem;
  height: 0.125rem;
  background-color: white;
  margin: 0 auto 1.5rem;
}

.stats-description {
  color: rgba(209, 250, 229, 0.7);
  max-width: 42rem;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-icon-container {
  margin-bottom: 1.5rem;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 9999px;
  transition: background-color 0.3s;
}

.stat-item:hover .stat-icon-container {
  background-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
  color: white;
  font-size: 3rem;
}

.stat-value {
  color: white;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Case Search Section */
.case-search-section {
  padding: 4rem 0;
  position: relative;
  z-index: 30;
}

.case-search-card {
  max-width: 72rem;
  margin: 0 auto;
  background-color: white;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .case-search-card {
    padding: 2.5rem;
  }
}

.dark-mode .case-search-card {
  background-color: #0f172a;
  border-color: #1e293b;
}

.case-search-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.case-search-icon-container {
  width: 3rem;
  height: 3rem;
  background-color: #d1fae5;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode .case-search-icon-container {
  background-color: #064e3b;
}

.case-search-icon {
  color: var(--primary-color);
}

.dark-mode .case-search-icon {
  color: #10b981;
}

.case-search-title {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: bold;
}

.dark-mode .case-search-title {
  color: white;
}

.case-search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .case-search-form {
    flex-direction: row;
  }
}

.case-search-input-container {
  flex-grow: 1;
  position: relative;
}

.case-search-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.case-search-input {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1rem;
  color: #1e293b;
}

.case-search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(1, 68, 33, 0.1);
}

.dark-mode .case-search-input {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.case-search-button {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  white-space: nowrap;
}

.case-search-button:hover {
  opacity: 0.9;
  box-shadow: 0 20px 25px -5px rgba(1, 68, 33, 0.2);
}

/* Footer */
.main-footer {
  background-color: var(--primary-color);
  color: white;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 14px !important;
  border-top: 5px solid #bb9500;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #fff !important;
}

.footer-link {
  color: #fff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #fff !important;
}

.contact-item-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

/* Footer Material Icons: match header — glyph centered with text (not contact-page .contact-icon circle) */
.contact-item-footer .material-icons-outlined {
  flex-shrink: 0;
  line-height: 1;
  font-size: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background-color: white;
  color: var(--primary-color);
}

.government-portal {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
}

.government-emblem {
  height: 3rem;
  margin-bottom: 1rem;
}

.government-text {
  font-size: 0.75rem;
  color: rgba(209, 250, 229, 1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #fff !important;
  font-size: 0.875rem;
}

/* Utility Classes */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.space-x-4>*+* {
  margin-left: 1rem;
}

.space-y-3>*+* {
  margin-top: 0.75rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-20 {
  margin-top: 5rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.font-bold {
  font-weight: bold;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.font-light {
  font-weight: 300;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-center {
  text-align: center;
}

.text-white {
  color: white;
}

.text-primary {
  color: var(--primary-color);
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:p-12 {
    padding: 3rem;
  }
}

@media (max-width: 767px) {
  .site-title {
    display: none;
  }

  .header-wrapper {
    justify-content: center;
  }

  .emblem {
    width: 120px;
  }

  .center-emblem {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    /* good spacing on mobile */
  }

  .top-bar {
    background-color: #014421;
  }

  .contact-item {
    color: #fff;
    font-size: 12px !important;
  }

  .top-bar-content {
    justify-content: space-between;
    align-items: center;
    flex-direction: unset;
  }

  .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    display: none;
  }

  .menuBar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: #014421;
    overflow-y: auto;
    /* ← Line 1: Enable scrolling */
    -webkit-overflow-scrolling: touch;
    /* ← Line 2: Fix for iPhone */
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
    padding-top: 80px;
    padding-bottom: 80px;
    /* space after Gallery */
  }

  .menuBar .service-icon {
    color: #fff;
  }

  .main-nav {
    border-top: 5px goldenrod;
    position: fixed;
    top: 0;
    left: -80%;
    height: 100%;
    width: 80%;
    transition: all 0.3s linear;
    background-color: #014421;
    z-index: 999;
  }

  .main-nav.active {
    left: 0;
    transition: all 0.3s linear;
  }

  .nav-list {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* padding-top: 50px; */
  }

  .nav-item.active {
    background: unset;
  }

  .nav-item {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
  }

  .nav-overlay.active {
    opacity: 1;
    display: block;
    visibility: visible;
  }
}

.btn-download {
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.28s ease;
  white-space: nowrap;
  box-shadow: 0 4px 10px -2px rgba(1, 68, 33, 0.4);
}

.btn-download:hover,
.btn-download:focus {
  background: linear-gradient(90deg, #0a5c2f, #128c4e);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -6px rgba(1, 68, 33, 0.5);
}

.btn-download:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px -2px rgba(1, 68, 33, 0.45);
}

@media (max-width: 480px) {
  .cause-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .btn-download {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }
}




.roster-container {
  padding: 2rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  border-radius: 3px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07),
    0 8px 10px -6px rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.6);
}

.roster-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.roster-table th,
.roster-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.roster-table th {
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.roster-table tr:last-child td {
  border-bottom: none;
}

.roster-table tr:hover {
  background: rgba(1, 68, 33, 0.06);
  transition: background 0.2s ease;
}

.title-cell {
  font-weight: 500;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pdf-icon-wrapper {
  width: 40px;
  height: 48px;
  background: linear-gradient(135deg, #014421, #0a5c2f);
  color: white;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdf-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.btn-download {
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.3rem;
  border-radius: 0.65rem;
  text-decoration: none;
  transition: all 0.28s ease;
  box-shadow: 0 3px 8px -2px rgba(1, 68, 33, 0.35);
  display: inline-block;
}

.btn-download:hover,
.btn-download:focus {
  background: linear-gradient(90deg, #0a5c2f, #128c4e);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px -5px rgba(1, 68, 33, 0.45);
}

.btn-download:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px -2px rgba(1, 68, 33, 0.4);
}

@media (max-width: 768px) {
  .roster-table {
    border: 0;
  }

  .roster-table thead {
    display: none;
  }

  .roster-table tr {
    display: block;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 15px -4px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
  }

  .roster-table td {
    display: block;
    text-align: right;
    border: none;
    position: relative;
    padding: 0.9rem 1.25rem;
  }

  .roster-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 1.25rem;
    width: 45%;
    font-weight: 600;
    color: #4b5563;
    text-align: left;
  }

  .title-cell {
    font-weight: 600;
    padding-top: 1.2rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  }

  .title-cell:before {
    display: none;
  }

  .btn-download {
    width: auto;
    margin: 0.8rem auto;
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .roster-container {
    padding: 1.5rem 1rem;
  }
}





.judgments-container {
  padding: 2rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  border-radius: 3px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07),
    0 8px 10px -6px rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.6);
}

.judgments-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.judgments-table th,
.judgments-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.judgments-table th {
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.judgments-table tr:last-child td {
  border-bottom: none;
}

.judgments-table tr:hover {
  background: rgba(1, 68, 33, 0.06);
  transition: background 0.2s ease;
}

.title-cell {
  font-weight: 500;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pdf-icon-wrapper {
  width: 40px;
  height: 48px;
  background: linear-gradient(135deg, #014421, #0a5c2f);
  color: white;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdf-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.btn-download {
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.3rem;
  border-radius: 0.65rem;
  text-decoration: none;
  transition: all 0.28s ease;
  box-shadow: 0 3px 8px -2px rgba(1, 68, 33, 0.35);
  display: inline-block;
}

.btn-download:hover,
.btn-download:focus {
  background: linear-gradient(90deg, #0a5c2f, #128c4e);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px -5px rgba(1, 68, 33, 0.45);
}

.btn-download:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px -2px rgba(1, 68, 33, 0.4);
}

/* Mobile responsive stacking */
@media (max-width: 768px) {
  .judgments-table {
    border: 0;
  }

  .judgments-table thead {
    display: none;
  }

  .judgments-table tr {
    display: block;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 15px -4px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
  }

  .judgments-table td {
    display: grid;
    text-align: right;
    border: none;
    position: relative;
    padding: 0.9rem 1.25rem;
  }

  .judgments-table td:before {
    content: attr(data-label);
    /*position: absolute;*/
    left: 1.25rem;
    width: 45%;
    font-weight: 600;
    color: #4b5563;
    text-align: left;
  }

  .title-cell {
    font-weight: 600;
    padding-top: 1.2rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  }

  .title-cell:before {
    display: none;
  }

  .btn-download {
    width: auto;
    margin: 0.8rem auto;
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .judgments-container {
    padding: 1.5rem 1rem;
  }

}



.judgments-container {
  padding: 1.5rem 1rem;
  margin: 0 auto;
  max-width: 100%;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  border-radius: 2px;
}

.table-wrapper {
  overflow-x: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #e5e7eb;
}

.judgments-table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
}

.judgments-table thead {
  display: none;
}

.judgments-table tr {
  display: block;
  margin: 1.25rem 1rem;
  border-radius: 10px;
  background: white;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.judgments-table td {
  display: grid;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.97rem;
  line-height: 1.45;
  position: relative;
}

.judgments-table td:last-child {
  border-bottom: 0;
  padding: 1.2rem;
  text-align: center;
}

/* Label on TOP – bold + smaller + some spacing below */
.judgments-table td:not(:last-child):before {
  content: attr(data-label);
  display: block;
  font-weight: 700;
  color: #4b5563;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Mobile title cell – bigger + bolder, no icon */
.title-cell {
  display: block;
  padding: 1.1rem 1.2rem;
  font-weight: 700;
  color: #1f2937;
  font-size: 1.05rem;
  line-height: 1.4;
  border-bottom: 1px solid #f1f5f9;
}

.title-cell:before {
  display: none;
  /* no extra label on title row */
}

/* Icon hidden on mobile */
.pdf-icon-wrapper {
  display: none;
}

/* Download button */
.btn-download {
  display: inline-block;
  min-width: 140px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(1, 68, 33, 0.25);
  transition: all 0.22s ease;
}

.btn-download:hover,
.btn-download:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(1, 68, 33, 0.35);
  background: linear-gradient(90deg, #0a5c2f, #128c4e);
}

/* ────────────────────────────────────────────────
       TABLET / DESKTOP – horizontal layout + icon visible
    ──────────────────────────────────────────────── */

@media (min-width: 768px) {

  .judgments-table td:not(:last-child):before {

    display: none;

  }

  .judgments-container {
    padding: 2rem 2.5rem;
    max-width: 1150px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .judgments-table thead {
    display: table-header-group;
  }

  .judgments-table tr {
    display: table-row;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .judgments-table tr:hover {
    background: rgba(1, 68, 33, 0.03);
  }

  .judgments-table th,
  .judgments-table td {
    display: table-cell;
    padding: 1.1rem 1.4rem;
    vertical-align: middle;
    border-bottom: 1px solid #e5e7eb;
  }

  .judgments-table th {
    background: linear-gradient(90deg, #014421, #0a5c2f);
    color: white;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }

  /* Show icon + place it left of title text */
  .pdf-icon-wrapper {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 1.2rem;
    width: 50px;
    height: 58px;
    background: linear-gradient(135deg, #014421, #0a5c2f);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .pdf-icon-wrapper svg {
    width: 34px;
    height: 34px;
    stroke: white;
    stroke-width: 2.2;
  }

  /* Title cell becomes horizontal again */
  .title-cell {
    display: table-cell !important;
    padding: 1.1rem 1.4rem !important;
  }

  /* Hide the :before labels on desktop */
  .judgments-table td:before,
  .title-cell:before {
    content: none;
  }
}

@media (min-width: 1024px) {
  .judgments-container {
    max-width: 1280px;
    padding: 2.5rem 3rem;
  }
}

/* Small phone fine-tuning */
@media (max-width: 480px) {
  .judgments-table td {
    padding: 0.9rem 1rem;
    font-size: 0.94rem;
  }

  .title-cell {
    font-size: 1rem;
    padding: 1rem 1rem;
  }
}


/*:root {*/
/*    --primary: #014421;*/
/*    --primary-d: #0a3a1c;*/
/*    --primary-l: #1a6c3e;*/
/*    --gray-800: #1f2937;*/
/*    --gray-600: #4b5563;*/
/*    --radius-lg: 1rem;*/
/*}*/

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  border-radius: 3px;
}

.section-py {
  padding: 4rem 0;
}

@media (min-width: 992px) {
  .section-py {
    padding: 7rem 0;
  }
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.15;
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-l));
  border-radius: 5px;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.38s ease;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.12);
}

.about-image-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(1, 68, 33, 0.18);
}

.about-text {
  line-height: 1.82;
  color: #334155;
  font-size: 1.08rem;
}

.about-text h2,
.about-text h3 {
  color: var(--gray-800);
  margin-top: 2.2rem;
  margin-bottom: 1.1rem;
}

.about-text p {
  margin-bottom: 1.4rem;
}

.prose-primary a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(1, 68, 33, 0.18);
  transition: all 0.2s ease;
}

.prose-primary a:hover,
.prose-primary a:focus {
  color: var(--primary-l);
  border-color: var(--primary-l);
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .about-text {
    font-size: 1.05rem;
  }

  .section-py {
    padding: 3.5rem 0;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-title::after {
    width: 80px;
    height: 4px;
  }
}

.cause-list-container {
  padding: 2rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  border-radius: 3px;
}

.table th,
.table td {
  padding: 0.75rem;
  vertical-align: middle;
}

#searchInput {
  width: 100%;
  max-width: 400px;
}


.judge-profile-container {
  padding: 2rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  border-radius: 3px;
}

.card-wrapper {
  display: grid;
  gap: 1.25rem;
}

.judge-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07),
    0 8px 10px -6px rgba(0, 0, 0, 0.04);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.judge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.12),
    0 10px 15px -3px rgba(0, 0, 0, 0.07);
  border-color: rgba(1, 68, 33, 0.4);
}

.card-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex: 1;
}

.judge-photo {
  width: 200px;
  height: 260px;
  flex-shrink: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  display: flex;
  align-items: center;
  justify-content: center;
}

.judge-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details {
  flex: 1;
}

.file-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.file-date {
  font-size: 0.95rem;
  color: #0a5c2f;
  font-weight: 500;
  margin: 0 0 1rem 0;
}

.bio-text,
.bio-text p,
.bio-text div,
.bio-text li,
.bio-text span {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  text-align: justify !important;
  text-align-last: left;
  text-rendering: optimizeLegibility;
  hyphens: auto;
}

.bio-text p,
.bio-text div,
.bio-text li {
  margin-bottom: 1.1rem;
}

.judge-message {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
  text-align: justify;
  text-align-last: left;
  text-rendering: optimizeLegibility;
  margin-bottom: 0.75rem;
}

.judge-message p,
.judge-message div,
.judge-message li {
  text-align: justify;
  text-align-last: left;
}

.judge-message p {
  margin-bottom: 0.75rem;
}

.judge-message p:last-child {
  margin-bottom: 0;
}

.btn-download {
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.28s ease;
  white-space: nowrap;
  box-shadow: 0 4px 10px -2px rgba(1, 68, 33, 0.4);
  display: inline-block;
  margin-top: 1.5rem;
}

.btn-download:hover,
.btn-download:focus {
  background: linear-gradient(90deg, #0a5c2f, #128c4e);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -6px rgba(1, 68, 33, 0.5);
}

.btn-download:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px -2px rgba(1, 68, 33, 0.45);
}

@media (max-width: 768px) {
  .card-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bio-text,
  .bio-text p,
  .bio-text div,
  .bio-text li,
  .bio-text span {
    text-align: justify !important;
    text-align-last: left;
  }

  .judge-photo {
    width: 160px;
    height: 200px;
    margin-bottom: 1rem;
  }

  .btn-download {
    width: 100%;
    text-align: center;
  }
}


.cause-list-container {
  padding: 1.5rem 1rem;
  max-width: 100%;
  margin: 0 auto;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  border-radius: 3px;
}

.card-wrapper {
  display: grid;
  gap: 1rem;
}

.cause-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07),
    0 8px 10px -6px rgba(0, 0, 0, 0.04);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cause-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.12),
    0 10px 15px -3px rgba(0, 0, 0, 0.07);
  border-color: rgba(99, 102, 241, 0.4);
}

/*.card-content {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 1rem;*/
/*    flex: 1;*/
/*}*/

.icon-pdf {
  width: 48px;
  height: 48px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-pdf svg {
  width: 28px;
  height: 28px;
}

.details {
  flex: 1;
  min-width: 0;
  /* prevent text overflow */
}

.file-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
  word-break: break-word;
}

.file-date {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.btn-download {
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.28s ease;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 10px -2px rgba(1, 68, 33, 0.4);
  display: inline-block;
  width: 100%;
}

.btn-download:hover,
.btn-download:focus {
  background: linear-gradient(90deg, #0a5c2f, #128c4e);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -6px rgba(1, 68, 33, 0.5);
}

.btn-download:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px -2px rgba(1, 68, 33, 0.45);
}

/* ===== TABLET (min-width: 768px) ===== */
@media screen and (min-width: 768px) {
  .cause-list-container {
    padding: 2rem 1.5rem;
    max-width: 900px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .card-wrapper {
    gap: 1.25rem;
  }

  .cause-card {
    flex-direction: row;
    align-items: center;
    padding: 1.25rem 1.5rem;
  }

  .btn-download {
    width: auto;
    margin-top: 0;
  }
}

/* ===== DESKTOP (min-width: 1024px) – optional fine-tuning ===== */
@media screen and (min-width: 1024px) {
  .cause-list-container {
    max-width: 1000px;
  }
}



.contact-page-wrapper {
  padding: 1.5rem 1rem 3rem;
  background: #f8fafc;
}

.container {
  max-width: 100%;
  margin: 0 auto;
}

.page-title {
  font-size: 1.45rem;
  font-weight: 500;
  color: #111827;
  text-align: center;
  margin: 0 0 0.6rem;
}

.page-subtitle {
  font-size: 0.95rem;
  color: #4b5563;
  text-align: center;
  margin: 0 auto 1.8rem;
  max-width: 90%;
  line-height: 1.4;
}

.contact-content-grid {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-main-panel {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-card,
.info-card,
.map-card {
  background: white;
  border-radius: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1.4rem 1.3rem;
  border: 1px solid #e5e7eb;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1.2rem;
}

/* ── Form styles (unchanged) ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.92rem;
  color: #1f2937;
  background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6b7280;
  box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  padding: 0.75rem;
  background: #00401A;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.96rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: #015823;
}

/* ── Our Details – now horizontal layout ── */
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1rem;
  margin: 0;
}

/* Scoped so header .contact-item keeps align-items: center from .top-bar rules */
.contact-list .contact-item {
  flex: 1 1 45%;
  /* ≈ 2 columns on medium screens */
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  min-width: 220px;
  /* prevents too narrow items */
}

.contact-list .contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: #00401A;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.contact-text h4 {
  font-size: 0.97rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.3rem;
}

.contact-text p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.45;
  margin: 0;
}

.contact-text a {
  color: #00401A;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

/* ── Map (unchanged) ── */
.map-container {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  aspect-ratio: 4 / 3;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
}

/* ─── TABLET & UP ─────────────────────────────────────── */
@media (min-width: 640px) {
  .page-title {
    font-size: 1.8rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .card-title {
    font-size: 1.35rem;
  }
}

@media (min-width: 768px) {
  .contact-content-grid {
    flex-direction: row;
    gap: 2rem;
  }

  .contact-main-panel {
    flex: 1;
  }

  .map-panel {
    flex: 1;
  }

  .map-container {
    aspect-ratio: 1 / 1;
  }

  .map-container iframe {
    min-height: 320px;
  }

  /* Our Details – try 4 in a row on larger tablets/desktops */
  .contact-list .contact-item {
    flex: 1 1 22%;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1280px;
  }

  .page-title {
    font-size: 2rem;
  }

  .card-title {
    font-size: 1.45rem;
  }

  .contact-list .contact-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .contact-list .contact-item {
    flex: 1 1 23%;
  }
}

.cause-list-container {
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  border-radius: 3px;
}

.range-buttons {
  flex-wrap: wrap;
  justify-content: center;
}

.range-buttons .btn {
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem;
  min-width: 110px;
  white-space: nowrap;
}

.range-buttons .btn.active {
  background-color: #014421;
  color: white;
  border-color: #0a5c2f;
}

.range-buttons .btn:hover {
  background-color: #0a5c2f;
  color: white;
}

@media (max-width: 576px) {
  .btn-group.range-buttons {
    width: 100%;
    max-width: 420px;
    margin: 0 auto !important;
  }

  .range-buttons .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }
}

.press-releases-container {
  padding: 2rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #014421, #0a5c2f);
  border-radius: 3px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07),
    0 8px 10px -6px rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.6);
}

.press-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.press-table th,
.press-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.press-table th {
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.press-table tr:last-child td {
  border-bottom: none;
}

.press-table tr:hover {
  background: rgba(1, 68, 33, 0.06);
  transition: background 0.2s ease;
}

.title-cell {
  font-weight: 500;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pdf-icon-wrapper-pr {
  width: 40px;
  height: 48px;
  background: linear-gradient(135deg, #014421, #0a5c2f);
  color: white;
  border-radius: 0.6rem;
  /*display: flex;*/
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdf-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.btn-download {
  background: linear-gradient(90deg, #014421, #0a5c2f);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.3rem;
  border-radius: 0.65rem;
  text-decoration: none;
  transition: all 0.28s ease;
  box-shadow: 0 3px 8px -2px rgba(1, 68, 33, 0.35);
  display: inline-block;
}

.btn-download:hover,
.btn-download:focus {
  background: linear-gradient(90deg, #0a5c2f, #128c4e);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px -5px rgba(1, 68, 33, 0.45);
}

.btn-download:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px -2px rgba(1, 68, 33, 0.4);
}

/* Mobile responsive – stack into cards */
@media (max-width: 768px) {
  .press-table {
    border: 0;
  }

  .press-table thead {
    display: none;
  }

  .press-table tr {
    display: block;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 15px -4px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
  }

  .press-table td {
    display: block;
    text-align: right;
    border: none;
    position: relative;
    padding: 0.9rem 1.25rem;
  }

  .press-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 1.25rem;
    width: 45%;
    font-weight: 600;
    color: #4b5563;
    text-align: left;
  }

  .title-cell {
    font-weight: 600;
    padding-top: 1.2rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  }

  .title-cell:before {
    display: none;
  }

  .btn-download {
    width: auto;
    margin: 0.8rem auto;
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .press-releases-container {
    padding: 1.5rem 1rem;
  }
}

.city-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.city-tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background: #fff;
  white-space: nowrap;
  transition: all .2s ease;
}

.tab:hover {
  background: #f2f2f2;
}

.tab.active {
  background: #00401A;
  color: #fff;
  border-color: #00401A;
}

/* Tablet and above */

@media (min-width:768px) {

  .city-tabs {
    gap: 10px;
  }

  .tab {
    padding: 10px 18px;
    font-size: 15px;
  }

}



.pagination [aria-current="page"] span {
  background-color: #00401A !important;
  border-color: #00401A !important;
  color: white !important;
}

.pagination a {
  color: #00401A !important;
}


.pagination svg {
  color: #00401A !important;
}


.pagination a:hover {
  background-color: #dcfce7 !important;
  color: #00401A !important;
}


/* Clearkship form  */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 2.8rem 1rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner .seal {
  width: 64px;
  height: 64px;
  margin: 0 auto .8rem;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  position: relative;
}

.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  color: #fff;
  letter-spacing: .02em;
  position: relative;
}

.page-banner .subtitle {
  color: rgba(255, 255, 255, .72);
  font-size: .97rem;
  margin-top: .3rem;
  position: relative;
}

.banner-divider {
  width: 52px;
  height: 3px;
  background: var(--accent);
  margin: .8rem auto 0;
  border-radius: 2px;
  position: relative;
}

/* ── Wizard wrapper ── */
.wizard-wrapper {
  padding: 2rem 0 3.5rem;
}

/* ── Step progress bar ── */
.step-bar {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.steps-track {
  display: flex;
  align-items: center;
  min-width: 700px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  cursor: default;
  user-select: none;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 17px;
  left: 55%;
  width: 90%;
  height: 2px;
  background: var(--border);
  z-index: 0;
  transition: background .3s;
}

.step-item.completed:not(:last-child)::after {
  background: var(--primary);
}

.step-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: all .3s;
}

.step-item.active .step-bubble {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 64, 26, .15);
}

.step-item.completed .step-bubble {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.step-label {
  font-size: .72rem;
  margin-top: .4rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color .3s;
}

.step-item.active .step-label,
.step-item.completed .step-label {
  color: var(--primary);
}

/* ── Form card ── */
.form-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem 2.2rem 1.8rem;
  box-shadow: var(--shadow);
  scroll-margin-top: 1rem;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.part-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--primary);
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.section-subtitle {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--primary-light);
  background: #f0f6f1;
  padding: .4rem .8rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  margin: 1.2rem 0 .9rem;
}

/* form controls */
.form-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .3rem;
}

.form-control,
.form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .93rem;
  color: var(--text-main);
  padding: .5rem .8rem;
  background-color: #f8faf8;
  transition: border-color .2s, box-shadow .2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 64, 26, .13);
  background: #fff;
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-text {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

/* radio / check */
.radio-group {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.radio-btn input[type=radio] {
  display: none;
}

.radio-btn label {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
  background: #f8faf8;
}

.radio-btn input[type=radio]:checked+label {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.radio-btn label i {
  font-size: .85rem;
}

/* yes/no */
.yn-group {
  display: flex;
  gap: .6rem;
}

.yn-btn input[type=radio] {
  display: none;
}

.yn-btn label {
  padding: .38rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
  background: #f8faf8;
}

.yn-btn.yes input[type=radio]:checked+label {
  background: #006622;
  color: #fff;
  border-color: #006622;
}

.yn-btn.no input[type=radio]:checked+label {
  background: #a81c1c;
  color: #fff;
  border-color: #a81c1c;
}

/* repeatable block */
.rep-block {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: .8rem;
  background: #fafcfa;
  position: relative;
}

.rep-block .remove-btn {
  position: absolute;
  top: .7rem;
  right: .7rem;
  background: #fdecea;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0392b;
  font-size: .8rem;
  cursor: pointer;
  transition: background .2s;
}

.rep-block .remove-btn:hover {
  background: #f5c6c6;
}

.add-btn {
  border: 1.5px dashed var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: var(--radius);
  padding: .4rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.add-btn:hover {
  background: #f0f8f2;
}

/* language table */
.lang-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 .4rem;
}

.lang-table th {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  padding: .3rem .5rem;
}

.lang-table td {
  padding: .3rem .4rem;
}

.lang-table td input,
.lang-table td select {
  font-size: .88rem;
}

/* nav buttons */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.btn-prev,
.btn-next,
.btn-submit {
  padding: .6rem 1.6rem;
  border-radius: var(--radius);
  font-size: .97rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
}

.btn-prev {
  background: #f0f6f1;
  color: var(--primary);
}

.btn-prev:hover {
  background: #d6eadd;
}

.btn-next {
  background: var(--primary);
  color: #fff;
}

.btn-next:hover {
  background: var(--primary-dark);
}

.btn-submit {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: .03em;
}

.btn-submit:hover {
  background: #b8923d;
  color: #fff;
}

.btn-prev:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.step-counter {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* success screen */
#successScreen {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

#successScreen .success-icon {
  width: 72px;
  height: 72px;
  background: #e8f5ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 0 auto 1.2rem;
}

#successScreen h2 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 1.7rem;
}

#successScreen p {
  color: var(--text-muted);
  margin-top: .5rem;
}

@media (max-width:576px) {
  .form-card {
    padding: 1.3rem 1rem;
  }

  .step-bar {
    padding: .9rem .8rem;
  }
}

/* Tagline row styling */
.tagline-row td {
  padding: 0 15px 12px 15px !important;
  border: none !important;
  /* remove all borders */
}

/* Remove space between rows and bottom border from main row */
.judgments-table tr+.tagline-row td {
  padding-top: 0;
}

.judgments-table tbody tr:has(+ .tagline-row) td {
  border-bottom: none;
}

/* Judgment tagline box */
.judgment-tagline {
  display: block;
  background: #e8f3ec;
  border-left: 3px solid #2e8b57;
  margin-top: -8px;
  /* connect with row above */
  padding: 10px 14px;
  border-radius: 0 0 6px 6px;
  font-size: 13.8px;
  color: #2f4f4f;
  line-height: 1.6;
  text-align: left;
  transition: background 0.2s ease;
}

/* Hover effect */
/* .judgment-tagline:hover {
  background: #e2efe7;
} */

/* Quote icons */
.judgment-tagline i.fa-quote-left {
  float: left;
  margin-right: 10px;
  color: #2e8b57;
}

.judgment-tagline i.fa-quote-right {
  float: right;
  margin-left: 10px;
  color: #2e8b57;
}

/* Generic icon styling inside tagline */
.judgment-tagline i {
  color: #2e8b57;
  margin-right: 6px;
}

.is-invalid {
  border: 1px solid red;
}


.invalid-feedback {
  color: red;
}

.btn-dark-green {
  background-color: #00401A;
  /* Dark green */
  border-color: #00401A;
  /* Match border */
  color: #fff;
  /* White text */
}

.btn-dark-green:hover {
  background-color: #00401A;
  /* Slightly lighter green on hover */
  border-color: #00401A;
  color: #fff;
}






:root {
  --fccp-cl-green: #00401A;
  --fccp-cl-green-dark: #002d12;
  --fccp-cl-green-mid: #005c25;
  --fccp-cl-gold: #bb9500;
  --fccp-cl-gold-light: #f0c93a;
  --fccp-cl-bg: #e8ecea;
  --fccp-cl-card: #ffffff;
  --fccp-cl-text: #1a2b1c;
  --fccp-cl-muted: #4a6350;
  --fccp-cl-border: #c8d8cb;
  --fccp-cl-radius: 0.5rem;
  --fccp-cl-shadow: 0 4px 28px rgba(0, 64, 26, .10);
}

/* ── BODY ── */
body.fccp-cl-body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--fccp-cl-bg);
  color: var(--fccp-cl-text);
  min-height: 100vh;
}

/* ── TOP BAR ── */
.fccp-cl-topbar {
  background: #39393b;
  border-bottom: 4px solid var(--fccp-cl-gold);
  color: #f0f4f1;
  font-size: 0.78rem;
  padding: 0.45rem 0;
}

.fccp-cl-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.fccp-cl-topbar a {
  color: #d4ddd6;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.fccp-cl-topbar-icon {
  font-style: normal;
  font-size: 0.9rem;
}

/* ── HEADER ── */
.fccp-cl-header {
  background: #fff;
  padding: 1.1rem 0;
}

.fccp-cl-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fccp-cl-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fccp-cl-emblem {
  width: 72px;
  height: 72px;
  background: var(--fccp-cl-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
}

.fccp-cl-court-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--fccp-cl-green);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fccp-cl-court-sub {
  font-size: 0.7rem;
  color: var(--fccp-cl-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.2rem;
}

.fccp-cl-header-search {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--fccp-cl-border);
  border-radius: 2rem;
  overflow: hidden;
  background: #fff;
}

.fccp-cl-header-search input {
  border: none;
  outline: none;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  width: 220px;
  font-family: 'DM Sans', sans-serif;
}

.fccp-cl-header-search button {
  background: var(--fccp-cl-green);
  border: none;
  color: white;
  padding: 0.45rem 1rem;
  cursor: pointer;
  font-size: 0.88rem;
}

/* ── NAV ── */
.fccp-cl-nav {
  background: var(--fccp-cl-green);
  border-bottom: 4px solid var(--fccp-cl-gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.fccp-cl-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fccp-cl-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.fccp-cl-nav-item {
  position: relative;
}

.fccp-cl-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 2px solid transparent;
  transition: background 0.18s;
}

.fccp-cl-nav-item a:hover,
.fccp-cl-nav-item.fccp-cl-active a {
  background: rgba(255, 255, 255, 0.12);
  border-bottom-color: #fff;
}

.fccp-cl-nav-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  margin-left: 2px;
  vertical-align: middle;
}

/* ── MAIN ── */
.fccp-cl-main {
  max-width: 1280px;
  margin: 2rem auto;
  padding: 0 1.25rem;
}

.fccp-cl-page-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--fccp-cl-green);
  margin-bottom: 1.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--fccp-cl-gold);
  display: inline-block;
}

/* ── SEARCH CARD ── */
.fccp-cl-card {
  background: var(--fccp-cl-card);
  border-radius: var(--fccp-cl-radius);
  box-shadow: var(--fccp-cl-shadow);
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.fccp-cl-card-header {
  background: var(--fccp-cl-green);
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fccp-cl-card-body {
  padding: 1.5rem 1.25rem;
}

/* Advanced Filter Toggle */
.fccp-cl-filter-toggle {
  background: none;
  border: 1.5px solid var(--fccp-cl-border);
  color: var(--fccp-cl-green);
  border-radius: 2rem;
  padding: 0.35rem 1.1rem;
  font-size: 0.78rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: block;
  margin: 0 auto 1.2rem;
  transition: background 0.18s;
}

.fccp-cl-filter-toggle:hover {
  background: var(--fccp-cl-green);
  color: #fff;
}

/* Filter Grid */
.fccp-cl-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
}

.fccp-cl-field {
  position: relative;
}

.fccp-cl-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fccp-cl-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.38rem;
}

.fccp-cl-input,
.fccp-cl-select {
  width: 100%;
  border: 1.5px solid var(--fccp-cl-border);
  border-radius: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.84rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--fccp-cl-text);
  background: #fff;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.fccp-cl-input:focus,
.fccp-cl-select:focus {
  border-color: var(--fccp-cl-green);
  box-shadow: 0 0 0 3px rgba(0, 64, 26, 0.09);
}

/* Date row */
.fccp-cl-date-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.fccp-cl-date-row .fccp-cl-input {
  flex: 1;
}

.fccp-cl-date-clear {
  background: none;
  border: 1.5px solid var(--fccp-cl-border);
  border-radius: 0.35rem;
  color: var(--fccp-cl-muted);
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}

/* Radio group */
.fccp-cl-radio-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0;
}

.fccp-cl-radio-group label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--fccp-cl-text);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  margin: 0;
}

.fccp-cl-radio-group input[type="radio"] {
  accent-color: var(--fccp-cl-green);
}

/* Search btn */
.fccp-cl-btn-search {
  background: var(--fccp-cl-green);
  color: #fff;
  border: none;
  border-radius: 0.4rem;
  padding: 0.65rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.18s;
  display: block;
  margin: 1.4rem auto 0;
}

.fccp-cl-btn-search:hover {
  background: var(--fccp-cl-green-mid);
}

/* Divider */
.fccp-cl-divider {
  border: none;
  border-top: 1px solid var(--fccp-cl-border);
  margin: 1.4rem 0;
}

/* ── RESULTS ── */
.fccp-cl-results-header {
  background: var(--fccp-cl-green);
  color: #fff;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
}

.fccp-cl-results-meta {
  padding: 0.7rem 1.25rem;
  font-size: 0.8rem;
  color: var(--fccp-cl-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--fccp-cl-border);
}

.fccp-cl-export-btn {
  background: #14532d;
  color: #fff;
  border: none;
  border-radius: 0.3rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}

/* Bench Header */
.fccp-cl-bench-header {
  background: var(--fccp-cl-green);
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  line-height: 1.6;
}

.fccp-cl-bench-date {
  background: #fff;
  color: var(--fccp-cl-green);
  text-align: center;
  padding: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-bottom: 1px solid var(--fccp-cl-border);
}

/* Table */
.fccp-cl-table-wrap {
  overflow-x: auto;
}

.fccp-cl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.fccp-cl-table thead tr {
  background: #f0f5f1;
}

.fccp-cl-table th {
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-weight: 600;
  color: var(--fccp-cl-green);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--fccp-cl-border);
  white-space: nowrap;
}

.fccp-cl-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #eef2ef;
  color: var(--fccp-cl-text);
  vertical-align: top;
}

.fccp-cl-table tbody tr:hover {
  background: #f6faf7;
}

.fccp-cl-table tbody tr.fccp-cl-sub-row td {
  background: #fafdfb;
  padding-left: 2rem;
  font-size: 0.78rem;
  color: var(--fccp-cl-muted);
}

/* Pagination */
.fccp-cl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem;
}

.fccp-cl-page-btn {
  background: #fff;
  border: 1.5px solid var(--fccp-cl-border);
  border-radius: 0.3rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  color: var(--fccp-cl-green);
  transition: background 0.15s;
}

.fccp-cl-page-btn:hover,
.fccp-cl-page-btn.fccp-cl-active {
  background: var(--fccp-cl-green);
  color: #fff;
  border-color: var(--fccp-cl-green);
}

/* ── FOOTER ── */
.fccp-cl-footer {
  background: var(--fccp-cl-green);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.fccp-cl-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.fccp-cl-footer h4 {
  color: var(--fccp-cl-gold-light);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.fccp-cl-footer ul {
  list-style: none;
}

.fccp-cl-footer ul li {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.fccp-cl-footer ul li::before {
  content: '› ';
  color: var(--fccp-cl-gold);
}

.fccp-cl-footer ul li a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.fccp-cl-footer ul li a:hover {
  color: #fff;
}

.fccp-cl-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.fccp-cl-footer-contact-item span:first-child {
  margin-top: 2px;
  color: var(--fccp-cl-gold);
}

.fccp-cl-footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.fccp-cl-ejustice-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.4rem;
  padding: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* ====================== LAWYER DROPDOWN CSS ====================== */
.fccp-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: 100% !important;
  background: #ffffff;
  border: 1.5px solid var(--fccp-cl-border);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 64, 26, 0.20);
  max-height: 340px;
  overflow-y: auto;
  z-index: 9999 !important;
  margin-top: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.fccp-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fccp-dropdown::-webkit-scrollbar {
  width: 6px;
}

.fccp-dropdown::-webkit-scrollbar-thumb {
  background: var(--fccp-cl-green);
  border-radius: 20px;
}

.fccp-dropdown>div {
  padding: 14px 16px;
  cursor: pointer;
  font-size: 0.875rem;
  border-bottom: 1px solid #f1f5f3;
  transition: all 0.15s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fccp-dropdown>div:last-child {
  border-bottom: none;
}

.fccp-dropdown>div:hover {
  background: #f0f9f4;
  padding-left: 20px;
  color: var(--fccp-cl-green);
}

.fccp-dropdown .adv-name {
  font-weight: 500;
  color: var(--fccp-cl-text);
}

.fccp-dropdown .adv-code {
  font-size: 0.78rem;
  color: var(--fccp-cl-muted);
  background: #f1f5f3;
  padding: 3px 10px;
  border-radius: 9999px;
}

.fccp-dropdown .empty-state {
  padding: 30px 20px;
  text-align: center;
  color: var(--fccp-cl-muted);
  font-style: italic;
}

@media (max-width: 640px) {
  .fccp-cl-court-name {
    font-size: 1.1rem;
  }

  .fccp-cl-header-search {
    display: none;
  }

  .fccp-cl-filter-grid {
    grid-template-columns: 1fr;
  }
}



/* Clean hint text */
.fccp-hint-text {
  font-size: 0.75rem;
  color: #999;
  margin-top: 6px;
  padding: 0 4px;
  min-height: 16px;
}

.fccp-hint-text.hidden {
  display: none;
}

.fccp-hint-text.error {
  color: #ef4444;
  font-weight: 500;
}

/* Clean dropdown */
.fccp-dropdown-clean {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid var(--fccp-cl-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 300px;
  overflow-y: auto;
  z-index: 9999;

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.fccp-dropdown-clean.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items */
.fccp-dropdown-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.15s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.fccp-dropdown-item:last-child {
  border-bottom: none;
}

.fccp-dropdown-item:hover {
  background: #f8faf9;
  color: var(--fccp-cl-green);
}

.fccp-dropdown-item-name {
  font-weight: 500;
  color: var(--fccp-cl-text);
  flex: 1;
}

.fccp-dropdown-item-code {
  font-size: 0.75rem;
  color: #999;
  background: #f5f5f5;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Empty state */
.fccp-dropdown-empty {
  padding: 24px 16px;
  text-align: center;
  color: #999;
  font-size: 0.85rem;
}

/* Loading state */
.fccp-dropdown-loading {
  padding: 16px;
  text-align: center;
  color: var(--fccp-cl-muted);
  font-size: 0.85rem;
}

/* Scrollbar */
.fccp-dropdown-clean::-webkit-scrollbar {
  width: 6px;
}

.fccp-dropdown-clean::-webkit-scrollbar-track {
  background: transparent;
}

.fccp-dropdown-clean::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.fccp-dropdown-clean::-webkit-scrollbar-thumb:hover {
  background: var(--fccp-cl-green);
}

/* ── Careers hub (`/career`) ── */
.career-page-banner .seal {
  background: rgba(255, 255, 255, 0.12);
}

.career-breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
  opacity: 0.92;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.career-page-banner .career-breadcrumb {
  color: rgba(255, 255, 255, 0.95);
}

.career-breadcrumb a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.career-breadcrumb a:hover {
  text-decoration: underline;
}

.career-breadcrumb-sep {
  margin: 0 0.35rem;
  opacity: 0.65;
}

.career-breadcrumb-current {
  color: rgba(255, 255, 255, 0.78);
}

.career-breadcrumb--on-dark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.career-body {
  padding: 2rem 0 3.5rem;
  background: var(--page-bg, #f5f7f6);
}

.career-intro {
  max-width: 52rem;
  margin-bottom: 1.25rem;
}

.career-actions-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 2rem;
}

.career-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text, #1a2e22);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.career-vacancy-card {
  background: var(--card-bg, #fff);
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow, 0 4px 20px rgba(0, 26, 10, 0.08));
  border: 1px solid var(--border, #e2e8e4);
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .career-vacancy-card {
    padding: 1.75rem 2rem;
  }
}

.career-vacancy-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}

.career-vacancy-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--text, #1a2e22);
}

.career-vacancy-card__session {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary, #00401a);
}

.career-vacancy-card__summary {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted, #5c6f63);
  margin-bottom: 0.85rem;
}

.career-vacancy-card__list {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted, #5c6f63);
  line-height: 1.55;
}

.career-vacancy-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border, #e2e8e4);
  margin-top: 0.25rem;
  padding-top: 1rem;
}

.career-apply-btn {
  font-weight: 600;
  padding: 0.55rem 1.25rem;
}

.career-portal-login-btn {
  border-color: var(--primary, #00401a);
  color: var(--primary, #00401a);
}

.career-portal-login-btn:hover {
  background: var(--primary, #00401a);
  border-color: var(--primary, #00401a);
  color: #fff;
}

.career-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.career-status-badge--open {
  background: rgba(0, 64, 26, 0.1);
  color: var(--primary, #00401a);
  border: 1px solid rgba(0, 64, 26, 0.25);
}

.career-status-badge--closed {
  background: #f0f0f0;
  color: #666;
  border: 1px solid #ddd;
}

.career-empty {
  border-radius: var(--radius, 12px);
}