/* =========================
   Сброс стилей
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --primary: #0F5132;
    --primary-dark: #0A3C24;
    --accent: #C9A227;
    --background: #F8F9FA;
    --white: #FFFFFF;
    --text: #2C2C2C;
    --gray: #6C757D;

    --radius: 18px;
    --shadow: 0 10px 30px rgba(0,0,0,.08);

}

body {

    font-family: 'Manrope', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;

}

.container {

    width: 90%;
    max-width: 1200px;
    margin: auto;

}

/* =========================
   Header
========================= */
/* Шапка */

/* =====================
      HEADER
===================== */


.header {

    background: white;
    padding: 18px 0;

    box-shadow: 0 3px 15px rgba(0,0,0,0.06);

    position: relative;
    z-index: 10;

}



.header-container {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

}



/* Логотип */

.logo {

    display: flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: #1f5c45;

    font-size: 22px;

    font-weight: 700;

    white-space: nowrap;

}



.logo-icon {

    width: 48px;
    height: 48px;

    background: #1f5c45;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

}



.logo-icon i {

    color: white;

    font-size: 23px;

}



/* Навигация */

/* =====================
      Навигация
===================== */

.nav {

    display: flex;
    align-items: center;
    gap: 28px;

}


.nav a {

    text-decoration: none;

    color: var(--text);

    font-weight: 600;

    font-size: 16px;

    position: relative;

    transition: .3s;

}


.nav a:hover {

    color: var(--primary);

}



/* Линия только под пунктами меню */

.nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 2px;

    background: var(--primary);

    transition: .3s;

}


.nav a:hover::after,
.nav a.active::after {

    width: 100%;

}


.nav a.active {

    color: var(--primary);

    font-weight: 700;

}

/* Мобильная версия */

@media(max-width:900px) {


    .header-container {

        flex-direction: column;

        gap: 20px;

    }



    .nav {

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;

    }


}



@media(max-width:500px) {


    .logo {

        font-size: 19px;

    }


    .header-button {

        width: 100%;

        text-align: center;

    }


}

.header-button {

    background: var(--primary);

    color: white;

    text-decoration: none;

    padding: 14px 24px;

    border-radius: 50px;

    font-weight: 700;

    transition: .3s;

    white-space: nowrap;

}


.header-button:hover {

    background: var(--primary-dark);

}


