/*
Theme Name: blogprise - дочерняя тема
Template: blogprise
Theme URI: http://example.com/
Description: Дочерняя тема для темы blogprise
Author: Treba
Author URI: http://example.com/about/
Version: 1.0
*/

.custom-site-logo { text-decoration: none; display: inline-block; line-height: 1; }
.custom-site-logo .custom-logo-day { font-size: 36px; font-weight: 400; color: #6b6b6b; letter-spacing: -0.01em; }
.custom-site-logo .custom-logo-post { font-size: 36px; font-weight: 600; color: #1a1a1a; letter-spacing: -0.01em; }
.custom-site-logo .custom-logo-dot { font-size: 36px; font-weight: 600; color: #D85A30; }
.custom-site-logo .custom-logo-tagline { display: block; font-size: 14px; color: #777777; text-transform: uppercase; margin-top: 6px; }

/* --- Transit Directory Styles --- */
.transit-badge { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 13px; font-weight: bold; margin-right: 5px; text-decoration: none; color: #fff; }
.badge-num { background-color: var(--primary-color, #e74c3c); }
.badge-type { background-color: var(--primary-color, #3498db); }
.badge-city { background-color: #7f8c8d; }
.transit-badges { margin-bottom: 15px; }

.transit-chip { display: inline-block; padding: 6px 12px; margin: 0 8px 8px 0; background: #f1f2f6; border-radius: 20px; font-size: 14px; color: #333; text-decoration: none; transition: all 0.3s ease; border: 1px solid #dfe4ea; }
.transit-chip:hover { background: var(--primary-color, #3498db); color: #fff; border-color: var(--primary-color, #3498db); }
.transit-chips { margin-bottom: 25px; }

.transit-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 30px 0; }
.transit-card-archive { background: #fff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); overflow: hidden; transition: transform 0.3s ease; border: 1px solid #f1f2f6; }
.transit-card-archive:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.transit-card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.transit-card-img img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid #eee; }
.transit-card-content { padding: 20px; flex-grow: 1; }
.transit-card-title { margin: 0 0 10px 0; font-size: 18px; color: #2c3e50; font-weight: 600; }
.transit-card-excerpt { font-size: 14px; color: #7f8c8d; line-height: 1.5; }

.transit-combo-section { background: #f8f9fa; padding: 25px; border-radius: 8px; margin: 30px 0; border-left: 4px solid var(--primary-color, #3498db); }
.transit-combo-section h3 { margin-top: 0; }
.combo-row { margin-bottom: 10px; font-size: 15px; }
.combo-row a { color: var(--primary-color, #3498db); text-decoration: none; }
.combo-row a:hover { text-decoration: underline; }

.transit-breadcrumbs { margin-bottom: 20px; font-size: 14px; color: #7f8c8d; }
.transit-breadcrumbs a { color: var(--primary-color, #3498db); text-decoration: none; }
.transit-breadcrumbs span { color: #333; font-weight: bold; }

.transit-switch-section { margin-bottom: 30px; }
.bottom-switch { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; }

/* Sidebar Styles */
.sidebar-transit .widget-title { margin-bottom: 15px; font-size: 18px; font-weight: 600; border-bottom: 2px solid #f1f2f6; padding-bottom: 10px; }
.sidebar-transit .widget-title span { border-bottom: 2px solid var(--primary-color, #3498db); padding-bottom: 10px; }
.transit-widget ul { list-style: none; padding: 0; margin: 0; }
.transit-widget li { margin-bottom: 10px; border-bottom: 1px dashed #eee; padding-bottom: 10px; }
.transit-widget li:last-child { border-bottom: none; }
.transit-widget a { color: #555; text-decoration: none; transition: color 0.2s; }
.transit-widget a:hover { color: var(--primary-color, #3498db); }
.transit-widget .count { font-size: 12px; color: #999; float: right; }
.transit-widget .active-term > a { font-weight: bold; color: var(--primary-color, #3498db); }
.transit-btn-all { display: block; text-align: center; background: var(--primary-color, #3498db); color: #fff; padding: 10px; border-radius: 4px; text-decoration: none; font-weight: bold; transition: opacity 0.3s; }
.transit-btn-all:hover { opacity: 0.9; color: #fff; }

.transit-related { margin-top: 50px; border-top: 1px solid #eee; padding-top: 30px; }
.transit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.transit-card { padding: 15px; background: #f8f9fa; border-radius: 6px; text-align: center; text-decoration: none; color: #333; border: 1px solid #eee; transition: all 0.3s; }
.transit-card:hover { background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border-color: var(--primary-color, #3498db); color: var(--primary-color, #3498db); }

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