.tarutium-resources-wrap-outer {
  background-color: #f7f8f8;
}
.tarutium-resources-wrap {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 60px 0px 60px 0;
}

.tarutium-resources-wrap-blogs {
  padding: 0px 0px 120px 0;
}

.tr-header-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #0000001a;
}

.tr-main-title {
  font-size: 35px;
  font-weight: 700;
  color: #022b45;
  margin: 0;
  padding-bottom: 0 !important;
}

.tr-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 0 4px 0;
}

.tr-title {
  font-size: 24px;
  font-weight: 600;
  color: #8e2140 !important;
  margin: 0;
  padding-bottom: 0 !important;
}

.tr-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  display: none;
}

.tr-filter-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d8dade;
  border-radius: 8px;
  padding: 4px 15px;
  width: auto;
}

.tr-filter-group span {
  color: #022b45;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid #d8dade;
}

.tr-filter-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #022b45;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  width: auto;
  max-width: 120px;
  text-overflow: ellipsis;
  padding-right: 4px;
  border-bottom: 0px !important;
  padding-right: 22px;
  padding-left: 0 !important;
}

.tr-filter-group select:focus,
.tr-filter-group select:focus-visible {
  outline: none;
  box-shadow: none;
}

.tr-filter-group::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 6px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a2540' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.tr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

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

.tr-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 16px;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.051);
}

.tr-card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.tr-card-body {
  padding: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tr-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #022b45;
  margin: 0;
}

.tr-card-desc {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
  line-height: 150%;
  flex: 1;
}

.tr-download-btn {
  background: #8e2140;
  color: #fff;
  border: none;
  font-size: 14px;
  padding: 0px 16px;
  height: 40px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.tr-link-btn {
  background: #8e2140;
  color: #fff;
  border: none;
  font-size: 14px;
  padding: 0px 32px;
  height: 40px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  display: inline-flex;
  color: #fff !important;
}

.tr-download-btn:hover,
.tr-link-btn:hover {
  background: #741934;
}

.tr-load-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.tr-load-more-btn {
  background: #fff;
  border: 2px solid #8e2140;
  color: #8e2140;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.tr-no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: #888;
}

.tr-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.tr-modal {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  max-width: 460px;
  width: 90%;
  position: relative;
}

.tr-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}

.tr-modal-title {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 4px;
  padding-bottom: 04px;
  color: #1a2341;
}

.tr-modal-subtitle {
  color: #666666;
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 400;
}

.tr-form-group {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}

.tr-form-group span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #1a2341;
  font-weight: 600;
}

body .tr-form-group input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fcfcfc;
  box-sizing: border-box;
  outline: none;
  font-weight: 400;
  color: #1a2341 !important;
}

body
  .tr-form-group
  input:not([type="checkbox"]):not([type="radio"])::-webkit-input-placeholder {
  color: #666666 !important;
}
body
  .tr-form-group
  input:not([type="checkbox"]):not([type="radio"])::-moz-placeholder {
  color: #666666 !important;
  opacity: 1;
}
body
  .tr-form-group
  input:not([type="checkbox"]):not([type="radio"])::placeholder {
  color: #666666 !important;
  opacity: 1;
}
.tr-modal-submit {
  width: 100%;
  background: #8e2140;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 8px;
}

.tr-modal-submit:hover {
  background: #741934;
}

.tr-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.tr-modal-cancel {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  color: #555;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 12px;
  font-size: 14px;
}

.tr-modal-message {
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 16px;
}

.tr-modal-message.success {
  background: #e6f4ea;
  color: #1e7e34;
}

.tr-modal-message.error {
  background: #fbe7e9;
  color: #a52834;
}

.tr-field-error {
  display: block;
  color: #c0392b;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
  min-height: 14px;
}

.tr-form-group input.tr-input-error {
  border-color: #c0392b !important;
  background-color: #fdf2f1 !important;
}

@media (max-width: 576px) {
  .tr-filters {
    gap: 6px;
  }
  .tr-filter-group {
    width: 100%;
  }
  .tr-filter-group span {
    width: 55px;
  }
}

.tr-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
}

.tr-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(142, 33, 64, 0.25);
  border-top-color: #8e2140;
  border-radius: 50%;
  animation: tr-spin 0.6s linear infinite;
}

@keyframes tr-spin {
  to {
    transform: rotate(360deg);
  }
}

.tr-load-more-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