/* Главный экран */
.hero {
    padding: 80px 0;
    background-image: 
        linear-gradient(
            rgba(248, 246, 240, 0.85),
            rgba(248, 246, 240, 0.85)
        ),
        url("../images/mosque.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}


/* Текстовая часть */
.hero-text {
    max-width: 650px;
}

.hero-subtitle {
    display: block;
    font-size: 40px;
    color: #1f5c45;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.25;
    color: #1f5c45;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}


/* Кнопки */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #1f5c45;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.button:hover {
    background-color: #174432;
}

.button-outline {
    background-color: transparent;
    color: #1f5c45;
    border: 2px solid #1f5c45;
}


/* Карточка следующего намаза */
.next-prayer {
    background: white;
    width: 300px;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.next-prayer h3 {
    color: #555;
    font-size: 18px;
    margin-bottom: 20px;
}

.prayer-name {
    font-size: 28px;
    color: #1f5c45;
    font-weight: bold;
}

.prayer-time {
    font-size: 40px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.countdown {
    font-size: 15px;
    color: #777;
}


/* Телефон */
@media (max-width: 800px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .next-prayer {
        width: 100%;
        max-width: 350px;
    }
}

/* Разделы сайта */
.services {
    padding: 70px 0;
    background: white;
}

.services h2 {
    text-align: center;
    color: #1f5c45;
    font-size: 32px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: #f8f6f0;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #1f5c45;
    margin-bottom: 15px;
}

.service-card p {
    color: #555;
}


/* Телефон */
@media(max-width:900px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:600px) {

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Новости */
.news {
    padding: 70px 0;
    background: #f8f6f0;
}

.news h2 {
    text-align: center;
    color: #1f5c45;
    font-size: 32px;
    margin-bottom: 40px;
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


.news-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}


.news-date {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}


.news-card h3 {
    color: #1f5c45;
    margin-bottom: 15px;
}


.news-card p {
    color: #555;
    margin-bottom: 20px;
}


.news-card a {
    color: #1f5c45;
    text-decoration: none;
    font-weight: bold;
}


.news-card a:hover {
    text-decoration: underline;
}

.news-card {
    overflow: hidden;
}

.news-card-image {

    width: 100%;
    height: 220px;

    object-fit: cover;

    border-radius: 12px;

    margin-bottom: 20px;

}


@media(max-width:900px) {

    .news-grid {
        grid-template-columns: 1fr;
    }

}

/* Расписание намазов */
.prayers {
    padding: 70px 0;
    background: white;
}

.prayers h2 {
    text-align: center;
    color: #1f5c45;
    font-size: 32px;
    margin-bottom: 40px;
}


.home-prayer-table {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}


.prayer-item {
    background: #f8f6f0;
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
}


.prayer-item span {
    display: block;
    color: #555;
    font-size: 18px;
    margin-bottom: 10px;
}


.prayer-item strong {
    font-size: 28px;
    color: #1f5c45;
}


.prayers-button {
    text-align: center;
    margin-top: 35px;
}



@media(max-width:900px) {

    .home-prayer-table {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media(max-width:500px) {

    .home-prayer-table {
        grid-template-columns: 1fr;
    }

}

/* О мечети */
.about {
    padding: 70px 0;
    background: #f8f6f0;
}


.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}


.about-text {
    max-width: 600px;
}


.about h2 {
    color: #1f5c45;
    font-size: 32px;
    margin-bottom: 25px;
}


.about-text p {
    color: #555;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
}


.about-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 260px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}


.about-card div {
    display: flex;
    align-items: center;
    gap: 15px;
}


.about-card strong {
    font-size: 28px;
    color: #1f5c45;
}


.about-card span {
    color: #555;
}


@media(max-width:800px) {

    .about-content {
        flex-direction: column;
    }

    .about-text {
        text-align: center;
    }

}

/* Контакты */
.contacts {
    padding: 70px 0;
    background: #f8f6f0;
}


.contacts h2 {
    text-align: center;
    color: #1f5c45;
    font-size: 32px;
    margin-bottom: 40px;
}


.contacts-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
}


.contacts-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    flex: 1;
}


.contacts-info h3 {
    color: #1f5c45;
    font-size: 24px;
    margin-bottom: 25px;
}


.contacts-info p {
    color: #555;
    margin-bottom: 15px;
}


.map {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
}


.map iframe {
    height: 100%;
    min-height: 350px;
}


/* Мобильная версия */
@media(max-width:800px) {

    .contacts-wrapper {
        flex-direction: column;
    }

}

/* Подвал */
footer {
    background: #1f5c45;
    color: white;
    padding-top: 50px;
}


.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}


footer h3,
footer h4 {
    margin-bottom: 20px;
}


footer p {
    color: rgba(255,255,255,0.8);
}


.footer-links {
    display: flex;
    flex-direction: column;
}


.footer-links a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
}


.footer-links a:hover {
    color: #e7c77a;
}


.footer-bottom {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background: rgba(0,0,0,0.15);
    font-size: 14px;
}


@media(max-width:800px) {

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

}

/* Заголовок страницы */
.page-header {
    padding: 60px 0;
    background: #1f5c45;
    color: white;
    text-align: center;
}


.page-header h1 {
    font-size: 38px;
    margin-bottom: 15px;
}


.page-header p {
    font-size: 18px;
    opacity: 0.9;
}



/* Страница намазов */
.prayers-page {
    padding: 70px 0;
    background: #f8f6f0;
}


.date-info {
    text-align: center;
    margin-bottom: 35px;
    color: #555;
}


.prayer-list {
    max-width: 700px;
    margin: 0 auto;
}


.prayer-row {
    background: white;
    padding: 25px 30px;
    margin-bottom: 15px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}


.prayer-row span {
    font-size: 20px;
    color: #333;
}


.prayer-row strong {
    font-size: 26px;
    color: #1f5c45;
}

/* Страница контактов */

.contacts-page {
    padding: 70px 0;
    background: #f8f6f0;
}


.contacts-page-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
}


