.explore-header-row {
  display:flex;
  align-items:center;
  margin-bottom:5px;
}

.collection-sidebar {
  min-height: 100vh;
  padding-right:25px;
  background: #fff;
  border-right: 1px solid #eee;
  flex-direction: column;
  border-radius: 10px
}

.sticky-sidebar {
  position:sticky;
  top:20px;
}

.col-md-9 {
  display: flex;
  flex-direction: column;
  padding-left:35px;
}

.sidebar-list li {
	padding:5px 0;
	color:#555;
	cursor:pointer;
	list-style: none;
}

.template-body {
	padding:15px;
}

.template-body h4 {
	font-size:16px;
	font-weight:600;
}

.template-description {
	font-size:13px;
	color:#666;
}

.toolkits-title {
  color: #000;
  margin-top: 0;
  font-size: 30px;
  font-weight:700;
  line-height:1.2;
  margin-bottom:20px;
}

.toolkits-hero-image {
  text-align:right;
}

.faq-item {
	border:1px solid #e5e5e5;
	border-radius:8px;
	margin-bottom:10px;
	padding:15px;
	background:white;
}

.faq-question {
	font-weight:600;
}

.no-results-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.no-results-image {
  max-width: 300px;
  width: 100%;
  margin-bottom: 24px;
  opacity: 0.9;
}

.no-results-text {
  font-size: 18px;
  color: #555;
  font-weight: 500;
}

@media (max-width: 992px) {
  .template-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.template-card{
	background:white;
	border-radius:10px;
	box-shadow:0 2px 8px rgba(0,0,0,0.08);
	overflow:hidden;
  border:1px solid #ececec;
	transition:all .2s;
}

.template-card:hover{
	transform:translateY(-4px);
}

.template-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.template-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.placeholder-image {
	width:100%;
	height:100%;
	background:#ddd;
}

.sidebar-panel {
  background: white;
  border-radius: 4px;
  height: 100%;
  padding-top:0;
}

.search-input {
  width: 100%;
  margin-bottom:20px;
  padding: 10px 12px;
  border: 1px solid #999;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

.filters-wrapper {
  margin-top: 15px;
  overflow-y: auto;
  padding-right: 5px;
}

.filter-heading {
  font-size: 14px;
  font-weight: 700;
  color: #9e9e9e;
}

.filter-item {
  font-size: 14px;
  color: #000;
  cursor: pointer;
}

.filter-item.active {
  font-weight: bold;
  color: #000;
}

.sidebar-list {
  margin-bottom: 10px;
  list-style: none;
}

.filter-item:hover {
  color: #000;
}

.filters-wrapper::-webkit-scrollbar {
  width: 6px;
}

.filters-wrapper::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}

.filters-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 768px) {

  .collection-sidebar {
    border-right: none;
    padding: 10px;
  }

  .filters-section {
    display: none;
  }

  .search-input {
    display: block;
  }

  .full-height-row {
    flex-direction: column;
  }

  .container.collection-page {
    padding: 10px;
  }

  .template-card {
    margin-bottom: 10px;
  }

  .final-cta {
    padding: 30px 20px;
  }
}

@media(max-width:992px) {
  .explore-header-row{
    flex-direction:column;
  }

  .toolkits-hero-image {
    text-align:center;
    margin-top:20px;
  }

  .collection-sidebar {
    border-right:none;
    border-bottom:1px solid #ddd;
    min-height:auto;
  }

  .sticky-sidebar {
    position:relative;
    top:auto;
  }

  .col-md-9 {
    padding-left:15px;
  }
}

.toolkits-page {
 width:106%;
 padding:0 14px;
}

.full-height-row {
 display:flex;
 flex-wrap:nowrap;
 gap:0;
 margin:0;
}

.toolkits-content {
  padding: 14px 25px;
  margin-top: -24px;
}

.toolkits-header-card {
  background:#fff;
  border-radius:6px;
}

.toolkits-subtitle {
  font-size: 14px;
  line-height:1.6;
  color: black;
}

.hero-img {
  max-width: 100%;
  height: 100%;
}

.toolkits-results {
  margin-top: 8px;
}

.template-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
	margin-left:20px;
}

.second-cta-wrapper {
	margin-top:40px;
	margin-right:20px;
	margin-left:20px;
}

