/* Featured Content Section */
.blog-section {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 1.5rem;
}

.featured-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.featured-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.featured-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.featured-button:hover {
    background-color: #c1121f;
}

/* Mobile Blog Styles */
.mobile-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.mobile-blog-content {
    padding: 1.5rem;
}

.mobile-blog-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.mobile-blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mobile-blog-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #1a4079;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: 600;
}

.mobile-blog-button:hover {
    background-color: #0d2b5c;
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Mobile Content */
.mobile-content {
    display: none;
}

.mobile-card {
    margin-bottom: 2rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mobile-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.mobile-card-content {
    padding: 1rem;
}

.mobile-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.mobile-card p {
    margin-bottom: 1rem;
}

.read-more {
    color: var(--secondary-color);
    cursor: pointer;
    text-decoration: underline;
}

.full-text {
    display: none;
}

.full-text.active {
    display: block;
}

/* Countries Section Styles */
.countries-section {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.countries-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-family: 'Island', cursive;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.country-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.country-card:hover {
    transform: translateY(-5px);
}

.country-flag {
    width: 120px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    transition: opacity 0.3s ease;
}

.country-flag .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.country-card:hover .country-flag .hover-image {
    opacity: 1;
}

.country-card:hover .country-flag img:not(.hover-image) {
    opacity: 0;
}

.country-flag:hover {
    transform: scale(1.1);
}

.country-card h3 {
    color: var(--secondary-color);
    margin: 1rem 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.country-button {
    margin-top: auto;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.country-button:hover {
    background-color: #1a4b8c;
}

@media (max-width: 1200px) {
    .countries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .country-flag {
        width: 100px;
        height: 60px;
    }
}

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


.calisma-izni-blog .featured-image img {
    object-position: center bottom;
    }
    
    .ulke-tercihi-blog .featured-image img {
    object-position: center 35%;
    }
    
    
    
    .countries-title-softbox {
    display: inline-block;
    background: #fff;
    border: 1.5px solid #e6eaf3;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(26,64,121,0.06);
    padding: 12px 38px 10px 38px;
    font-size: 2.1rem;
    color: #1a4079;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    text-align: center;
    }
    
    .countries-title-underline {
    display: block;
    width: 80%;
    height: 5px;
    margin: 16px auto 0 auto;
    background: linear-gradient(90deg, #1a4079 60%, #e63946 100%);
    border-radius: 3px;
    }
    
    .blog-title-underline {
    display: block;
    width: 180px;
    height: 5px;
    margin: 16px auto 0 auto;
    background: linear-gradient(90deg, #1a4079 60%, #e63946 100%);
    border-radius: 3px;
    }


    .featured-section {
        background: #fff;
    }


    @media (max-width: 460px) {

        .featured-item {
            flex-direction: column;
        }
    
        .featured-item.reverse {
            flex-direction: column;
        }
    
        .featured-image {
            width: 100%;
        }
    }
    
    
    @media (max-width: 600px) {
        .section-list {
            margin-top: 0.5rem;
            margin-bottom: 1.5rem;
            padding-left: 1.2em;
        }
        
        .section-list li {
            margin-bottom: 0.3em;
        }
    }    