.contact-info {
    background: white;
    padding: 35px;
    border-radius: 15px;
    flex: 1;
}


.contact-info h2 {
    color: #1f5c45;
    margin-bottom: 25px;
}


.contact-info p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}


.contact-map {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
}



@media(max-width:800px) {

    .contacts-page-wrapper {
        flex-direction: column;
    }

}

/* Страница о мечети */

.about-page {
    padding: 70px 0;
    background: #f8f6f0;
}


.about-page-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 70px;
}


.about-page-text {
    flex: 1;
}


.about-page-text h2 {
    color: #1f5c45;
    font-size: 32px;
    margin-bottom: 25px;
}


.about-page-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}


.about-page-image {
    flex: 1;
}


.about-page-image img {
    width: 100%;
    border-radius: 15px;
}


/* Деятельность */

.activity-block h2 {
    text-align: center;
    color: #1f5c45;
    margin-bottom: 35px;
}


.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


.activity-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}


.activity-card h3 {
    color: #1f5c45;
    margin-bottom: 15px;
}


.activity-card p {
    color: #555;
}



@media(max-width:800px) {

    .about-page-content {
        flex-direction: column;
    }


    .activity-grid {
        grid-template-columns: 1fr;
    }

}

/* История */

.history {
    padding: 80px 0 120px;
    background: white;
}


.history h2 {
    text-align: center;
    color: #1f5c45;
    font-size: 34px;
    margin-bottom: 60px;
}


.history-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}


/* второй блок наоборот */
.history-row.reverse {
    flex-direction: row-reverse;
}


.history-text {
    flex: 1;
}


.history-text h3 {
    color: #1f5c45;
    font-size: 26px;
    margin-bottom: 20px;
}


.history-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}


.history-image {
    flex: 1;
}


.history-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,.1);
}



/* разделяем историю и деятельность */
.activity-block {
    margin-top: 0;
    padding-top: 80px;
    padding-bottom: 80px;
}



@media(max-width:800px) {

    .history-row,
    .history-row.reverse {
        flex-direction: column;
    }

    .history-image img {
        height: 250px;
    }

}

/* ===========================
            Новости
=========================== */

.news-page{

    padding:70px 0;

    background:#f6f7f5;

}

.news-card{

    background:#fff;

    border-radius:18px;

    padding:35px;

    margin-bottom:40px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    overflow:hidden;

}

.news-card:last-child{

    margin-bottom:0;

}

.news-top{

    margin-bottom:25px;

}

.news-top h2{

    margin:12px 0 0;

    color:#175c36;

    font-size:32px;

    line-height:1.3;

}

.news-date{

    display:inline-block;

    background:#175c36;

    color:#fff;

    padding:8px 16px;

    border-radius:40px;

    font-size:14px;

    font-weight:600;

}

.news-date i{

    margin-right:6px;

}

.news-text{

    color:#444;

    font-size:18px;

    line-height:1.9;

}

.news-photo{

    float:right;

    width:360px;

    max-width:45%;

    margin:0 0 20px 30px;

    border-radius:15px;

    object-fit:cover;

    box-shadow:0 6px 18px rgba(0,0,0,.12);

}

.news-video{

    margin-top:30px;

    position:relative;

    padding-bottom:56.25%;

    height:0;

    overflow:hidden;

    border-radius:15px;

}

.news-video iframe{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    border:none;

    border-radius:15px;

}

.no-news{

    text-align:center;

    background:#fff;

    padding:60px;

    border-radius:18px;

    font-size:20px;

    color:#777;

}

@media (max-width:900px){

    .news-photo{

        float:none;

        display:block;

        width:100%;

        max-width:100%;

        margin:0 0 20px;

    }

    .news-top h2{

        font-size:26px;

    }

    .news-card{

        padding:25px;

    }

    .news-text{

        font-size:17px;

    }

}

/* Страница новости */

.news-detail {
    padding: 70px 0;
    background: #f8f6f0;
}


