/*
Theme Name: Hesap Sat
Theme URI: https://ozatweb.com/hesap-sat
Author: Ozatweb
Author URI: https://ozatweb.com
Description: Hesap satış işlemleri için özel tasarlanmış, Elementor uyumlu profesyonel WordPress teması
Version: 1.2
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hesap-sat
Tags: elementor, account-selling, marketplace, custom-colors, custom-menu, custom-logo, featured-images, translation-ready
*/

/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.site-header {
    padding: 1rem 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-branding {
    text-align: center;
    margin-bottom: 1rem;
}


.site-title {
    font-size: 2rem;
    margin: 0;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.site-description {
    color: #666;
    margin: 0.5rem 0 0;
}

/* Navigation */
.main-navigation {
    background: #f8f9fa;
    padding: 0.5rem 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem;
}

.nav-menu a:hover {
    color: var(--primary-color, #007bff);
}

/* Footer Styles */
.site-footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-widgets-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-widgets-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget-area {
    padding: 1rem;
}

.footer-widget-area .widget-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.footer-widget-area .widget {
    margin-bottom: 1.5rem;
}

.footer-widget-area ul {
    list-style: none;
    padding: 0;
}

.footer-widget-area ul li {
    margin-bottom: 0.5rem;
}

.footer-widget-area a {
    color: #fff;
    text-decoration: none;
}

.footer-widget-area a:hover {
    color: var(--primary-color, #007bff);
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-menu {
    margin-bottom: 1rem;
}

.footer-nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.footer-nav-menu li {
    margin: 0 1rem;
}

.footer-nav-menu a {
    color: #fff;
    text-decoration: none;
}

.footer-nav-menu a:hover {
    color: var(--primary-color, #007bff);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .footer-widgets-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .footer-nav-menu li {
        margin: 0.5rem 0;
    }
}

/* Elementor Uyumluluk */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

/* Widget Stilleri */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Form Stilleri */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0.5rem;
    width: 100%;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: var(--primary-color, #007bff);
    opacity: 0.8;
}

/* Theme specific styles will go here */

/* Elementor Compatibility */
.elementor-page .site-content {
    padding: 0;
    margin: 0;
}

.elementor-page .entry-content {
    margin: 0;
}

.elementor-page .entry-header,
.elementor-page .entry-footer {
    display: none;
}

.elementor-page #content > .ast-container,
.elementor-page #content > .container {
    max-width: none;
    padding: 0;
    margin: 0;
}

/* Blog ve Archive Başlık Alanı */
.blog .hesap-sat-page-title,
.archive .hesap-sat-page-title {
    background: var(--primary-color, #007bff);
    padding: 40px 0;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
}

.blog .hesap-sat-page-title .container,
.archive .hesap-sat-page-title .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog .hesap-sat-page-title .single-title,
.archive .hesap-sat-page-title .single-title {
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 12px;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.3em * 3); /* Fallback for non-WebKit browsers */
}

.blog .hesap-sat-page-title .blog-description,
.archive .hesap-sat-page-title .blog-description {
    max-width: 700px;
    margin: 0 auto 12px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.blog .hesap-sat-page-title .single-meta,
.archive .hesap-sat-page-title .single-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.blog .hesap-sat-page-title .blog-category,
.archive .hesap-sat-page-title .blog-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s ease;
}

.blog .hesap-sat-page-title .blog-category:hover,
.archive .hesap-sat-page-title .blog-category:hover {
    background: rgba(255, 255, 255, 0.3);
}

.blog .hesap-sat-page-title .blog-category i,
.blog .hesap-sat-page-title .single-meta i,
.archive .hesap-sat-page-title .blog-category i,
.archive .hesap-sat-page-title .single-meta i {
    color: #fff;
}


.blog .hesap-sat-breadcrumb .breadcrumb-steps,
.archive .hesap-sat-breadcrumb .breadcrumb-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog .hesap-sat-breadcrumb .step,
.archive .hesap-sat-breadcrumb .step {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.blog .hesap-sat-breadcrumb .step:not(:last-child):after,
.archive .hesap-sat-breadcrumb .step:not(:last-child):after {
    content: "/";
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.blog .hesap-sat-breadcrumb .step a,
.archive .hesap-sat-breadcrumb .step a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog .hesap-sat-breadcrumb .step a:hover,
.archive .hesap-sat-breadcrumb .step a:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}

.blog .hesap-sat-breadcrumb .step.active,
.archive .hesap-sat-breadcrumb .step.active {
    color: #fff;
    font-weight: 500;
}

/* Responsive Blog Title */
@media (max-width: 768px) {
    .blog .hesap-sat-page-title,
    .archive .hesap-sat-page-title {
        padding: 15px 0;
    }
    
    .blog .hesap-sat-page-title .container,
    .archive .hesap-sat-page-title .container {
        padding: 0 15px;
        width: 100%;
    }
    
    .blog .hesap-sat-page-title .single-title,
    .archive .hesap-sat-page-title .single-title {
        font-size: 20px;
        line-height: 1.3;
        margin: 0 0 12px;
    }
    
    .blog .hesap-sat-page-title .blog-description,
    .archive .hesap-sat-page-title .blog-description {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .blog .hesap-sat-breadcrumb,
    .archive .hesap-sat-breadcrumb {
        margin-top: 15px;
    }
    
    .blog .hesap-sat-breadcrumb .step,
    .archive .hesap-sat-breadcrumb .step {
        font-size: 12px;
    }
    
    .blog .hesap-sat-page-title .single-meta,
    .archive .hesap-sat-page-title .single-meta {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
        margin: 0;
        overflow-x: auto;
        padding-bottom: 5px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .blog .hesap-sat-page-title .single-meta::-webkit-scrollbar,
    .archive .hesap-sat-page-title .single-meta::-webkit-scrollbar {
        display: none;
    }
    
    .blog .hesap-sat-page-title .blog-category,
    .blog .hesap-sat-page-title .blog-date,
    .blog .hesap-sat-page-title .blog-reading-time,
    .archive .hesap-sat-page-title .blog-category,
    .archive .hesap-sat-page-title .blog-date,
    .archive .hesap-sat-page-title .blog-reading-time {
        font-size: 11px;
        white-space: nowrap;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        padding: 0;
        margin: 0;
    }
    
    .blog .hesap-sat-page-title .blog-category,
    .archive .hesap-sat-page-title .blog-category {
        padding: 3px 8px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .blog .hesap-sat-page-title .single-meta i,
    .archive .hesap-sat-page-title .single-meta i {
        font-size: 11px;
        margin-right: 4px;
    }
}

/* Blog Card Meta */
.blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.blog-card-meta .blog-category,
.blog-card-meta .blog-date,
.blog-card-meta .blog-reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-meta .blog-category {
    background: var(--primary-color, #007bff);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.blog-card-meta .blog-category i {
    color: #fff;
}

.blog-card-meta .blog-category:hover {
    background: var(--primary-color, #007bff);
    opacity: 0.8;
}

.blog-card-meta i {
    color: var(--primary-color, #007bff);
    font-size: 12px;
}

@media (max-width: 768px) {
    .blog-card-meta {
        gap: 10px;
        font-size: 12px;
    }
    
    .blog-card-meta .blog-category {
        padding: 2px 8px;
    }
}

/* Blog Arşiv Stilleri */
.hesap-sat-blog-wrapper {
    padding: 40px 20px;
}

.hesap-sat-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.hesap-sat-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.hesap-sat-blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hesap-sat-blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image {
    position: relative;
    padding-top: 60%;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-title {
    font-size: 20px;
    margin: 0 0 15px;
    line-height: 1.4;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color, #007bff);
}

.blog-card-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.8em; /* 3 satır için line-height * 3 */
    word-wrap: break-word;
}

.blog-card-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.read-more {
    color: var(--primary-color, #007bff);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.read-more:hover {
    color: var(--primary-color, #007bff);
    opacity: 0.8;
}

.read-more i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Sayfalama */
.hesap-sat-pagination {
    grid-column: 1 / -1;
    margin-top: 40px;
    text-align: center;
}

.hesap-sat-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.hesap-sat-pagination .page-numbers li {
    margin: 0;
}

.hesap-sat-pagination .page-numbers a,
.hesap-sat-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hesap-sat-pagination .page-numbers a:hover {
    background: var(--primary-color, #007bff);
    color: #fff;
    opacity: 0.9;
}

.hesap-sat-pagination .page-numbers .current {
    background: var(--primary-color, #007bff);
    color: #fff;
}

/* Responsive Blog Layout */
@media (max-width: 992px) {
    .hesap-sat-blog-container {
        grid-template-columns: 1fr;
    }
    
    .hesap-sat-blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hesap-sat-blog-wrapper {
        padding: 20px 15px;
    }
    
    .hesap-sat-blog-grid {
        gap: 20px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card-title {
        font-size: 18px;
    }
}

/* Single Post Styles */
.hesap-sat-single-wrapper {
    width: 100%;
    background: #f8f9fa;
}

.hesap-sat-single-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* Page Title Area */
.single-post .hesap-sat-page-title {
    background: var(--primary-color);
    padding: 40px 0;
    text-align: center;
    color: #fff;
}

.single-post .hesap-sat-page-title .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-post .hesap-sat-page-title .single-title {
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 12px;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.3em * 3); /* Fallback for non-WebKit browsers */
}

.single-post .hesap-sat-page-title .single-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.single-post .hesap-sat-page-title .blog-category,
.single-post .hesap-sat-page-title .blog-date,
.single-post .hesap-sat-page-title .blog-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}

.single-post .hesap-sat-page-title .blog-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s ease;
}

.single-post .hesap-sat-page-title .blog-category:hover {
    background: rgba(255, 255, 255, 0.3);
}

.single-post .hesap-sat-page-title .blog-category i,
.single-post .hesap-sat-page-title .single-meta i {
    color: #fff;
}

/* Post Breadcrumb */
.single-post .post-breadcrumb {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    margin-bottom: 30px;
    border-radius: 5px;
}

.single-post .post-breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-post .post-breadcrumb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.single-post .post-breadcrumb li {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
}

.single-post .post-breadcrumb li:first-child i {
    color: #666;
    margin-right: 5px;
    font-size: 12px;
}

.single-post .post-breadcrumb li:not(:last-child):after {
    content: ">";
    margin: 0 8px;
    color: #999;
    font-size: 11px;
}

.single-post .post-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-post .post-breadcrumb a:hover {
    color: var(--primary-color);
}

/* Featured Image Section */
.single-featured-section {
    position: relative;
}

.single-featured-image {
    width: 100%;
    margin: 20px 0 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Table of Contents */
.table-of-contents {
    background: #fff;
    border-radius: 12px;
    margin: 0 0 30px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.toc-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.toc-toggle i:first-child {
    margin-right: 10px;
    color: var(--primary-color);
}

.toc-toggle i:last-child {
    margin-left: auto;
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.toc-toggle.active i:last-child {
    transform: rotate(180deg);
}

.toc-content {
    display: none;
    padding: 15px 20px;
}

.toc-content.active {
    display: block;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list li {
    margin: 10px 0;
    line-height: 1.4;
}

.toc-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.toc-list a:hover {
    color: var(--primary-color);
}

.toc-list a:before {
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 12px;
    color: var(--primary-color);
}

.toc-h2 { 
    padding-left: 0; 
}

.toc-h2 a:before {
    content: "\f0c8"; /* kare ikon */
}

.toc-h3 { 
    padding-left: 25px; 
}

.toc-h3 a:before {
    content: "\f105"; /* sağ ok */
}

.toc-h4 { 
    padding-left: 35px;
}

.toc-h4 a:before {
    content: "\f105"; /* sağ ok */
    color: #666;
}

@media (max-width: 768px) {
    .single-post .hesap-sat-page-title {
        padding: 30px 0;
    }

    .single-post .hesap-sat-page-title .single-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .single-post .hesap-sat-page-title .single-meta {
        flex-wrap: wrap;
        gap: 15px;
    }

    .single-post .post-breadcrumb {
        position: relative;
        background: #f8f9fa;
    }
}

/* Remove old header styles */
.single-header {
    display: none;
}

/* Single Header Styles */
.single-title {
    font-size: 48px;
    color: #333;
    margin: 0 0 30px;
    line-height: 1.2;
    font-weight: 700;
}

.single-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    color: #666;
    font-size: 15px;
}

.single-meta .blog-category,
.single-meta .blog-date,
.single-meta .blog-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-meta i {
    color: var(--primary-color);
    font-size: 16px;
}

.single-meta .blog-category {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.single-meta .blog-category:hover {
    opacity: 0.9;
}

.single-meta .blog-category i {
    color: #fff;
}

@media (max-width: 768px) {
    .single-title {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .single-meta {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Article */
.hesap-sat-single-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

/* Sidebar */
.hesap-sat-single-sidebar {
    position: sticky;
    top: 20px;
}

.hesap-sat-single-sidebar .widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.hesap-sat-single-sidebar .widget:last-child {
    margin-bottom: 0;
}

.hesap-sat-single-sidebar .widget-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Mobil düzenlemeler */
@media (max-width: 992px) {
    .hesap-sat-single-container {
        grid-template-columns: 1fr;
    }

    .hesap-sat-single-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hesap-sat-single-wrapper {
        padding: 20px 0;
    }

    .hesap-sat-single-container {
        padding: 0 15px;
    }

    .single-post .hesap-sat-breadcrumb {
        padding: 10px 0;
        margin-bottom: 20px;
    }

    .single-post .hesap-sat-breadcrumb .container {
        padding: 0 15px;
    }

    .single-post .hesap-sat-breadcrumb li {
        font-size: 13px;
    }

    .hesap-sat-single-article {
        padding: 25px;
    }

    .hesap-sat-single-sidebar .widget {
        padding: 20px;
        margin-bottom: 20px;
    }
}

.single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.single-content p {
    margin-bottom: 1.5em;
}

.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    color: #333;
    margin: 1.5em 0 1em;
}

.single-content h2 { font-size: 28px; }
.single-content h3 { font-size: 24px; }
.single-content h4 { font-size: 20px; }

.single-tags {
    margin-bottom: 30px;
}

.single-tags h4,
.single-share h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.tag-list a {
    display: inline-block;
    padding: 6px 15px;
    background: #f8f9fa;
    color: #666;
    border-radius: 20px;
    margin: 0 8px 8px 0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-list a:hover {
    background: var(--primary-color);
    color: #fff;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-buttons a:hover {
    transform: translateY(-3px);
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-linkedin { background: #0077b5; }
.share-whatsapp { background: #25d366; }

.single-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-previous a,
.nav-next a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
}

.nav-next a {
    text-align: right;
}

.nav-subtitle {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-next .nav-subtitle {
    justify-content: flex-end;
}

.nav-title {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
    color: var(--primary-color);
}

/* Single Post Content Area */
.hesap-sat-single-content {
    width: 100%;
}

/* Image Actions */
.post-actions {
    padding: 15px;
    margin-top: 0;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-likes {
    display: flex;
    align-items: center;
}

.like-count-btn {
    width: auto;
    height: 35px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 0 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.like-count-btn:hover {
    color: var(--primary-color);
    background: #edf2f7;
}

.like-count-btn i {
    font-size: 15px;
}

.like-count-btn.liked {
    color: #e74c3c;
    background: #fdf2f2;
}

.like-count-btn.liked i {
    animation: likeAnimation 0.3s ease;
}

.like-count {
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.action-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn:hover {
    color: var(--primary-color);
    background: #edf2f7;
}

.action-btn i {
    font-size: 15px;
}

.action-btn.liked {
    color: #e74c3c;
    background: #fdf2f2;
}

/* Zoom styles */
.single-featured-image {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin-bottom: 0;
}

.single-featured-image img {
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    height: auto;
}

.single-featured-image img.zoomed {
    font-size: 120%;
}

.action-btn.zoom-active {
    color: var(--primary-color);
    background: #edf2f7;
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.share-modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #f8f9fa;
    color: #333;
}

.modal-body {
    padding: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.share-buttons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-buttons a:hover {
    transform: translateY(-3px);
}

.copy-link {
    text-align: center;
}

.copy-link p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.copy-input {
    display: flex;
    gap: 10px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}

.copy-input input {
    flex: 1;
    border: none;
    background: none;
    padding: 0;
    color: #333;
    font-size: 14px;
}

.copy-input input:focus {
    outline: none;
}

.copy-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #fff;
    color: var(--primary-color);
}

.copy-btn.copied {
    color: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .action-buttons {
        gap: 8px;
    }
    
    .action-btn {
        width: 32px;
        height: 32px;
    }
}

/* Mobil Düzenlemeler */
@media screen and (max-width: 768px) {
    body.single-post {
        overflow-x: hidden;
        width: 100%;
    }

    .single-post .hesap-sat-page-title {
        padding: 15px 0;
    }

    .single-post .hesap-sat-page-title .container {
        padding: 0 15px;
        width: 100%;
    }

    .single-post .hesap-sat-page-title .single-title {
        font-size: 20px;
        line-height: 1.3;
        margin: 0 0 12px;
        display: -webkit-box;
        display: -moz-box;
        display: box;
        -webkit-line-clamp: 3;
        -moz-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(1.3em * 3); /* Fallback for non-WebKit browsers */
    }

    .single-post .hesap-sat-page-title .single-meta {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
        margin: 0;
        overflow-x: auto;
        padding-bottom: 5px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .single-post .hesap-sat-page-title .single-meta::-webkit-scrollbar {
        display: none;
    }

    .single-post .hesap-sat-page-title .blog-category,
    .single-post .hesap-sat-page-title .blog-date,
    .single-post .hesap-sat-page-title .blog-reading-time {
        font-size: 11px;
        white-space: nowrap;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .single-post .hesap-sat-page-title .blog-category {
        padding: 3px 8px;
        background: rgba(255, 255, 255, 0.1);
    }

    .single-post .hesap-sat-page-title .single-meta i {
        font-size: 11px;
        margin-right: 4px;
    }

    /* Breadcrumb düzenlemesi */
    .single-post .post-breadcrumb {
        padding: 8px 15px;
        width: 100%;
        overflow: hidden;
    }

    .single-post .post-breadcrumb .container {
        padding: 0;
        width: 100%;
    }

    .single-post .post-breadcrumb ul {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
    }

    .single-post .post-breadcrumb ul li {
        font-size: 11px;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }

    .single-post .post-breadcrumb ul li:not(:last-child) {
        margin-right: 8px;
    }

    .single-post .post-breadcrumb ul li:not(:last-child):after {
        content: ">";
        margin-left: 8px;
        color: #999;
        font-size: 10px;
    }

    .single-post .post-breadcrumb ul li:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 130px;
        display: inline-block;
    }

    /* Alt paylaşım butonlarını gizle */
    .single-post .single-footer .single-share {
        display: none;
    }
}

/* Varsayılan Sayfalarda Genel Stil */
body.hesap-sat-default-body {
    /* Genişlik değiştirmeden içerik ortalama */
    background-color: #f5f5f5; /* Sayfa arka planı için açık gri */
}

/* Varsayılan şablon için içerik stilleri */
.hesap-sat-default-body .hesap-sat-default-template {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    max-width: 1200px; /* İçerik maksimum genişliği */
    margin: 30px auto; /* Üst ve alttan 30px, sağ ve soldan otomatik margin */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Gölge ekle */
}

.hesap-sat-default-body .hesap-sat-default-page {
    padding: 20px;
}

/* Hariç tutulan sayfalar için geçersiz kılma stilleri */
body.woocommerce,
body.woocommerce-page,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.hesap-sat-woo-page,
body.hesap-sat-woo-template,
body.hesap-sat-home-page,
body.hesap-sat-support-page {
    background-color: #fff !important; /* Arka plan beyaz */
}

/* Hariç tutulan sayfaların içerik alanları için istisna stilleri */
.woocommerce .content-area,
.woocommerce-page .content-area,
.hesap-sat-woo-page .content-area,
.hesap-sat-woo-template .content-area,
.hesap-sat-home-page .content-area,
.hesap-sat-support-page .content-area {
    padding: 0 !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: none !important;
    margin: 0 !important;
} 