body {
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
    height: 100%;
    line-height: 1.7;
    color: #555;
}

p {
    line-height: 1.8;
    margin-bottom: 15px;
}

h1 {
    color: #bd0034;
    font-size: 28px;
    font-weight: normal;
    margin-top: 0;
    line-height: 1.4;
    margin-bottom: 20px;
}

h2 {
    color: #0052b4;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.4;
    margin-top: 30px;
    margin-bottom: 15px;
}

h3 {
    color: #bd0034;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.4;
    margin-top: 25px;
    margin-bottom: 12px;
}

img {
    max-width: 100%;
    height: auto;
    width: auto \9
}

a:link {
    color: #0052b4;
    text-decoration: underline
}

a:hover {
    color: #555;
    text-decoration: underline
}
a:visited {
    color: #0052b4;
}

/* header */
.base {
    width: 800px;
    height: 100%;
    border-spacing: 0;
    padding: 0;
    overflow: auto;
    margin: auto;
    /*position: absolute;*/
    top: 0; left: 0; bottom: 0; right: 0;
}

.header_logo {
    height: 40px;
}
.header_search {
    height: 40px;
}

.tdheader {
    padding: 10px 10px 0 10px
}

.tdsearch {
}

.header_menu {
    
}

.tdmenu {
    border-bottom: 2px solid #dee2e6;
    padding: 0 10px 10px 10px;
    line-height: 2;
    height: 30px;
}

.mylogo {
    display: inline;
    width: 166px;
    alignment-baseline: middle;
    vertical-align: middle
}

.head_1 {
    float: left;
}

.head_2 {
    float: right;
}

a.menu {
    color: #0052b4;
    text-decoration: none
}
a.menu:hover {
    color: #0052b4;
    text-decoration: underline
}
a.menu:visited {
    color: #0052b4;
}

a.up {
    text-decoration: none;
}

a.up:hover {
    text-decoration: none;
}

.faq-q {
    padding-left: 10px;
    font-style: italic;
}
.faq-a {
    padding-left: 15px;
    font-style: italic;
}

@media screen and (min-width: 200px) and (max-width: 800px) {
    .base {
        width: 100%;
    }
}

/* end header */

/* main */

