/* =====================================================
   KIAGASHT - VISA SECTION
===================================================== */

.kg-visa-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* -------- Breadcrumb (reuses kg-city-breadcrumb look) -------- */

.kg-visa-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #f7941d;
    border-radius: 40px;
    padding: 10px 22px;
    margin-bottom: 30px;
    font-size: 14px;
}

.kg-visa-breadcrumb a {
    color: #0b1f3a;
    text-decoration: none;
}

.kg-visa-breadcrumb strong {
    color: #f7941d;
}

/* -------- Section title (matches kg-city-section-title) -------- */

.kg-visa-section-title {
    margin-bottom: 25px;
}

.kg-visa-section-title h1,
.kg-visa-section-title h2 {
    font-size: 26px;
    color: #0b1f3a;
    margin: 0 0 8px;
}

.kg-visa-section-title p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

/* -------- Country / group cards grid -------- */

.kg-visa-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}

.kg-visa-card {
    display: block;
    width: 100%;
    min-width: 0;
    background: #fff;
    border: 1.5px solid #f7941d;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(11, 31, 58, .08);
    transition: transform .25s ease;
}

.kg-visa-card:hover {
    transform: translateY(-4px);
}

.kg-visa-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f2f2f2;
}

.kg-visa-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kg-visa-card-info {
    padding: 14px 16px;
    text-align: center;
}

.kg-visa-card-info h3 {
    margin: 0;
    font-size: 16px;
    color: #0b1f3a;
    font-weight: 700;
}

.kg-visa-card-meta {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f2f2f2;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #888;
    width: 100%;
}

.kg-visa-card-meta span {
    display: block;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.kg-visa-card-meta strong {
    color: #0b1f3a;
    font-weight: 700;
}

/* -------- Single visa page -------- */

/* ظاهر کادر و عکس هیرو دقیقاً از city.css (.kg-city-hero) می‌آید،
   همان تنظیمات هیروی صفحه‌های مقصد؛ این‌جا فقط متن روی هیرو است. */
.kg-visa-hero {
    position: relative;
}

.kg-visa-hero-overlay {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 31, 58, .85), rgba(11, 31, 58, .15));
}

.kg-visa-hero-content {
    position: absolute;
    z-index: 3;
    bottom: 25px;
    right: 30px;
    left: 30px;
    color: #fff;
}

.kg-visa-hero-content h1 {
    font-size: 30px;
    margin: 0 0 6px;
}

.kg-visa-hero-content p {
    margin: 6px 0 0;
    opacity: .9;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.kg-visa-hero-quickinfo {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 0 0 10px;
    font-size: 14px;
    opacity: .95;
}

.kg-visa-hero-quickinfo strong {
    color: #f7941d;
}

.kg-visa-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.kg-visa-main {
    flex: 2;
    min-width: 0;
}

.kg-visa-side {
    flex: 1;
    min-width: 260px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.kg-visa-block {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(11, 31, 58, .06);
    padding: 24px;
    margin-bottom: 24px;
}

.kg-visa-block h2 {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: 19px;
    color: #0b1f3a;
    margin: 0 0 14px;
    border-bottom: 2px solid #f7941d;
    padding-bottom: 10px;
}

.kg-visa-block p {
    color: #444;
    line-height: 1.9;
    margin: 0 0 10px;
    text-align: justify;
    text-align-last: right;
}

.kg-visa-doc-list,
.kg-visa-notes-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kg-visa-doc-list li,
.kg-visa-notes-list li {
    position: relative;
    padding-right: 26px;
    margin-bottom: 10px;
    color: #444;
    line-height: 1.8;
}

.kg-visa-doc-list li::before {
    content: "\2713";
    position: absolute;
    right: 0;
    top: 2px;
    color: #f7941d;
    font-weight: 700;
}

.kg-visa-notes-list li::before {
    content: "\26A0";
    position: absolute;
    right: 0;
    top: 1px;
    color: #f7941d;
}

.kg-visa-steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: kg-visa-step;
}

.kg-visa-steps-list li {
    position: relative;
    padding-right: 40px;
    margin-bottom: 18px;
    color: #444;
    line-height: 1.8;
}

.kg-visa-steps-list li::before {
    counter-increment: kg-visa-step;
    content: counter(kg-visa-step);
    position: absolute;
    right: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: #f7941d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* -------- Price / info side box -------- */

.kg-visa-price-box {
    background: #0b1f3a !important;
    color: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.kg-visa-price-box .kg-visa-price-label {
    font-size: 13px;
    opacity: .8;
    margin-bottom: 6px;
}

.kg-visa-price-box .kg-visa-price-value {
    font-size: 22px;
    font-weight: 700;
    color: #f7941d;
}

.kg-visa-facts {
    list-style: none;
    margin: 18px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.kg-visa-facts li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: .9;
}

.kg-visa-facts li span:first-child {
    opacity: .7;
}

.kg-visa-cta-btn {
    display: block;
    margin-top: 18px;
    background: #f7941d;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 12px;
    border-radius: 40px;
    font-weight: 700;
}

/* -------- Related tours (reuses the same suggested-tour-card
   component/CSS already used on destination pages, defined in
   city.css - kept out of this file on purpose to avoid duplicate
   conflicting rules) -------- */

.kg-visa-related-tours {
    margin-top: 20px;
}

/* -------- Responsive -------- */

@media (max-width: 900px) {

    .kg-visa-layout {
        flex-direction: column;
    }

    .kg-visa-side {
        position: static;
        width: 100%;
        order: -1;
        margin-bottom: 10px;
    }

    .kg-visa-hero-content {
        right: 16px;
        left: 16px;
        bottom: 20px;
    }

    .kg-visa-hero-content h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .kg-visa-hero-quickinfo {
        gap: 10px;
        font-size: 12px;
        margin-bottom: 8px;
    }

    .kg-visa-hero-content p {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .kg-visa-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .kg-visa-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .kg-visa-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================
   مقاله‌ی صفحه‌ی اصلی ویزا (/visa/) - متن از پیشخوان
================================================== */

.kg-visa-hub-article p + p,
.kg-visa-hub-article p + ul,
.kg-visa-hub-article ul + p{
    margin-top:12px;
}

.kg-visa-hub-article ul,
.kg-visa-hub-article ol{
    margin:10px 0 0;
    padding-right:22px;
    color:#555;
    line-height:2;
}

.kg-visa-hub-article a{
    color:#FF7A00;
    font-weight:600;
}

.kg-visa-hub-article img{
    max-width:100%;
    height:auto;
    border-radius:16px;
    margin:18px 0;
}

@media (max-width:768px){
    .kg-visa-hub-article h2{ font-size:24px; }
}