/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
	font-size: 16px;
}
        .container-medik {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            padding: 16px;
        }

        .column-medik {
            flex: 0 1 calc(16% - 12px); 
            overflow: hidden;
            transition: transform 0.2s;
			background: #fff;
            border: 3px solid #b59123;
			text-align: center;
        }

        .image-medik {
            width: 100%;
            height: 150px;
            object-fit: cover;
        }

        .content-medik {
            padding: 16px;
        }

        .title-medik {
            font-size: 14px;
            font-weight: bold;
            margin: 0 0 8px;
        }

        .description-medik {
            font-size: 13px;
            color: #555;
        }

        /* Адаптация для мобильных устройств */
        @media (max-width: 768px) {
            .column-medik {
                flex: 0 1 calc(50% - 16px); /* 2 колонки на строку */
            }
        }

        @media (max-width: 480px) {
            .column-medik {
                flex: 0 1 calc(100% - 16px); /* 1 колонка на строку */
            }
        }

.hero a, .hero a:visited{color: #b59123;}
.hero a:hover{color:#fc2a2a;}


.hero ul {
    list-style-type: none;
    padding-left: 5px;
    margin-bottom: 1rem;
}
.hero ul li{
	position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
}

.hero ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #b59123;
    border-radius: 50%;
}

.hero ol {
list-style-type: none;
padding-left: 5px; 
margin-bottom: 1rem;
}
.hero ol li {
position: relative;
padding-left: 30px; 
margin-bottom: 5px;
}
.hero ol li::before {
content: counter(list-item); 
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%); 
width: 20px;
height: 20px;
background-color: #b59123;
color: white; 
border-radius: 50%; 
text-align: center; 
line-height: 21px;
font-size: 12px;
}

blockquote {
    background: linear-gradient(to right, #eff4f5 0, #e8f4f5 100%);
    border-left: 5px solid #b59123;
    padding: 10px 15px;
    margin: 15px 0;
    font-style: italic;
	border-radius: 5px;
}

img {
    max-width: 100%; 
    height: auto;  
    display: block; 	
}

a img {
    display: inline-block;
    max-width: 100%;
}

.post-img{text-align: center;}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    padding: 15px 20px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    margin-right: 20px;

}

.menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-right: 20px;

}

.menu ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}
.menu ul li a, .menu ul li a:visited{
 color: #9e4017;
 font-size:18px;
 font-weight :700;
}

.menu ul li a:hover{color:#fc2a2a;}


.menu-toggle {
    display: none;
    background: #9e4017;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
}

.hero {
    background: #f4f4f4;
    padding: 20px;
}

.hero p{
	padding: 5px 0;
	line-height: 20px;
}



.hero h1 {
    font-size: 27px;
    margin-bottom: 20px;
}

.buttons .button {
    display: inline-block;
    padding: 10px 20px;
    background: #9e4017;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
}

.services {
    padding: 20px;
    background: #e6e6e6;
}

.service-list {
    display: flex;
    gap: 15px;
}

.service-item {
    flex: 1;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    text-align: center;
}

/* Стили блока новостей */
.news {
    padding: 20px;
    background: #f9f9f9;
}

.news h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}


.date-box {
    width: 100%;
    max-width: 200px;
    height: 200px;
    text-align: center;
    background: #b59123;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.date-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}


@media (max-width: 480px) {
    .date-box {
        max-width: 150px; 
        height: 150px;
    }
}

.date-box .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #003366;
}

.date-box .month {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    color: #0077cc;
}

.news-content {
    flex: 1;
}

.news-title {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #9e4017;
    text-decoration: none;
    margin-bottom: 10px;
}


.news-title:hover {
    text-decoration: underline;
}

.news-description {
    margin-bottom: 10px;
}

.read-more {
    color: #9e4017;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
	color:#fc2a2a;
}

/* Адаптивность */
@media screen and (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .date-box {
        width: auto;
    }
}


/* Стили футера */
.footer {
    background: #b59123;
    color: #fff;
    padding: 20px;
    font-size: 14px;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}


.footer-column a {
    color: #fff;

}

.footer-column a:hover {
    color:#fc2a2a;
}

.footer-column ul li .date {
    display: block;
    color: #fff;
    font-size: 12px;
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #fff;
    padding-top: 10px;
    color: #fff;
}

.footer-bottom a {
    color:#fff;
}

.footer-bottom a:hover {
	color:#fc2a2a;
}

/* Адаптивность */
@media screen and (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Адаптивное меню */
@media screen and (max-width: 768px) {
    .menu ul {
        flex-direction: column;
        gap: 10px;
        display: none;
    }

    .menu ul.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