.breadcrumbs {
    font-size:13px;
    color: #999;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

a.bread {
    color: #4e9dfb;
    text-decoration: none;
}

a.bread:hover {
    color: #0052b4;
    text-decoration: none;
}

.content {
    vertical-align: top;
    padding: 20px 10px;
}

.preview {
    float: right;
    width: 90px;
    border-radius: 20px;
    padding-left: 5px;
    padding-top: 5px;
}
.preview2 {
    float: right;
    width: 200px;
    border-radius: 20px;
    padding-left: 5px;
}

/* Уменьшенный размер для списков статей */
.preview2.preview-list {
    width: 100px;
    border-radius: 10px;
}

div.question {
    padding-top: 10px
}

div.pquestion {
    font-size: 15px;
    margin: 5px 0;
    line-height: 20px
}
a.question {
    font-size: 18px;
    text-decoration: none;
}

.price {
    font-size: 20px;
    color: #bd0034;
}
.price_s {
    color: #bd0034;
}

.tags {
    font-size:13px;
    color: #999;
    border-bottom: 1px solid #eceff1;
    padding-bottom: 10px;
    clear: both;
    margin-bottom: 20px;
}

.author {
    font-size:13px;
    padding-bottom: 10px
}

a.tag {
    background-color: #d6b809;
    opacity: 0.7;
    color:white;
    padding:5px 5px;
    border-radius:5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

a.tag:hover {
    opacity: 1;
}

.icm {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    border-radius: 20px;
}

.source {
    font-size:13px;
    color: #999;
    font-style: italic;
}

.rvideo {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.rvideo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-width: 0;
  outline-width: 0;
}

.sidebar {
    width: 250px;
    float: right;
    font-size: 13px;
}

/* List */
ol {
	list-style-type: none; 
	counter-reset: num;
	margin: 0 0 0 45px;
	padding: 15px 0 5px 0;
	font-size: 16px;
}
ol li {
	position: relative;	
	margin: 0 0 0 0;
	padding: 0 0 10px 0;
	line-height: 1.4;
}
ol li:before {
	content: counter(num); 
	counter-increment: num;
	display: inline-block;
	position: absolute;
	top: 0;
	left: -38px;
	width: 28px;
	height: 28px;
	background: #ef6780;
	color: #fff;
	text-align: center;
	line-height: 28px;
	font-size: 18px;
}
ol.top {
    width: 250px;
    padding: 0;
    -moz-column-count: 2;
    -moz-column-width: 120px;
    -moz-column-gap: 10px;
    -webkit-column-count: 2;
    -webkit-column-width: 120px;
    -webkit-column-gap: 10px;
    column-count: 2;
    column-width: 120px;
    column-gap: 10px;
}
ol.top li {
    width: 95%;
    display: inline-table;
    margin: 3px;
    padding: 5px;
}

@media (min-width: 600px) {
    ol.top {
        width: 500px;
        -moz-column-count: 3;
        -moz-column-width: 175px;
        -webkit-column-count: 3;
        -webkit-column-width: 175px;
        column-count: 3;
        column-width: 175px;
    }
}

@media (min-width: 1000px) {
    ol.top {
        width: 800px;
        -moz-column-count: 4;
        -moz-column-width: 215px;
        -webkit-column-count: 4;
        -webkit-column-width: 215px;
        column-count: 4;
        column-width: 220px;
    }
}
/* end main */

/* footer */
.td_footer {
    height: 60px;
    background-color: #F8F8F8;
    color: #999;
    font-size: 14px;
    border-top: 2px solid #dee2e6
}

a.footer:link {
    color: #999;
    font-size: 14px;
    text-decoration: none
}

a.footer:visited {
    color: #999;
    font-size: 14px;
    text-decoration: none
}

a.footer:active {
    color: #999;
    font-size: 14px;
    text-decoration: none
}

a.footer:hover {
    color: #999;
    font-size: 14px;
    text-decoration: underline
}
/* end footer */

/* Article Placeholders */
.article-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 10px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    float: right;
    width: 200px;
    height: 200px;
    margin-left: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.article-placeholder.preview-size {
    width: 100px;
    height: auto;
    padding: 10px 8px;
    margin: 5px 0 5px 5px;
    padding-left: 5px;
    padding-top: 5px;
    display: block;
    float: right;
}

/* Slider placeholder size */
.news-preview .article-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 5px auto;
    border: solid 1px #999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    float: none;
    box-sizing: border-box;
}

.article-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.placeholder-icon {
    font-size: 3em;
    margin-bottom: 8px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.placeholder-title {
    font-size: 1.1em;
    font-weight: bold;
    color: white;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.placeholder-subtitle {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

/* Preview size styles */
.article-placeholder.preview-size .placeholder-icon {
    font-size: 1.8em;
    margin-bottom: 5px;
}

.article-placeholder.preview-size .placeholder-title {
    font-size: 0.8em;
    margin-bottom: 3px;
}

.article-placeholder.preview-size .placeholder-subtitle {
    font-size: 0.6em;
}

/* Slider size styles */
.news-preview .article-placeholder .placeholder-icon {
    font-size: 3em;
    margin-bottom: 8px;
}

.news-preview .article-placeholder .placeholder-title {
    font-size: 1.1em;
    margin-bottom: 6px;
}

.news-preview .article-placeholder .placeholder-subtitle {
    font-size: 0.8em;
}

/* Specific placeholder themes */
.water-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gas-placeholder {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.electricity-placeholder {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.electricity-placeholder .placeholder-title,
.electricity-placeholder .placeholder-subtitle {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.internet-placeholder {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.internet-placeholder .placeholder-title,
.internet-placeholder .placeholder-subtitle {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* New placeholder themes */
.window-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.locksmith-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.dentist-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gp-placeholder {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.spotify-placeholder {
    background: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
}

.youtube-placeholder {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.grocery-placeholder {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.grocery-placeholder .placeholder-title,
.grocery-placeholder .placeholder-subtitle {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.clothing-placeholder {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.clothing-placeholder .placeholder-title,
.clothing-placeholder .placeholder-subtitle {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Additional new placeholder themes */
.physio-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.optician-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cleaning-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.garden-placeholder {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.cinema-placeholder {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.pet-food-placeholder {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.pet-food-placeholder .placeholder-title,
.pet-food-placeholder .placeholder-subtitle {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.car-insurance-placeholder {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.car-insurance-placeholder .placeholder-title,
.car-insurance-placeholder .placeholder-subtitle {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.mobile-placeholder {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.mobile-placeholder .placeholder-title,
.mobile-placeholder .placeholder-subtitle {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.council-tax-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Category-specific placeholder colors */
.utilities-category-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.housing-category-placeholder {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.taxes-category-placeholder {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.health-category-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.documents-category-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.entertainment-category-placeholder {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.entertainment-category-placeholder .placeholder-title,
.entertainment-category-placeholder .placeholder-subtitle {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.investing-category-placeholder {
    background: linear-gradient(135deg, #1f4037 0%, #99f2c8 100%);
}

.love-category-placeholder {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

.care-category-placeholder {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.care-category-placeholder .placeholder-title,
.care-category-placeholder .placeholder-subtitle {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.shopping-category-placeholder {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.shopping-category-placeholder .placeholder-title,
.shopping-category-placeholder .placeholder-subtitle {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.sports-category-placeholder {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
}

.pets-category-placeholder {
    background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
}

.education-category-placeholder {
    background: linear-gradient(135deg, #134e5e 0%, #71b280 100%);
}

.real-estate-category-placeholder {
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
}

.beauty-category-placeholder {
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
}

.food-category-placeholder {
    background: linear-gradient(135deg, #ff6b35 0%, #f7b733 100%);
}

.food-category-placeholder .placeholder-title,
.food-category-placeholder .placeholder-subtitle,
.food-category-placeholder .placeholder-icon {
    color: #fff;
}

/* Category colors for slider */
.slider-placeholder.utilities-category-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slider-placeholder.housing-category-placeholder {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.slider-placeholder.taxes-category-placeholder {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.slider-placeholder.health-category-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slider-placeholder.documents-category-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slider-placeholder.entertainment-category-placeholder {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.slider-placeholder.investing-category-placeholder {
    background: linear-gradient(135deg, #1f4037 0%, #99f2c8 100%);
}

.slider-placeholder.love-category-placeholder {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

.slider-placeholder.care-category-placeholder {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.slider-placeholder.shopping-category-placeholder {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.slider-placeholder.sports-category-placeholder {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
}

.slider-placeholder.pets-category-placeholder {
    background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
}

.slider-placeholder.education-category-placeholder {
    background: linear-gradient(135deg, #134e5e 0%, #71b280 100%);
}

.slider-placeholder.real-estate-category-placeholder {
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
}

.slider-placeholder.beauty-category-placeholder {
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
}

.slider-placeholder.food-category-placeholder {
    background: linear-gradient(135deg, #ff6b35 0%, #f7b733 100%);
}

/* Update Date Styles */
.update-date {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 5px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    text-decoration: none;
    color: #333;
}

.pagination-btn.current {
    background: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

.pagination-btn.prev,
.pagination-btn.next {
    font-weight: bold;
}

.pagination-dots {
    padding: 8px 4px;
    color: #6c757d;
    font-weight: bold;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 3px;
    }
    
    .pagination-btn {
        padding: 6px 8px;
        font-size: 12px;
        margin: 0 1px;
    }
    
    .pagination-dots {
        padding: 6px 2px;
    }
}

/* Sitemap Styles */
.sitemap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sitemap-section {
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #007bff;
}

.sitemap-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.sitemap-list li {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sitemap-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.sitemap-list a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.sitemap-list a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.sitemap-footer {
    background: #e9ecef;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.sitemap-footer p {
    margin: 10px 0;
    color: #666;
}

.sitemap-footer strong {
    color: #333;
}

/* Top Expensive Block */
.top-expensive {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.top-expensive-title {
    color: #fff;
    text-align: center;
    font-size: 1.8em;
    margin: 0 0 25px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.top-expensive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.top-expensive-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-expensive-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.top-rank {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.top-content {
    flex: 1;
    min-width: 0;
}

.top-profession {
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-profession:hover {
    color: #667eea;
}

.top-price {
    color: #e91e63;
    font-weight: bold;
    font-size: 0.9em;
}

/* Responsive sitemap */
@media (max-width: 768px) {
    .top-expensive {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .top-expensive-title {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    
    .top-expensive-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .top-expensive-item {
        padding: 12px;
    }
    
    .top-rank {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
    
    .top-profession {
        font-size: 0.9em;
    }
    
    .top-price {
        font-size: 0.85em;
    }
    
    .sitemap-container {
        padding: 10px;
    }
    
    .sitemap-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .sitemap-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .sitemap-list li {
        padding: 12px;
    }
    
    .sitemap-section h2 {
        font-size: 1.3em;
    }
}

/* Article preview alignment - standard layout like in sections */
.articles-list {
    /* Standard block layout */
}

.articles-list .article-placeholder {
    float: right;
    margin-right: 15px;
    margin-bottom: 10px;
}

.articles-list .question {
    margin: 0;
}

.articles-list .pquestion {
    margin: 10px 0;
}

.articles-list .tags {
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .article-placeholder {
        padding: 30px 20px;
        margin: 15px 0;
    }
    
    .placeholder-icon {
        font-size: 3em;
    }
    
    .placeholder-title {
        font-size: 1.5em;
    }
    
    .placeholder-subtitle {
        font-size: 1em;
    }
}
/* Latest Articles Slider */
.latest-slider {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0 30px 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.slider-title {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
}

.slider-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 750px;
}

.slider-item {
    flex: 0 0 auto;
    width: 180px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.slider-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.slider-placeholder {
    width: 100%;
    height: 120px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slider-icon {
    font-size: 3em;
}

.slider-content {
    text-align: left;
}

.slider-link {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.3;
}

.slider-link:hover {
    color: #667eea;
}

.slider-date {
    font-size: 0.75em;
    color: #666;
}

.slider-container::-webkit-scrollbar {
    height: 6px;
}

.slider-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* CSS анимация для слайдера (запасной вариант) */
@keyframes slideScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.slider-container.css-animate {
    animation: slideScroll 20s linear infinite;
}

.slider-container.css-animate:hover {
    animation-play-state: paused;
}

/* Адаптивность слайдера для мобильных */
@media (max-width: 768px) {
    .latest-slider {
        padding: 8px;
        margin: 10px 0 15px 0;
        overflow: hidden;
    }
    
    .slider-title {
        font-size: 0.95em;
        margin-bottom: 8px;
    }
    
    .slider-container {
        width: calc(100vw - 40px);
        max-width: 100%;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    .slider-item {
        width: 140px;
        padding: 8px;
    }
    
    .slider-image {
        height: 85px;
    }
    
    .slider-placeholder {
        height: 85px;
    }
    
    .slider-icon {
        font-size: 2em;
    }
    
    .slider-link {
        font-size: 0.75em;
        line-height: 1.2;
    }
    
    .slider-date {
        font-size: 0.65em;
    }
}