.news-detail-content {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 35px;
    border-radius: 15px;
}


.news-detail-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}


.news-detail-content p {
    color: #555;
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 20px;
}

/* Исправление размеров картинок новостей */

.news-grid .news-card img.news-card-image {

    width: 100%;
    height: 220px;
    max-height: 220px;

    object-fit: cover;

    display: block;

    border-radius: 12px;

}

.question-form{

    display:flex;

    gap:30px;

    margin-top:30px;

}

.question-left{

    width:320px;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.question-right{

    flex:1;

}

.question-left input,
.question-right textarea{

    width:100%;

    padding:15px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

    font-family:inherit;

}

.question-right textarea{

    min-height:180px;

    resize:vertical;

}

.question-left .button{

    margin-top:10px;

    text-align:center;

    border:none;

    cursor:pointer;

}

@media(max-width:800px){

    .question-form{

        flex-direction:column;

    }

    .question-left{

        width:100%;

    }

}

/* ===================================================
                CONTACTS PAGE
===================================================*/

.contacts-page{

    padding:70px 0;

    background:#f8f9fa;

}

.contacts-page-wrapper{

    display:grid;

    grid-template-columns:380px 1fr;

    gap:35px;

    align-items:stretch;

}

/* Левая карточка */

.contact-card{

    background:#fff;

    border-radius:22px;

    padding:40px;

    box-shadow:0 15px 40px rgba(0,0,0,.07);

}

.contact-card h2{

    color:var(--primary);

    font-size:30px;

    margin-bottom:35px;

}

.contact-item{

    display:flex;

    align-items:flex-start;

    gap:18px;

    margin-bottom:28px;

}

.contact-item:last-child{

    margin-bottom:0;

}

.contact-icon{

    width:56px;

    height:56px;

    min-width:56px;

    border-radius:50%;

    background:rgba(15,81,50,.1);

    display:flex;

    align-items:center;

    justify-content:center;

}

.contact-icon i{

    color:var(--primary);

    font-size:22px;

}

.contact-item h4{

    margin:0 0 8px;

    color:#222;

    font-size:18px;

}

.contact-item p{

    margin:0;

    color:#666;

    line-height:1.7;

}

/* Карта */

.contact-map{

    overflow:hidden;

    border-radius:22px;

    box-shadow:0 15px 40px rgba(0,0,0,.07);

    background:#fff;

}

.contact-map iframe{

    width:100%;

    height:100%;

    min-height:520px;

    border:0;

}



/* ===================================================
                QUESTION
===================================================*/

.question-section{

    padding:0 0 80px;

    background:#f8f9fa;

}

.question-card{

    background:#fff;

    border-radius:22px;

    padding:55px;

    box-shadow:0 15px 40px rgba(0,0,0,.07);

}

.question-header{

    display:flex;

    align-items:center;

    gap:25px;

    margin-bottom:45px;

}

.question-icon{

    width:82px;

    height:82px;

    border-radius:50%;

    background:rgba(15,81,50,.1);

    display:flex;

    align-items:center;

    justify-content:center;

}

.question-icon i{

    color:var(--primary);

    font-size:34px;

}

.question-header h2{

    color:var(--primary);

    font-size:34px;

    margin-bottom:12px;

}

.question-header p{

    color:#666;

    font-size:17px;

    line-height:1.8;

}



/* две колонки */

.question-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:35px;

}

.form-group{

    margin-bottom:25px;

}

.form-group label{

    display:block;

    margin-bottom:10px;

    font-weight:700;

    color:#333;

}

.form-group input,

.form-group textarea{

    width:100%;

    padding:17px 18px;

    border:1px solid #dcdcdc;

    border-radius:14px;

    font-size:16px;

    font-family:inherit;

    transition:.3s;

    background:#fff;

}

.form-group textarea{

    min-height:300px;

    resize:vertical;

}

.form-group input:focus,

.form-group textarea:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(15,81,50,.08);

}



/* безопасность */

.security-box{

    background:#eef8f2;

    color:var(--primary);

    border-radius:14px;

    padding:18px;

    margin-bottom:25px;

    display:flex;

    gap:15px;

    align-items:flex-start;

    line-height:1.7;

}

