/*
Theme Name: FA Medya
Theme URI: https://famedya.com/
Author: Antigravity
Author URI: https://famedya.com/
Description: FA Medya Kurumsal WordPress Teması
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: famedya
*/

/* WordPress admin bar fix */
body.admin-bar .header-sticky {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header-sticky {
        top: 46px !important;
    }
}

.gt-recent-thumb img {
    width: 100px !important;
    height: auto;
}

.ref-filter {
    list-style: none;
    padding: 10px 5px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ref-filter li a {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    color: #444;
    border: 1px solid #eee;
    border-radius: 100px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

.ref-filter li a.active,
.ref-filter li a:hover {
    background: #f26522;
    color: #fff;
    border-color: #f26522;
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .ref-filter {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 30px;
        padding: 0;
    }

    .ref-filter li a {
        padding: 6px 14px;
        font-size: 13px;
    }
}

.choose-list img {
    height: 60%;
}

/* Paragraph and Content Spacing */
.text p,
.content p,
.entry-content p,
.service-details-content p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.text h1,
.text h2,
.text h3,
.text h4,
.text h5,
.text h6,
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 700;
}

.text h1:first-child,
.text h2:first-child,
.text h3:first-child,
.content h1:first-child,
.content h2:first-child,
.content h3:first-child,
.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child {
    margin-top: 0;
}

.text p:last-child,
.content p:last-child,
.entry-content p:last-child {
    margin-bottom: 0;
}

.text ul,
.text ol,
.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.text li,
.entry-content li {
    margin-bottom: 12px;
}