/* Հիմնական կարգավորումներ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Արգելում է հորիզոնական սքրոլը */
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Noto Sans Armenian', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

.table-container {
    width: 100%;
    overflow-x: auto; /* Միայն աղյուսակը կլինի սահող */
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
}

.pop-table {
    min-width: 500px; /* Ստիպում ենք աղյուսակին պահել իր չափը, որ տեքստերը չիրարանցվեն */
    border-collapse: collapse;
}

/* Նավիգացիա */
header {
    background: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2ecc71;
}

.logo span {
    color: #3498db;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #2ecc71;
}

.join-btn {
    background: #2ecc71;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
}

.join-btn:hover {
    background: #27ae60;
}

/* Hero Section */
.hero {
    height: 75vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('images/main.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.hero-content {
    margin-top: 200px; /* Այս թիվը մեծացնելով՝ տեքստը ավելի կիջնի ներքև */
     text-align: center; /* ՍԱ Է ԿԱՐԵՎՈՐ ՏՈՂԸ. այն կենտրոնացնում է տեքստը */
    width: 100%;        /* Ապահովում է, որ տեքստի բլոկը տարածվի ողջ լայնությամբ */
    z-index: 2;
}

.cta-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: #3498db;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

/* Նորությունների քարտեր */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.news-card img {
    width: 100%;
    border-radius: 8px;
}

.news-card h3 {
    margin: 15px 0 10px;
}
/* Համայնք բաժնի հիմնական ոճերը */
.community-section {
    background-color: #fdfdfd;
    padding: 100px 0;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr; /* Ձախը քարտեզների համար, աջը ծավալուն տեքստի */
    gap: 50px;
    align-items: start;
}

.visual-box {
    background: #fff;
    padding: 12px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.map-img-top {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.img-caption {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

/* Տեքստային հատված */
.community-text h3 {
    font-size: 1.8rem;
    color: #27ae60;
    margin: 25px 0 15px;
    position: relative;
    padding-left: 15px;
}

.community-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background: #2ecc71;
    border-radius: 2px;
}

.community-text p {
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Տեքստի միջի ցուցակները */
.community-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.community-text ul li {
    background: #f9f9f9;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    border-right: 4px solid #3498db;
}

/* Ինֆո քարտերի ցանց (3 սյունակ) */
.info-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.info-item {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    border-bottom: 3px solid #2ecc71;
}

.info-item strong {
    display: block;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
}

.info-item span {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
}

/* Միջանկյալ նկար */
.inline-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Աղյուսակ */
.population-wrapper {
    margin-top: 80px;
}

.pop-table {
    width: 100%;
    border-collapse: collapse;
}

.pop-table th, .pop-table td {
    padding: 20px;
    border: 1px solid #eee;
}

.pop-table th {
    background: #2c3e50;
    color: white;
}

.active-year {
    background: #2ecc71 !important;
    color: white;
    font-weight: bold;
}

/* Հարմարեցում հեռախոսների համար */
@media (max-width: 992px) {
    .community-grid {
        grid-template-columns: 1fr;
    }
    .info-card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Խնդիրների բաժին */
.issues-section {
    background: #e9ecef;
    padding: 50px 0;
    text-align: center;
}

#issue-form {
    max-width: 600px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
}

#issue-form input, #issue-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

.submit-btn {
    background: #34495e;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.social-links a {
    color: #2ecc71;
    text-decoration: none;
    margin: 0 10px;
}
/* 1. ԳՐԱՆՑՄԱՆ ՊԱՏՈՒՀԱՆԻ ՈՃԵՐԸ (Միացիր մեզ) */
.modal {
    display: none; /* Սկզբում թաքցնում է */
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7); /* Մուգ ֆոն */
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px; /* Սա ավելի նեղ է, քան կենսագրականի պատուհանը */
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    text-align: center;
}
/* «Միացիր մեզ» պատուհանի փակման կոճակը (X) */
.close-btn {
    position: absolute; /* Սա թույլ է տալիս տեղափոխել անկյուն */
    right: 20px;        /* Հեռավորությունը աջ եզրից */
    top: 10px;          /* Հեռավորությունը վերևի եզրից */
    color: #888;
    font-size: 35px;    /* Մեծացրինք չափսը */
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;     /* Որպեսզի չափսը ճշգրիտ լինի */
}

.close-btn:hover {
    color: #e74c3c;     /* Մկնիկը վրան պահելիս կդառնա կարմրավուն */
}

/* 2. ՄԱՍՆԱԿԻՑՆԵՐԻ ԿԵՆՍԱԳՐԱԿԱՆԻ ՈՃԵՐԸ (Արդեն ունես, բայց համոզվիր որ կա) */
.bio-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Թարմացված Modal-ի ոճերը */
.bio-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85); /* Ավելի մուգ ֆոն */
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.bio-content {
    background: white;
    width: 95%;
    max-width: 900px;
    max-height: 85vh; /* Պատուհանը չի լինի էկրանի 85%-ից ավել */
    border-radius: 20px;
    display: flex;
    overflow: hidden; /* Սա կարևոր է, որ նկարի անկյունները կլոր մնան */
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.bio-img {
    width: 35%; /* Մի փոքր փոքրացրինք նկարի լայնությունը */
    height: auto;
    object-fit: cover;
    background: #f4f4f4;
}

.bio-details {
    padding: 40px;
    width: 65%;
    overflow-y: auto; /* Եթե տեքստը երկար է, միայն այս մասը կունենա սքրոլ */
    background: white;
}

/* Գեղեցիկ սքրոլբար տեքստի համար */
.bio-details::-webkit-scrollbar {
    width: 6px;
}
.bio-details::-webkit-scrollbar-thumb {
    background: #2ecc71;
    border-radius: 10px;
}

.close-bio {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    cursor: pointer;
    color: #333;
    z-index: 10;
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* Մկնիկը նկարի վրա պահելիս ցույց տալ, որ այն սեղմվող է */
.zoomable-img {
    cursor: zoom-in;
    transition: 0.3s;
}

.zoomable-img:hover {
    opacity: 0.9;
}

/* Lightbox-ի հիմնական ոճերը */
/* Lightbox-ի հիմնական պատուհանը */
.lightbox {
    display: none; /* Սա կփոխվի flex-ի JavaScript-ով */
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    
    /* ԱՅՍ ԵՐԵՔ ՏՈՂՆ ԵՆ ԿԵՆՏՐՈՆԱՑՆՈՒՄ ԱՄԵՆ ԻՆՉ */
    display: none; 
    justify-content: center;
    align-items: center;
}

/* Նկարի և սլաքների ընդհանուր արկղը */
.lightbox-content {
    position: relative;
    display: flex;            /* Սա ևս կենտրոնացման համար է */
    justify-content: center;
    align-items: center;
    width: 100%;              /* Զբաղեցնում է ամբողջ լայնությունը */
    height: 100%;
}

/* Իրական նկարը */
.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;           /* Լրացուցիչ կենտրոնացում */
}

/* Սլաքները հեռախոսի վրա (Media Query-ի մեջ) */
@media (max-width: 768px) {
    .nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 40px;
        color: white;
        background: rgba(0,0,0,0.3); /* Թեթև ֆոն սլաքների տակ */
        padding: 10px;
        border-radius: 5px;
        z-index: 10001;
    }

    .prev-img { left: 10px !important; }  /* Ամրացնում ենք ձախից */
    .next-img { right: 10px !important; } /* Ամրացնում ենք աջից */

    .close-lightbox {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: 0.3s;
}

.nav-btn:hover { color: #2ecc71; }
.prev-img { left: 10px; }
.next-img { right: 10px; }

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10010; /* Սա ամենակարևորն է, որ լինի ամեն ինչից վերև */
    transition: 0.3s;
    line-height: 1;
    padding: 10px; /* Ավելացնում ենք սեղմելու տարածքը */
}

.close-lightbox:hover {
    color: #2ecc71; /* Մկնիկը վրան տանելիս կանաչում է */
}

/* Հեռախոսի համար */
@media (max-width: 768px) {
    .close-lightbox {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }
}

/* Հեռախոսի համար հատուկ կարգավորում */
@media (max-width: 768px) {
    .bio-content {
        flex-direction: column; /* Նկարը և տեքստը իրար տակ */
        max-height: 90vh;
    }
    .bio-img {
        width: 100%;
        height: 250px;
    }
    .bio-details {
        width: 100%;
        padding: 25px;
        overflow-y: auto;
    }
}


.input-group input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans Armenian', sans-serif;
}

#submitBtn {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    border: none;
    border-radius: 8px;
    background-color: #2ecc71;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
/*սա միացիր կոճակից բացվող ուղարկել կոճակին է վերաբերում */
/* Երբ կոճակը անջատված է (disabled) */
#submitBtn:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

#submitBtn:hover:not(:disabled) {
    background-color: #27ae60;
}
/* սա բարձրացրու խնդիր կոճակին է վերաբերում */
.submit-btn:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-btn {
    transition: 0.3s;
}
/* Սլայդերի հիմնական շերտը */
/* Սլայդերի կոնտեյներ */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: auto;
}