.security-box i{

    font-size:22px;

    margin-top:2px;

}


/* кнопка */

.send-button{

    width:100%;

    background:var(--primary);

    color:#fff;

    border:none;

    padding:20px;

    border-radius:14px;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.send-button i{

    margin-right:12px;

}

.send-button:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}



/* адаптив */

@media(max-width:1000px){

    .contacts-page-wrapper{

        grid-template-columns:1fr;

    }

    .question-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:700px){

    .contact-card,

    .question-card{

        padding:30px;

    }

    .question-header{

        flex-direction:column;

        text-align:center;

    }

    .question-header h2{

        font-size:28px;

    }

}

/* Страница успешной отправки */

.success-page {

    min-height: calc(100vh - 120px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 60px 20px;

}



.success-card {

    max-width: 600px;

    width: 100%;

    background: #ffffff;

    padding: 50px 40px;

    text-align: center;

    border-radius: 20px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

    margin: 0 auto;

}

.success-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 30px;

    padding: 15px 35px;

    background: linear-gradient(135deg, #0d5c3b, #147a4e);

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    border-radius: 50px;

    text-decoration: none;

    box-shadow: 0 8px 20px rgba(13, 92, 59, 0.25);

    transition: all 0.3s ease;

}


.success-button i {

    color: #d4af37;

    font-size: 18px;

}



.success-button:hover {

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(13, 92, 59, 0.35);

}

.send-button {

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    cursor:pointer;

}


.send-button.sending {

    opacity:0.8;

    pointer-events:none;

}

.error-icon {

    background: #b02a37;

}


.error-icon i {

    color: #ffffff;

}

.phone-hint {

    display:block;

    margin-top:8px;

    color:#777;

    font-size:13px;

}

.imam-section {
    padding: 80px 20px;
    background: #f8f5ee;
}

.imam-container {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 50px;

    background: white;
    padding: 40px;
    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


.imam-image img {
    width: 280px;
    height: 350px;

    object-fit: cover;

    border-radius: 20px;
}


.imam-content h2 {
    color: #0b5d3b;
    font-size: 38px;
    margin-bottom: 20px;
}


.imam-content h3 {
    font-size: 22px;
    margin-bottom: 20px;
}


.imam-content p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}


.imam-button {
    display: inline-block;

    margin-top: 20px;

    padding: 12px 25px;

    background: #c59b45;
    color: white;

    text-decoration: none;

    border-radius: 30px;

    transition: 0.3s;
}


.imam-button:hover {
    background: #a67d2f;
}

/* ==========================
   Расписание намазов на месяц
========================== */


.month-title {

    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #0b5d3b;

}



.table-wrapper {

    width: 100%;
    overflow-x: auto;

}



.prayer-table {

    width:100%;
    background:white;
    border-collapse:separate;
    border-spacing:0;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);

}

.prayer-table th:first-child {

    border-top-left-radius:15px;

}


.prayer-table th:last-child {

    border-top-right-radius:15px;

}



.prayer-table .friday td {

    background:#e8f5e9;

}



.prayer-table th {

    background: #0b6b45;
    color: white;
    padding: 15px 10px;
    font-size: 15px;
    font-weight: 600;

}



.prayer-table td {

    padding: 14px 10px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
    color: #333;

}



.prayer-table tr:last-child td {

    border-bottom: none;

}



.prayer-table tbody tr:hover {

    background: #f4faf6;

}



/* Пятница */

.prayer-table .friday {

    background: #e8f5e9;

}



.prayer-table .friday td:first-child,
.prayer-table .friday td:nth-child(2) {

    color: #0b6b45;
    font-weight: 700;

}



/* Мобильная версия */

@media(max-width:768px){


    .prayer-table {

        font-size:14px;

    }


    .prayer-table th,
    .prayer-table td {

        padding:10px 8px;

    }


}

/* исправление таблицы намазов */

.prayers-page .container {
    display: block;
}

.prayers-page {
    display: block;
}

.table-wrapper {
    display: block;
}

.prayer-table {
    margin: 0 auto;
}