﻿
input[type='text'], input[type='email'] {
    font-family: "Open Sans", sans-serif;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: rgba(13, 67, 127, 1) !important;
}


.rounded {
    border-radius: 16px !important;
}

.only-mobile {
    display: none !important;
}

h1.blog-page-title {
   margin: 0;
   color: #40C1C5;
}

main {
    margin-top: 150px;
}


section {
    overflow: hidden;
}

section.blog-vitrin {
    display: block;
}

section.blog-vitrin div.content {
    color: #333333;
}

section.blog-filter {
    background-color: #00b3b7;
    padding: 40px 0;
    color: #fff;
}

section.blog-filter h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    font-family: "Montserrat", serif;
}

section.blog-filter .search-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

section.blog-filter .blog-filter-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

section.blog-filter .blog-search-input {
    border-radius: 10px;
    padding: 12px 10px 12px 35px;
    flex: 1;
    min-width: 0;
    background-image: url(/assets/img/search.svg);
    background-repeat: no-repeat;
    background-position: 7px center;
    color: #0D437F;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    border: none;
}

section.blog-filter .blog-search-input::placeholder {
    color: #0D437F;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

section.blog-filter .blog-filter-chip {
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff;
    border-radius: 10px;
    padding: 12px 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

section.blog-filter .blog-filter-chip:hover {
    background: #fff;
    color: #00b3b7;
}

section.blog-filter .search-form input {
    border-radius: 10px;
    padding: 15px 10px 15px 35px;
    width: 100%;
    position: relative;
    background-image: url(/assets/img/search.svg);
    background-repeat: no-repeat;
    background-position: 7px center;
    color: #0D437F;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

section.blog-filter .search-form input::placeholder {
    color: #0D437F;
    font-size:14px;
    font-weight:400;
    line-height:20px;
}


section.blog-list .blog-card {
    border: none;
    min-height: 350px;
    /* 4 köşe de yuvarlak (kullanıcı isteği, tüm bloglarda tutarlı — alt köşeler de yuvarlak). */
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    box-shadow: none;
    cursor: pointer;
}

section.blog-list .blog-item {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

section.blog-list .blog-card:hover {
    box-shadow: 0px 8px 25px 0px rgba(64, 193, 197, 0.25);
}

section.blog-list .blog-card .blog-title {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    color: rgba(13, 67, 127, 1);
    min-height: 50px;
}

section.blog-list .blog-card .card-body {
   padding: 20px 16px 16px 16px;
}

section.blog-list .blog-card > img {
    border-radius: 16px 16px 0 0;
}

/* Blog kart fotoğrafı: 4 köşe de yuvarlak (kullanıcı isteği, tüm bloglarda tutarlı).
   Foto <picture> içinde .card-img-top → Bootstrap default 3px 3px 0 0'ı ezer. */
section.blog-list .blog-card picture,
section.blog-list .blog-card .card-img-top {
    border-radius: 16px;
    overflow: hidden;
}
section.blog-list .blog-card picture img {
    border-radius: 16px;
    display: block;
}

section.blog-list .blog-card a:hover {
    text-decoration: none;
}

section.blog-list .blog-card a.blog-btn {
    position: relative;
    background-color: #F3B84C;
    color: white;
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 17.07px;
    border-radius: 12px;
    margin-top: 20px !important;
    box-shadow: 0px 8px 20px 0px rgba(207, 142, 23, 0.3);
    font-family: "Montserrat", sans-serif;
    text-align: left;
    padding: 12px 20px;
}

section.blog-list .blog-card a.blog-btn span {
    display: inline-block;
    position: absolute;
    right: 20px;
}

section.blog-list .blog-card .blog-btn:hover {
    background-color: #e0a516;
    color: white;
}

section.blog-list .blog-card .blog-card img {
    border-radius: 10px;
}

section.blog-list .blog-card .blog_info {
    margin-top: 20px !important;
    /* İki chip eşit yükseklik: kategori uzun metinle 2 satıra sarıyordu, tarih tek satır kalıp
       daha kısa görünüyordu. stretch → tarih chip'i de kategori kadar uzar. */
    align-items: stretch !important;
}

section.blog-list .blog-card .tag {
    width: 48%;
    border: 1px solid rgba(64, 193, 197, 1);
    color: #40C1C5;
    font-size: 12px;
    line-height: 16px;
    border-radius: 8px;
    padding: 5px 10px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    text-align: center;
    /* İçeriği dikey+yatay ortala (stretch ile uzayınca tarih ortada dursun) */
    display: flex;
    align-items: center;
    justify-content: center;
}


.blog-list-slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slider-extra-text {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #00a99d;
    font-size: 18px;
}

section.blog-list {
    padding: 0 15px;
}

.blog-list-slider .slider-extra-text.bottom {
    bottom: 15px;
    top: inherit !important;
}

.slider-extra-text h4 {
    margin: 0;
    font-size: 22px;
    color: #40C1C5;
}

.slider-extra-text p {
    margin: 5px 0;
    color: #40C1C5;
    font-size: 14px;
}

.blog-list-slider .swiper-slide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
}

.blog-list-slider .slide-text h3 {
    color: #0D437F;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight:bold;
}

.blog-list-slider .slide-text p {
    font-size: 14px;
    color: #0D437F;
    margin-bottom: 20px;
}

.blog-list-slider .slide-text .cta-button {
    background-color: #fcbf49;
    color: white;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.blog-list-slider .slide-text .cta-button:hover {
    background-color: #f7a833;
    transition: 0.3s;
}
.blog-list-slider .slide-image {
    flex: 4;
    display: flex;
    justify-content: flex-end;
}

.blog-list-slider .slide-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.blog-list-slider .slide-text {
    flex: 1.3;
    z-index: 2;
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    top: -30px;
    left: 50px;
    margin-right: -35px;
}

.swiper-button-next {
    right: 30px !important;
}

.swiper-button-prev {
    left: 30px !important;
}

.swiper-button-next img, .swiper-button-prev img {

}

.swiper-button-next,
.swiper-button-prev {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    color: #fff;
    content:  '' !important;
}

ol.page-navigation {
    display: inline-block;
}

ol.page-navigation li {
    display: inline-block;
}

h3.popular-blogs-title {
    color: #0D437F;
    font-family: "Montserrat";
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0.78px;
    text-transform: uppercase;
}

section.blog-detail {
    padding: 0;
    width: 754px;
    margin-left: 35px;
    color: #0D437F !important;
    display: inline-block;
}

section.blog-detail > * {
    color: #0D437F !important;
}

section.blog-detail div.blog-content {
    padding: 0;
    font-family: "Open Sans", sans-serif;
}

section.blog-detail div.blog-content p,
section.blog-detail div.blog-content li,
section.blog-detail div.blog-content span {
    font-family: "Open Sans", sans-serif !important;
    color: #333333 !important;
}

section.blog-detail div.blog-content h1.blog-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
    text-transform: uppercase;
}

section.blog-detail div.blog-content {
    padding: 0;
}

section.blog-detail div.blog-content div.col-12, section.blog-detail div.blog-content div.col-lg-12 {
    padding: 0;
}

section.blog-detail div.blog-content picture {
    width: 100%;
    display:block;
}

section.blog-detail div.blog-content img {
    border-radius: 12px;
}

.blog_faq-container {
    padding-bottom: 25px;
}


.blog_faq {
    background: #f7fcfd;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 169, 166, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    transition-duration: .4s;
}


.blog_faq + .blog_faq {
    margin-top: 25px;
}

.blog_faq summary {
    font-size: 18px;
    color: #40C1C5;
    cursor: pointer;
    outline: none;
    list-style: none;
    position:relative;
}

.blog_faq summary::-webkit-details-marker {
    display: none;
}

.blog_faq[open] summary::after {
    position: absolute;
    content: "–";
    right: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00a9a6;
}

.blog_faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00a9a6;
    transform: translateY(-15%);
}

.blog_faq p {
    margin-top: 0.5rem;
    line-height: 1.6;
    color: #0D437F;
    font-size: 16px;
}

section.share-bar.only-desktop {
    background-color: #fff;
    display: inline-block;
    vertical-align: top;
    position: sticky;
    top: 100px;
    width: 239px;
    margin-left: 5px;
    padding: 0 15px;
    box-sizing:border-box;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

section.share-bar.only-desktop h4 {
    color: #40C1C5;
    margin-bottom: 15px;
}


section.share-bar.only-desktop ul li {
    display: inline-block;
}

section.share-bar.only-desktop ul li + li {
    margin-left: 15px;
}

section.share-bar.only-desktop img {
    filter: brightness(0) saturate(100%) invert(93%) sepia(71%) saturate(7187%) hue-rotate(138deg) brightness(81%) contrast(85%);
}

section.blog_detail_content {
    overflow: visible;
    position: relative;
}

.partners-title {
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    line-height: 34px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .blog_faq summary {
        font-size: 1rem;
    }

    .blog_faq {
        padding-right: .6rem;
    }

    .blog_faq p {
        font-size: 0.9rem;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .only-desktop {
        display: none !important;
    }
    .only-mobile {
        display: inherit !important;
    }

    h3.mobile-sub-title {
        font-family: "Montserrat";
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 24px;
        text-align: center;
        color: #0D437F;
        margin: 15px 0 0 0;
    }

    h2.mobile-title {
        text-align: center;
        color: #F3B84C;
        font-weight: 700;
        letter-spacing: 0.72px;
        line-height: 38px;
        font-size: 24px;
        margin: 0 0 20px 0;
        font-family: "Montserrat";
    }

    h3.popular-blogs-title {
        margin-bottom: 20px;
    }

    section.blog-vitrin div.content {
        padding: 20px 10px;
    }

    section.blog-filter {
        padding: 25px 0;
    }

    section.blog-filter .search-form input {
        padding: 20px 10px 20px 35px;
    }

    section.blog-list div.blog-item {
        padding: 15px !important;
        border-radius: 7px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

    section.blog-list .blog-card a.blog-btn {
        width: 100%;
        color: #FFF;
        font-family: "Montserrat";
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
        margin: 26px 0 0 0 !important;
    }

    section.blog-list .blog-card p.category {
        padding: 4px 16px;
        width: fit-content;
        color: #FFF;
        font-family: "Open Sans";
        font-size: 8px;
        font-style: normal;
        font-weight: 700;
        line-height: 16px; /* 200% */
        text-transform: uppercase;
        border-radius: 10px;
        border: 1px solid var(--white, #FFF);
        background: #40C1C5;
    }

    section.blog-list .blog-card img {
        border-radius: 8px;
    }

    section.blog-list .blog-card .card-body {
        padding: 0;
    }

    section.blog-list .blog-card h5.blog-title.only-mobile {
        color: #0D437F;
        font-family: "Montserrat";
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 30px;
        letter-spacing: 0.72px;
        margin: 0 0 16px 0 !important;
    }

    .blog-list-slider {
        height: auto;
    }

    .blog-list-slider .slide-text {
        top: 0;
        left: 0;
        right: 0;
        margin-right: 0;
    }

    .blog-list-slider .slide-image img {
        width: 100%;
        height: auto;
    }
    .blog-list-slider .swiper-slide {
        flex-direction: column;
        text-align: center;
    }

    .blog-list-slider .slide-text {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        padding: 15px;
        box-shadow: none;
    }

    .blog-list-slider .slide-image img {
        width: 100%;
        height: auto;
    }
    .slider-extra-text {
        position: static;
        margin-bottom: 15px;
        text-align: center;
    }

    section.discount-form div.form-inline {
        display: block !important;
    }

    section.contact-form div.contact-section > div.col-md-6:nth-child(2) {
        margin-top: 25px;
    }

    section.services .feature-box {
        margin-bottom: 20px;
    }

    section.services div.col-lg-3 {
        width: 50%;
    }

    .partners-container {
        display: none;
    }

    section.blog-vitrin {
        padding: 30px 15px 15px 15px !important
    }

    div.blog_help_content section.blog-vitrin {
        padding: 0 15px !important;
        margin-bottom: 62px !important;
    }


    section.blog-vitrin h5 {
        font-weight: bold;
        font-size: 35px;
        color: #0D437F !important;
        letter-spacing: .7px;
        margin: 0 !important;
    }

    section.blog-vitrin h4 {
        color: #F3B84C;
        font-size: 35px;
        font-weight: 600;
        letter-spacing: .7px;
        text-transform:uppercase;
        margin: 0 0 10px 0 !important;
    }

    section.blog-vitrin p {
        color: #0D437F;
        margin: 0 0 10px 0 !important;
        font-size: 18px;
    }

    section.blog-vitrin .btn-warning {
        display: block;
        border-radius: 12px;
        margin: 0 !important;
        font-size: 20px;
    }

    section.blog-vitrin.blog_style h5 {
        color: #0D437F !important;
        font-family: "Montserrat" !important;
        font-size: 24px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 30px !important;
        letter-spacing: 0.72px !important;
    }

    section.blog-vitrin.blog_style h4 {
        color: #F3B84C !important;
        font-family: "Montserrat" !important;
        font-size: 28px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 28px !important;
        text-transform: uppercase !important;
        margin-top: 15px !important;
    }

    section.blog-vitrin.blog_style p {
        color: #0D437F !important;
        font-family: "Open Sans" !important;
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 20px !important; /* 125% */
    }

    section.blog-vitrin picture img {
        width: auto;
        height: 300px;
    }

    section.blog-list > div.container1200px {
        margin-bottom: 0 !important;
    }

    section.discount-form {
        margin-top: 0 !important;
    }

    ol.page-navigation li a {
        color: #40C1C5;
        text-transform: uppercase;
        font-size: 10px;
    }

    ol.page-navigation li.active {
        font-size: 11px;
        color: #40C1C5;
        text-transform: uppercase;
    }

    section.navigator p.date {
        color: #40C1C5;
        font-size: 13px;
        margin-top: 10px;
    }

    section.blog-detail {
        width: 100%;
        margin-top: 35px !important;
        margin-left: 0;
        margin-bottom: 0 !important;
    }

    section.blog-detail h1.blog-title {
        color: #0D437F !important;
        font-family: "Montserrat";
        font-size: 24px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 30px !important;
        letter-spacing: 0.72px !important;
    }

    section.discount-form h2 {
        color: #FFF !important;
        font-family: "Montserrat" !important;
        font-size: 24px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 30px !important;
        letter-spacing: 0.72px !important;
    }

    section.discount-form h5 {
        color: #FFF !important;
        font-family: "Open Sans" !important;
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 20px !important;
        margin-bottom: 15px !important;
    }

    section.blog-detail div.blog-content img {
        border-radius: 8px !important;
    }

    section.discount-form input[type='button'] {
        width: 100%;
        font-weight: 700 !important;
    }

    section.blog-vitrin .btn-warning {
        width: 100%;
    }

    section.share-bar {
        background-color: #40C1C5;
        margin-top: 0 !important;
    }

    section.share-bar.only-desktop {
        display: none !important;
    }

    section.share-bar h4 {
        color: #fff;
        margin: 0;
        text-transform: uppercase;
        display: inline-block;
        vertical-align: middle;
    }

    section.share-bar ul {
        display: inline-block;
        float: right;
        margin: 0;
        vertical-align: middle;
    }

    section.share-bar ul li {
        display: inline-block;
    }

    section.share-bar ul li + li {
        margin-left: 25px;
    }

    div.popular-blogs {
        padding-bottom: 50px;
        overflow: hidden;
    }

    div.popular-blogs .popular-blogs-button-prev, div.popular-blogs .popular-blogs-button-next {
        display: inline-block;
        width: auto;
        height: auto;
        right: auto;
        padding: 0px 40px;
        font-weight: bold;
        font-size: 25px;
        border-radius: 10px;
        bottom: 0px;
        top: inherit;
        position: absolute;
    }

    div.popular-blogs .popular-blogs-button-prev {
        border: 2px solid #40C1C5;
        color: #40C1C5;
    }

    div.popular-blogs .popular-blogs-button-next {
        background-color: #40C1C5;
        color: #fff;
        right: 30px;
    }

    div.popular-blogs .popular-blogs-pagination {
        position: absolute;
        left:0;
        right: 0;
        margin: 0 auto;
        text-align: center;
        width: fit-content;
    }

    div.blog-content, div.blog-content div.col-12, div.blog-content div.page-content {
        padding: 0;
    }

    section.blog-detail {
        padding: 0 15px;
    }

    section.blog-detail div.blog-content img {
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    header.header-sticky {
        top: 30px;
    }

}
