/* ========================================
   GRANTS - Consolidated Styles
   Used by grant.njk layout
   ======================================== */

/* ---- Grant Hero (call pages) ---- */
.grant-hero {
  padding: 10rem 2rem 4rem;
  background: var(--black);
}
.grant-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.grant-badge--closed {
  background: var(--gray);
  color: var(--black);
}
.grant-badge--closing {
  background: var(--gray);
  color: var(--black);
}
.deadline-box--closed {
  opacity: 0.6;
}
.deadline-box--closing {
  opacity: 0.8;
}
.grant-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  max-width: 900px;
}
.grant-hero .highlight {
  color: var(--yellow);
}
.grant-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.deadline-box {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.deadline-item {
  text-align: center;
}
.deadline-item strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--yellow);
}
.deadline-item span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}
.grant-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Stats Grid ---- */
.grant-stats {
  background: var(--dark-gray);
  padding: 3rem 2rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--yellow);
}
.stat-item span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}

/* ---- About / Two-Column Section ---- */
.grant-section {
  padding: 6rem 2rem;
}
.grant-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
}
.grant-section .highlight {
  color: var(--yellow);
}
.about-section {
  padding: 6rem 2rem;
  background: var(--dark-gray);
}
.about-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
}
.about-section .highlight {
  color: var(--yellow);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.two-col p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.what-funded {
  background: var(--dark-gray);
  padding: 2rem;
}
.what-funded h3 {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.what-funded ul {
  list-style: none;
}
.what-funded li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.what-funded li svg {
  color: var(--yellow);
  flex-shrink: 0;
}
.pillars-box {
  background: var(--black);
  padding: 2rem;
}
.pillars-box h3 {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.pillars-box ul {
  list-style: none;
}
.pillars-box li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--dark-gray);
  font-size: 0.9rem;
  color: var(--gray);
}
.pillars-box li strong {
  color: var(--white);
}

/* ---- Funding Types ---- */
.funding-section {
  padding: 6rem 2rem;
}
.funding-section--alt {
  background: var(--dark-gray);
}
.funding-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  text-align: center;
}
.funding-section .highlight {
  color: var(--yellow);
}
.funding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.funding-type {
  background: var(--dark-gray);
  padding: 1.5rem;
}
.funding-section--alt .funding-type {
  background: var(--black);
}
.funding-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.funding-badge {
  background: var(--yellow);
  color: var(--black);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.funding-rate {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--yellow);
}
.funding-type h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.funding-type p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ---- Eligibility ---- */
.eligibility-section {
  padding: 6rem 2rem;
}
.eligibility-section--alt {
  background: var(--dark-gray);
}
.eligibility-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  text-align: center;
}
.eligibility-section .highlight {
  color: var(--yellow);
}
.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.eligible, .not-eligible {
  padding: 2rem;
}
.eligible {
  border: 2px solid var(--yellow);
}
.not-eligible {
  border: 2px solid var(--gray);
}
.eligible h3, .not-eligible h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.eligible h3 {
  color: var(--yellow);
}
.not-eligible h3 {
  color: var(--gray);
}
.eligible ul, .not-eligible ul {
  list-style: none;
}
.eligible li, .not-eligible li {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.eligible li svg {
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
}
.not-eligible li svg {
  color: var(--gray);
  flex-shrink: 0;
  margin-top: 2px;
}
/* Programme eligibility style */
.eligible--programme, .requirements {
  background: var(--black);
  padding: 2rem;
  border: none;
}
.eligible--programme h3, .requirements h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.eligible--programme ul, .requirements ul {
  list-style: none;
}
.eligible--programme li, .requirements li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--gray);
  border-bottom: 1px solid var(--dark-gray);
}

/* ---- Topics Section ---- */
.topics-section {
  padding: 6rem 2rem;
  background: var(--dark-gray);
}
.topics-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  text-align: center;
}
.topics-section .highlight {
  color: var(--yellow);
}
.topics-intro {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
}
.destination-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--yellow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dest-budget {
  color: var(--yellow);
  font-size: 1.25rem;
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.topic-card {
  background: var(--black);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.topic-card.topic-featured {
  border: 1px solid var(--yellow);
}
.topic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.topic-id {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--gray);
}
.topic-type {
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.type-ria {
  background: #4CAF50;
  color: var(--black);
}
.type-ia {
  background: var(--yellow);
  color: var(--black);
}
.type-csa {
  background: #2196F3;
  color: var(--white);
}
.type-pcp {
  background: #9C27B0;
  color: var(--white);
}
.topic-card h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.topic-card p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
  flex: 1;
}
.topic-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--dark-gray);
}
.topic-budget {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  color: var(--yellow);
}
.topic-projects {
  font-size: 0.75rem;
  color: var(--gray);
  align-self: center;
}