/* Նորությունների ցանցը սարքում ենք հորիզոնական */
.news-grid {
    display: flex;
    overflow-x: auto; /* Թույլ է տալիս թերթել */
    scroll-behavior: smooth; /* Սահուն թերթում */
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none; /* Թաքցնում է սքրոլի գիծը Firefox-ում */
}

.news-grid::-webkit-scrollbar {
    display: none; /* Թաքցնում է սքրոլի գիծը Chrome/Safari-ում */
}

/* Նորությունների քարտի չափսը սլայդերի մեջ */
.news-card {
    min-width: 300px; /* Կարևոր է՝ որ քարտերը չփոքրանան */
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Սլաքների ոճը */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(46, 204, 113, 0.8);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s;
}

.slider-btn:hover {
    background-color: #27ae60;
}

.prev-btn { left: -25px; }
.next-btn { right: -25px; }

/* Էկրանի փոքրացման դեպքում սլաքները տեղափոխենք */
@media (max-width: 768px) {
    .prev-btn { left: 0; }
    .next-btn { right: 0; }
}

/* Հարմարեցում հեռախոսների համար (մինչև 768px էկրաններ) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Լոգոն և կոճակները դասավորել իրար տակ */
        text-align: center;
    }

    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap; /* Եթե չտեղավորվեն, անցնեն հաջորդ տող */
        justify-content: center;
    }

    .nav-links li {
        margin: 5px 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem; /* Փոքրացնում ենք գլխավոր տեքստը, որ չկիսվի */
    }

    .join-btn {
        margin-top: 15px;
        width: 100%; /* Կոճակը դարձնում ենք լայն հեռախոսի վրա */
    }
}
/* Համակարգչի համար թողնում ենք նույնը կամ մի փոքր ավելացնում */
section[id] {
    scroll-margin-top: 100px; 
}

