/* style.css */

.firma-archive-container {
    padding: 20px;
}

.firma-archive-container h1{
    line-height: 42px;
    font-size: 32px;
    margin-bottom:0;
}

.firma-archive-container > p{
    font-size: 16px;
}

.firma-search {
    margin-bottom: 20px;
    position: relative;
}

.firma-search .firma-search-input {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    box-sizing: border-box;
    height: 45px;
    border-radius: 5px;
}

.firma-search .autocomplete-results {
    display:none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    z-index: 99;
    box-shadow: 0px 10px 10px 4px #00000017;
    border-radius: 0 0px 10px 10px;
}

.firma-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.firma-item {
    width: 100%;
    text-align: center;
    border-radius: 5px;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out;
    background-position: center;
    height: 225px;
}

@media (min-width: 768px) {
    .firma-item {
        width: calc(50% - 10px);
    }
}

.firma-item:hover {
    background-size: 105%;
}

.firma-item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    font-size: 15px;
    color: #494949;
    height:100%;
}

.firma-item a img{
    width:130px;
    height:auto;
}
.single-firmalar .firma-item a img{
    width:auto;
}
.firma-item a > div:first-child {
    height: calc(100% - 70px);
    font-weight: 600;
    line-height: 20px;
    width: 100%;
    text-align: left;
    padding: 30px 20px;
    font-size: 30px;
    color: #fff;
    text-shadow: 0px 2px black;
}

.firma-item-footer {
    width: 100%;
    height: 70px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #548063;
    color: #fff;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.firma-item-logo img {
    border-radius: 100%;
    overflow: hidden;
    width: 100px !important;;
    height: 100px !important;
}

.firma-item .firma-item-logo {
    transition: .2s ease-in-out all;
    margin-top: -70px;
}

.firma-item:hover .firma-item-logo {
    margin-top: -100px;
}

.autocomplete-results .firma-item {
    width: 100%;
    text-align: left;
    border-width: 0 0 1px 0;
    border-radius: 0;
    padding: 0;
    height: unset;
}

.autocomplete-results .firma-item a {
    flex-direction: row;
    justify-content: space-between;
    position:relative;
    padding: 25px 15px;
}
.autocomplete-results .firma-item a:hover {
    background: #f4f4f4;
}

.autocomplete-results .firma-item a img {
    width: 55px;
}

.autocomplete-results .firma-item a span.firma-title {
    line-height: 16px;
    width: 100%;
}

.autocomplete-results .firma-item a span.firma-il {
    width: 75px;
    display: flex;
    justify-content: end;
}

.no-results,
.loading-results{
    padding: 10px;
    color: #666;
}

.pagination {
    margin: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.pagination a:hover {
    background: #f1f1f1;
}

.pagination .current {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* style.css */

.firma-info {
    margin-top: 10px;
}

.firma-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.firma-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.firma-info li {
    border-bottom: 1px solid #ddd;
    padding: 0 0 5px 0;
    display: flex;
    align-items: center;
}

.firma-info .firma-thumbnail {
    margin-right: 10px;
}

.firma-info .firma-thumbnail img {
    max-width: 25px;
    height: auto;
}

.firma-info a {
    text-decoration: none;
    color: #333;
}

.firma-info a:hover {
    text-decoration: underline;
}

.whb-main-header .firma-search,
.mobile-nav .firma-search{
    margin: 0;
    min-width: 50%;
}
.whb-main-header .firma-search .firma-search-input {
    border-radius: 50px;
    font-size: 14px;
}
.mobile-nav .firma-search .firma-search-input {
    height: 50px;
    border-width: 1px 0px;
    border-radius: 0;
}
.whb-main-header .firma-search .autocomplete-results {
    margin: 0 20px;
    border-top: 0;
}
.whb-main-header .firma-search span.firma-il,
.mobile-nav .firma-search span.firma-il{
    font-size: 12px;
}

.pdf-kataloglar {
    display: flex;
    gap: 10px;
}

.pdf-kataloglar > div > a {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdf-kataloglar > div > a img {
    width: 200px;
    height: auto;
}

.firma-headline {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    border-radius: 5px !important;
    height: 360px;
    display: flex;
    align-items: end;
    margin-bottom: 20px;
}

.firma-headline-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #000000a1;
    padding: 15px 25px;
    width: 100%;
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.firma-headline-content img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-top: -65px;
}

.firma-headline-content h1 {
    font-size: 19px;
    color: #fff;
    margin-bottom: 10px;
}

.firma-headline-content > div > div {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}
.firma-headline-content > div > div > span:last-child {
    line-height: 19px;
}

.firma-headline-content svg {
    width: 20px !important;
    height: 20px !important;
}

.firma-headline-content .socials {
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 0;
}
.firma-headline-content .socials span {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .firma-headline-content h1 {
        text-align: center;
    }
    .firma-headline-content > div > div {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .firma-headline {
        height: 450px;
    }
    .firma-headline-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }
    .firma-headline-content img {
        width: 150px;
        height: 150px;
        margin-top: -85px;
    }
}