/* ---- Lots Section ---- */
.lots-section {
  padding: 6rem 2rem 8rem;
}
.lots-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  text-align: center;
}
.lots-section .highlight {
  color: var(--yellow);
}
.lots-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.lot-card {
  padding: 2rem;
  border: 1px solid var(--dark-gray);
  margin: -1px 0 0 -1px;
  width: 280px;
  text-align: center;
}
.lot-card-highlight {
  background: var(--dark-gray);
}
.lot-number {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.lot-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.lot-budget {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.lot-card p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ---- Packages Section ---- */
.packages-section {
  padding: 6rem 2rem;
  background: var(--white);
  color: var(--black);
}
.packages-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  text-align: center;
}
.packages-section .highlight {
  color: var(--yellow);
  background: var(--black);
  padding: 0 0.25rem;
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.package-card {
  padding: 2rem;
  border: 1px solid var(--black);
  margin: -1px 0 0 -1px;
}
.package-featured {
  background: var(--black);
  color: var(--white);
  position: relative;
}
.package-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--black);
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.package-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.package-card ul {
  list-style: none;
  margin-bottom: 2rem;
}
.package-card li {
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid;
  opacity: 0.8;
}
.package-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.package-featured .package-price {
  color: var(--yellow);
}
.package-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.package-subtitle {
  margin-bottom: 1rem;
  color: var(--gray-on-light);
  font-size: 0.9rem;
}

/* ---- Timeline / Dates ---- */
.dates-section {
  padding: 6rem 2rem;
  background: var(--dark-gray);
}
.dates-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  text-align: center;
}
.dates-section .highlight {
  color: var(--yellow);
}
.dates-timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}
.dates-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray);
}
.date-item {
  position: relative;
  padding: 1rem 0 1rem 2rem;
}
.date-marker {
  position: absolute;
  left: -2rem;
  top: 1.25rem;
  width: 12px;
  height: 12px;
  background: var(--gray);
  transform: translateX(-5px);
}
.date-past .date-marker {
  background: var(--dark-gray);
  border: 2px solid var(--gray);
}
.date-past .date-content strong {
  color: var(--gray);
}
.date-highlight .date-marker {
  background: var(--yellow);
}
.date-deadline .date-marker {
  background: var(--yellow);
  width: 16px;
  height: 16px;
  transform: translateX(-7px);
}
.date-content strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
}
.date-highlight .date-content strong {
  color: var(--yellow);
}
.date-content span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ---- FAQ ---- */
.faq-section {
  padding: 6rem 2rem;
}
.faq-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  text-align: center;
}
.faq-section .highlight {
  color: var(--yellow);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.faq-item {
  padding: 1.5rem;
  border: 1px solid var(--dark-gray);
}
.faq-item h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--yellow);
}
.faq-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ---- Form Section ---- */
.form-section {
  padding: 6rem 2rem;
  background: var(--dark-gray);
}
.form-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  text-align: center;
}
.form-section .highlight {
  color: var(--yellow);
}
.eligibility-form {
  max-width: 800px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-full {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: var(--gray);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  background: var(--black);
  border: 1px solid var(--gray);
  color: var(--white);
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.checkbox-label {
  flex-direction: row !important;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.checkbox-label input {
  width: auto;
}
.checkbox-label span {
  font-size: 0.85rem;
  color: var(--gray);
}
.checkbox-label a {
  color: var(--yellow);
}
.form-error {
  background: #ff4444;
  color: var(--white);
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---- Open Calls Listing (programme pages) ---- */
.open-calls-section {
  padding: 6rem 2rem;
}
.open-calls-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
}
.open-calls-section .highlight {
  color: var(--yellow);
}
.call-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--dark-gray);
  padding: 2rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s;
  margin-bottom: 2.5rem;
}
.call-card:hover {
  border-color: var(--yellow);
}
.call-featured {
  border: 2px solid var(--yellow);
}
.call-badge {
  position: absolute;
  top: -0.75rem;
  left: 2rem;
  background: var(--yellow);
  color: var(--black);
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.call-badge--closed {
  background: var(--gray);
}
.call-badge--closing {
  background: var(--gray);
}
.call-badge--pending {
  background: transparent;
  border: 1px solid var(--yellow);
  color: var(--yellow);
}
.call-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.call-info {
  flex: 1;
}
.call-id {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.call-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  margin: 0.25rem 0 0.5rem;
}
.call-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.call-tags {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}
.call-meta {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.call-budget {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--yellow);
}
.call-deadline {
  font-size: 0.75rem;
  color: var(--gray);
}
.call-arrow {
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--yellow);
}
.more-calls {
  margin-top: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}
.more-calls p {
  color: var(--gray);
  margin: 0;
  font-size: 0.9rem;
}
.more-calls a {
  color: var(--yellow);
}

/* ---- Notice Banner ---- */
.notice-banner {
  background: var(--yellow);
  color: var(--black);
  padding: 2rem;
  margin-bottom: 3rem;
}
.notice-banner h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ---- Custom Sections (Innovation Fund) ---- */
.custom-section {
  margin-bottom: 3rem;
}
.custom-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.custom-section ul {
  color: var(--gray);
  line-height: 2;
  margin-left: 1.5rem;
}
.custom-section ul strong {
  color: var(--white);
}
.custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.custom-grid-item {
  background: var(--dark-gray);
  padding: 2rem;
}
.custom-grid-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.custom-grid-item p {
  color: var(--gray);
  font-size: 0.9rem;
}
.custom-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}
.custom-stat {
  background: var(--dark-gray);
  padding: 2rem;
  text-align: center;
}
.custom-stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--yellow);
}
.custom-stat-label {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ---- Uppercase Headings & Badges ---- */
.grant-badge,
.grant-hero h1,
.grant-section h2,
.about-section h2,
.funding-section h2,
.eligibility-section h2,
.topics-section h2,
.lots-section h2,
.packages-section h2,
.package-badge,
.package-card h3,
.dates-section h2,
.faq-section h2,
.form-section h2,
.open-calls-section h2,
.call-badge,
.lot-card h3,
.custom-section h2,
.notice-banner h3 {
  text-transform: uppercase;
}

/* ---- Grants Listing Page ---- */
.grants-list {
  padding: 4rem 2rem;
}
.grants-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1000px;
}
.grant-card {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  padding: 2rem;
  background: var(--dark-gray);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, opacity 0.2s;
}
.grant-card:hover {
  border-color: var(--yellow);
}
.grant-featured {
  padding: 3rem;
  border: 2px solid var(--yellow);
}