/* Հեռախոսների համար ավելացնում ենք չափսը, որպեսզի վերնագիրը չծածկվի */
@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 220px; /* Ավելացրինք մինչև 220px */
    }
}
/* --- LIGHT COOPERATION SECTION --- */
.light-coop {
    padding: 100px 0;
    background-color: #f8f9fa; /* Շատ բաց մոխրագույն ֆոն */
}

.coop-main-header {
    text-align: center;
    margin-bottom: 60px;
}

.title-line {
    width: 80px;
    height: 4px;
    background: #2ecc71;
    margin: 15px auto;
    border-radius: 2px;
}

.coop-flex-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Ձախ մաս */
.coop-info-side {
    flex: 1;
}

.coop-subtitle {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.2;
}

.coop-p {
    font-size: 1.1rem;
    color: #5d6d7e;
    line-height: 1.8;
    margin-bottom: 35px;
}

.c-feat-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.c-icon { font-size: 2.2rem; }
.c-feat-item h4 { color: #2c3e50; margin-bottom: 5px; }
.c-feat-item p { color: #7f8c8d; font-size: 0.95rem; margin: 0; }

/* Աջ մաս (Ֆորմա) - ԼՈՒՍԱՎՈՐ ՔԱՐՏ */
.coop-form-side {
    flex: 1;
}

.coop-form-card-light {
    background: #ffffff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid #eef2f3;
}

.coop-form-card-light h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.coop-form-card-light p {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.refined-form-light label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: 600;
}

.refined-form-light input, 
.refined-form-light textarea, 
.refined-select-light {
    width: 100%;
    padding: 15px;
    background: #fdfdfd;
    border: 1px solid #dcdde1;
    border-radius: 12px;
    color: #2c3e50; /* Տեքստը դարձնում ենք մուգ, որ միշտ երևա */
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

/* ՇՏԿՈՒՄ: Տեսանելի տարբերակներ Select-ի մեջ */
.refined-select-light option {
    background-color: #ffffff;
    color: #2c3e50;
    padding: 10px;
}

.refined-form-light input:focus, 
.refined-form-light textarea:focus,
.refined-select-light:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.15);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.refined-submit-btn-light {
    width: 100%;
    padding: 18px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.refined-submit-btn-light:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
}

/* Հեռախոսի համար */
@media (max-width: 992px) {
    .coop-flex-container { flex-direction: column; }
    .form-row-2 { grid-template-columns: 1fr; }
    .coop-subtitle { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .hero {
        /* Պահպանում ենք նկարի ամբողջականությունը */
        aspect-ratio: 4 / 3; 
        height: auto;
        min-height: auto;
        
        background-size: cover;
        background-position: center;
        
        /* Տեքստը տեղափոխում ենք ՆԵՐՔԵՎ */
        display: flex;
        flex-direction: column;
        justify-content: flex-end; /* Այս տողը հրում է տեքստը ներքև */
        align-items: center;
        
        /* Ներքևից մի փոքր բացատ ենք թողնում, իսկ վերևից` շատ, որ դեմքերը բացվեն */
        padding: 40px 15px 20px 15px; 
        text-align: center;

      
    }

    .hero-content {
        margin: 0;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 1.1rem !important; /* Ավելի փոքրացրինք */
        margin-bottom: 3px;
        line-height: 1.2;
        font-weight: bold;
    }

    .hero-content p {
        font-size: 0.75rem; /* Փոքրացրինք նկարագրությունը */
        margin-bottom: 10px;
        opacity: 0.9;
        text-align: center !important;
    }

    /* Կոճակը ևս փոքրացնում ենք */
    .hero .cta-btn, .hero .join-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 5px;
    }
}
@media (max-width: 768px) {
    /* Սլաքների չափսերի և դիրքի ուղղում */
    .nav-btn, .lbox-nav, .nav-arrow {
        font-size: 24px !important; /* Փոքրացնում ենք սլաքի չափը */
        background: rgba(0, 0, 0, 0.4) !important; /* Մգեցված կլոր ֆոն, որ լավ երևա */
        width: 40px !important; /* Ֆիքսված լայնություն */
        height: 40px !important; /* Ֆիքսված բարձրություն */
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50% !important; /* Սարքում ենք կլոր */
        padding: 0 !important;
        opacity: 0.7; /* Դարձնում ենք թեթև թափանցիկ, որ նկարը երևա տակից */
    }

    /* Ձախ սլաքը մաքսիմալ ձախ */
    .prev-img, .lbox-prev, .prev-arrow {
        left: 5px !important;
    }

    /* Աջ սլաքը մաքսիմալ աջ */
    .next-img, .lbox-next, .next-arrow {
        right: 5px !important;
    }

    /* Նկարը մի փոքր ավելի ենք փոքրացնում, որ սլաքների հետ չբախվի */
    .lightbox-img, .lbox-img {
        max-width: 95% !important;
        max-height: 75vh !important;
    }
}
@media (max-width: 768px) {
    /* 1. Ավելացնում ենք կողային բացատներ բոլոր կոնտեյներների համար */
    .container, 
    .container-wide, 
    .section-wrapper, 
    .community-section,
    .article-section {
        padding-left: 20px !important; /* Բացատ ձախից */
        padding-right: 20px !important; /* Բացատ աջից */
        box-sizing: border-box; /* Երաշխավորում է, որ բացատը չի մեծացնում լայնությունը */
    }

    /* 2. Ուղղում ենք տեքստի ընթեռնելիությունը */
    p {
        text-align: left !important; /* Հեռախոսով ավելի լավ է տեքստը լինի ձախից, որ բառերի արանքում հսկայական ճեղքեր չլինեն */
        font-size: 1.05rem; /* Մի փոքր մեծացնում ենք տառաչափը հարմարավետության համար */
        line-height: 1.6;
    }

    /* 3. Համոզվում ենք, որ լայն բաժինները դուրս չեն գալիս էկրանից */
    .community-grid, .details-grid {
        width: 100%;
        margin: 0;
    }
}
@media (max-width: 768px) {
    footer, footer p {
        text-align: center !important;
        width: 100%;
    }
}
