/* resources.css */

main.resources-container {
  max-width: 1550px;
  margin: auto;
  padding: 24px;
  color: #b71a34;
}

.resources-container h1.section-heading {
  /* Your heading styles if any */
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.resources-container > div.description {
  margin-bottom: 32px;
  color: #000;
  text-align: center;
}

/* Tabs container */
.tabs {
  display: flex;
  gap: 8px;
  background-color: #f0f0f0;
  border-radius: 8px;
  padding: 6px;
}

/* Tab buttons */
.tabs button {
  flex: 1;
  background-color: transparent;
  border: none;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #b71a34;
  cursor: pointer;
 
  box-shadow: none;
}

.tabs button:hover:not(.active) {
  background-color: #b71a34;
  color: white;
}

.tabs button.active {
  background-color: #b71a34;
  color: white;
 box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);
  cursor: default;
}

/* Tab panels */
.tabpanel {
  margin-top: 24px;
  outline: none;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  
}

/* Card style */
.card {
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);
}

/* Card content padding */
.card-content {
  padding: 24px;
  text-align: center;
  
}

/* Card titles */
.card-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

/* Card description */
.card-content p {
  color: #000;
}

/* Card footer */
.card-footer {
  padding: 24px 24px 16px 24px;
}

/* PDF label */
.pdf-label {
  background-color: #e0e7ff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b71a34;
  margin-bottom: 12px;
}

/* PDF label large variant */

/* Download button */
.btn-download {
    display: inline-block;
    padding: 10px 20px; /* Bigger padding */
    background-color: #b71a34; /* Primary color */
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem; /* Slightly larger */
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-download:hover {
    background-color: #930022; /* Darker on hover */
    transform: translateY(-2px);
}


/* Glossary */
.glossary dt {
  font-weight: 700;
  margin-top: 24px;
  font-size: 1.25rem;
  color: #b71a34;
  text-align: center;
}

.glossary dd {
  margin-left: 12px;
  margin-bottom: 16px;
  color: #333;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.tabs button.tab.tab-active {
    background: #b71a34;
    color: #ffffff;
}
.tabs button.tab:focus, .tabs button.tab:active {
    outline: none;
}.cards-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:24px;
}

/* === Card Design === */
.card {
    background-color:#fff;
    border-radius:12px;
    padding:20px;
    box-shadow:0 2px 12px rgba(0,0,0,0.06);
    transition:transform 0.3s, box-shadow 0.3s;
    color:#000;
    position: relative;
}
.card:hover {
    transform:translateY(-2px);
    box-shadow:0 6px 20px rgba(0,0,0,0.12);
}
.card-icon {
    font-size:2rem;
    color:#b71a34;
    margin-bottom:12px;
}

/* === Tabs === */
.tab {
    padding:10px 18px;
    border-radius:8px;
    border:none;
    cursor:pointer;
    font-weight:600;
    background-color:#e0e0e0;
    color:#333;
    transition: all 0.3s;
}
.tab-active {
    background-color:#b71a34;
    color:#fff;
}
.tab-heading {
    font-size:1.8rem;
    font-weight:700;
    color:#333;
    margin-bottom:25px;
}

/* === Search === */
.search-form {
    flex-shrink:0;
}
.search-input {
    flex:1;
    padding:10px 14px;
    border-radius:8px 0 0 8px;
    border:1px solid #ccc;
    color:#000;
    max-width:350px;
}
.search-btn {
    padding:10px 16px;
    background-color:#b71a34;
    color:#fff;
    border:none;
    border-radius:0 8px 8px 0;
    cursor:pointer;
}

/* === Pagination === */
.pagination-wrapper {
    margin-top:40px;
    text-align:center;
    color:#000;
}

/* Hide “Showing 1 to X of Y results” text */
small.text-muted,
.pagination-summary {
    display: none !important;
}