/* Status modifiers */
.grant-card--closing {
  opacity: 0.65;
}
.grant-card--closing:hover {
  opacity: 0.8;
  border-color: var(--gray);
}
.grant-card--closing .grant-card-budget {
  color: var(--gray);
}
.grant-card--closed {
  opacity: 0.45;
}
.grant-card--closed:hover {
  opacity: 0.55;
  border-color: rgba(255, 255, 255, 0.1);
}
.grant-card--closed .grant-card-budget {
  color: var(--gray);
}

/* Badge */
.grant-card-badge {
  position: absolute;
  top: -0.75rem;
  left: 2rem;
  background: var(--yellow);
  color: var(--black);
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.grant-card-badge--pending {
  background: var(--gray);
}
.grant-card-badge--closed {
  background: var(--gray);
}
.grant-card-badge--closing {
  background: var(--gray);
}

/* Card content */
.grant-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.grant-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.grant-featured .grant-card-title {
  font-size: 2.5rem;
}
.grant-card-desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.5;
}
.grant-card-tags {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}

/* Meta: budget + deadline */
.grant-card-meta {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.grant-card-budget {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--yellow);
}
.grant-card-deadline {
  font-size: 0.75rem;
  color: var(--gray);
}


/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
  .lots-grid {
    justify-content: center;
  }
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .package-card {
    margin: 0 0 -1px 0;
  }
  .funding-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .funding-grid {
    grid-template-columns: 1fr;
  }
  .eligibility-grid {
    grid-template-columns: 1fr;
  }
  .lot-card {
    width: 100%;
    margin: 0 0 -1px 0;
  }
  .topics-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: 1;
  }
  .grant-ctas {
    flex-direction: column;
  }
  .grant-ctas .btn {
    width: 100%;
  }
  .grant-card-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  .call-content {
    flex-direction: column;
  }
  .call-meta {
    text-align: left;
  }
  .destination-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .custom-grid {
    grid-template-columns: 1fr;
  }
}
