/* Transfers Archive Styles */
.transfers-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--it-rust);
}

.transfers-title {
    font-size: 2.5rem;
    color: var(--it-rust);
    margin-bottom: 15px;
    font-weight: 700;
}

.transfers-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Transfers Filters */
.transfers-filters {
    background: var(--njtpa-gray-lighter);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid var(--njtpa-gray-light);
}

.transfers-filter-form {
    margin: 0;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}

/* Related Posts Styles */
.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--it-gray-dark);
  border-top: 1px solid var(--it-gray-dark, #d0d0d0);
}

.related-posts h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--it-cyan);
  color: var(--it-cyan, #3d9fd0);
  margin: 0 0 1.5rem 0;
  border-bottom: 2px solid var(--it-cyan);
  border-bottom: 2px solid var(--it-cyan, #3d9fd0);
  padding-bottom: 0.5rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-post {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--it-gray-dark);
  border: 1px solid var(--it-gray-dark, #d0d0d0);
}

.related-post-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.related-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-content {
  padding: 1rem;
}

.related-post-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
}

.related-post-title a {
  color: var(--it-cyan);
  color: var(--it-cyan, #3d9fd0);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-post-title a:hover {
  color: var(--it-cyan-dark);
  color: var(--it-cyan-dark, #2e7fa8);
}

.related-post-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.related-post-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .related-posts {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--njtpa-gray-medium);
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.9rem;
    background: white;
    transition: border-color 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--it-rust);
    outline: none;
    box-shadow: 0 0 0 2px rgba(189, 77, 50, 0.1);
}

.filter-group input[type="text"] {
    min-width: 200px;
}

.filter-submit {
    background: var(--it-rust);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-submit:hover {
    background: var(--it-brown);
}

.filter-reset {
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 10px 15px;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: white;
    transition: all 0.3s ease;
}

.filter-reset:hover {
    color: var(--it-rust);
    border-color: var(--it-rust);
    text-decoration: none;
}

/* Results Info */
.transfers-results-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--njtpa-gray-light);
}

.results-count {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0 0 10px 0;
    font-weight: 500;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.filter-label {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 600;
    margin-right: 5px;
}

.filter-tag {
    background: var(--it-rust);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.transfers-stream {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.transfer-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: var(--njtpa-gray-lighter);
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

a.transfer-item:hover {
    background: #e8e8e8;
    cursor: pointer;
}

a.transfer-item:focus-visible {
    outline: 2px solid var(--it-rust);
    outline-offset: 2px;
}

.transfer-item .transfer-image {
    flex-shrink: 0;
    width: 200px;
    position: relative;
}

.transfer-item .transfer-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

.transfer-item .image-credit {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 5px;
    font-style: italic;
}

.transfer-item .transfer-content {
    flex: 1;
}

.transfer-item .transfer-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.3;
    padding-left: 15px;
    border-left: 4px solid var(--it-rust);
    color: var(--it-rust);
    font-weight: 600;
}

a.transfer-item:hover .transfer-title {
    text-decoration: underline;
}

.transfer-item .transfer-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    font-weight: 500;
    font-style: italic;
}

.transfer-summary {
    margin-bottom: 15px;
    color: var(--color-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.transfer-summary p {
    margin-bottom: 15px;
}

.transfer-summary p:last-child {
    margin-bottom: 0;
}

.transfer-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    padding-top: 12px;
    border-top: 1px solid #ddd;
    margin-top: auto;
}

.transfer-meta .transfer-author {
    font-weight: 600;
}

.transfer-meta .transfer-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.transfer-meta .date-icon {
    width: 14px;
    height: 14px;
    fill: var(--color-text-muted);
}

/* Single Transfer Styles */
.transfer-single {
    margin: 0 auto;
}

.transfer-header {
    margin-bottom: 40px;
}

.transfer-breadcrumb {
    margin-bottom: 20px;
    padding: 15px 0;
}

.transfer-breadcrumb a {
    color: var(--it-rust);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.transfer-breadcrumb a:hover {
    text-decoration: underline;
}

.transfer-single .transfer-title {
    font-size: 2.2rem;
    color: var(--it-rust);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.transfer-single .transfer-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-weight: 500;
    font-style: italic;
}

.transfer-featured-image-wrapper {
    margin: 30px 0 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.transfer-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 40px;
}

.transfer-content p {
    margin-bottom: 20px;
}

.transfer-content a {
    color: var(--it-rust);
    text-decoration: underline;
}

.transfer-content a:hover {
    text-decoration: none;
}


.transfer-categories,
.transfer-tags {
    margin-bottom: 15px;
}

.categories-label,
.tags-label {
    font-weight: 600;
    color: var(--color-text);
    margin-right: 10px;
}

.category-link,
.tag-link {
    background: #f5f0ee;
    color: var(--it-rust);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e5d9d4;
    transition: background 0.2s, color 0.2s;
}

.category-link:hover,
.tag-link:hover {
    background: var(--it-rust);
    color: white;
    border-color: var(--it-rust);
}

/* Transfer Navigation */
.transfer-navigation {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 2px solid var(--njtpa-gray-lighter);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 45%;
}

.nav-next {
    text-align: right;
}

.nav-links a {
    display: block;
    padding: 20px;
    background: var(--njtpa-gray-lighter);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    border-color: var(--it-rust);
    background: var(--color-background);
}

.nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--it-rust);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Theme Pagination Styles - InTransition Brand Colors */
.theme-pagination {
    display: flex;
    margin: 60px 0;
}

.pagination-wrapper {
    display: inline-flex;
    align-items: center;
}

.theme-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    margin: 0 3px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid var(--njtpa-gray-light);
    color: var(--color-text);
    background: white;
    border-radius: 6px;
    font-size: 0.95rem;
}

.theme-pagination .page-numbers:hover {
    border-color: var(--it-rust);
    background: var(--it-rust);
    color: white;
}

.theme-pagination .page-numbers.current {
    border-color: var(--it-rust);
    background: var(--it-rust);
    color: white;
    cursor: default;
}

.theme-pagination .page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
}

.theme-pagination .page-numbers.dots:hover {
    border: none;
    background: none;
    color: var(--color-text);
}

.theme-pagination .page-numbers.prev,
.theme-pagination .page-numbers.next {
    padding: 0 20px;
    min-width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .transfers-title {
        font-size: 2rem;
    }
    
    .transfers-filters {
        padding: 20px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .filter-group input[type="text"] {
        min-width: 100%;
    }
    
    .filter-group:last-child {
        flex-direction: row;
        gap: 10px;
    }
    
    .filter-submit,
    .filter-reset {
        flex: 1;
        text-align: center;
    }
    
    .active-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .filter-label {
        margin-bottom: 5px;
    }
    
    .transfer-item {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .transfer-item .transfer-image {
        width: 100%;
    }
    
    .transfer-item .transfer-image img {
        height: 200px;
    }
    
    .transfer-single .transfer-title {
        font-size: 1.8rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
        text-align: left;
    }
    
    .transfers-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        margin: 0 2px;
    }
}

/* No Transfers State */
.no-transfers {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}

.no-transfers p {
    font-size: 1.1rem;
    margin: 0;
}