@media(max-width:992px) {
  
  .full-height-row {
    flex-direction:column;
  }

  .collection-sidebar {
    min-height:auto;
    border-right:none;
    border-bottom:1px solid #ddd;
  }

  .template-grid {
    grid-template-columns:repeat(2,1fr);
  }
}

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

@media (max-width:768px) {
  body {
    overflow-x:hidden;
  }

  .toolkits-page {
    width:100% !important;
    padding:0 8px;
  }

  .full-height-row {
    display:block;
    min-height:auto;
  }

  .collection-sidebar {
    width:100%;
    min-height:auto;
    padding:10px;
    border:none;
    border-radius:12px;
    margin-bottom:12px;
  }

  .sidebar-panel {
    padding:0;
  }

  .search-input {
    height:44px;
    font-size:16px;
    margin-bottom:0;
  }

  .filters-section {
    display:none;
  }

  .toolkits-content {
    padding:0;
    margin-top:0;
  }

  .col-md-9 {
    padding-left:0;
    padding-right:0;
  }

  .explore-header-row {
    display:block;
    margin-bottom:14px;
  }

  .toolkits-header-card {
    padding:18px 18px 22px;
    border-radius:12px;
  }

  .toolkits-title {
    margin:0 0 18px 0 !important;
    font-size:28px !important;
    line-height:1.25;
  }

  .toolkits-subtitle {
    font-size:16px;
    line-height:1.7;
    max-width:100%;
  }

  .toolkits-hero-image {
    text-align:center;
    margin-top:18px;
  }

  .hero-img {
    max-width:180px;
    width:100%;
    margin:0 auto;
    display:block;
  }

  .toolkits-results {
    margin-top:12px;
  }

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

  .template-card {
    width:100%;
  }

  .template-image {
    height:180px;
  }

  .template-body {
    padding:16px;
  }

  .template-body h4 {
    font-size:16px;
  }

  .template-description {
    font-size:14px;
  }

  .second-cta-wrapper {
    margin:24px 0 0;
  }

  .second-cta {
    padding:22px 18px;
    border-radius:12px;
  }

  .second-cta-title {
    font-size:22px;
    line-height:1.3;
  }

  .second-cta-text {
    font-size:15px;
  }
}

@media (max-width:480px) {
  .toolkits-title {
    font-size:24px !important;
  }

  .toolkits-subtitle {
    font-size:15px;
  }

  .template-image {
    height:160px;
  }

  .hero-img {
    max-width:150px;
  }

  .search-input {
    padding:12px;
  }
}
.toolkits-page > .explore-header-row {
  margin: 0 0 15px;
  padding: 20px 25px;
  border-radius: 10px;
}

.area-filter-row {
  margin-bottom: 15px;
}

.area-filter-panel {
  padding: 18px 25px;
  border-radius: 10px;
}

.area-filter-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.area-filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.area-chips {
  display: contents;
}

.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px 5px 12px;
  border-radius: 16px;
  color: #fff;
  font-size: 14px;
}

.area-chip-remove {
  padding: 0 4px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.area-search {
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
}

.area-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 320px;
  margin: 4px 0 0;
  padding: 4px 0;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.area-suggestion,
.area-suggestion-empty {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 12px;
  font-size: 14px;
}

.area-suggestion {
  cursor: pointer;
}

.area-suggestion:hover,
.area-suggestion.active {
  background: #f2f2f2;
}

.area-suggestion-empty {
  color: #777;
}

.area-suggestion-cause {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.area-filter-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  color: #666;
}

.collections-count {
  margin: 0 0 12px 20px;
  font-size: 15px;
  color: #000;
}

.collections-count-number {
  font-weight: 700;
}

.load-more-collections {
  margin-top: 20px;
  text-align: center;
}

.collection-area-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 4px 0 10px;
  overflow: hidden;
}

.collection-area-tags .cause-tag,
.collection-area-tags .sub-cause-tag {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 13px;
  white-space: nowrap;
}

.collection-area-tags .cause-tag {
  color: #fff;
}

.collection-area-tags .sub-cause-tag {
  border: 1px solid;
  background: #fff;
}

.collection-area-tags .sub-cause-tag:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .toolkits-page > .explore-header-row,
  .area-filter-panel {
    padding: 14px 16px;
  }

  .area-search {
    min-width: 100%;
  }

  .collections-count {
    margin-left: 0;
  }
}
