/*
Theme Name: FPE Simple
Author: FPE Team
Description: A minimalist theme based on freephotoeditors.com design.
Version: 1.01
*/
 
:root {  --section-gap: 100px;}
		background: #ffffff;
        /* --- Base Styles --- */
        * { box-sizing: border-box; margin: 0; padding: 0; }
        a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
        ul { list-style: none; }
        h1, h2, h3, h4, h5 { line-height: 1.2; color: var(--color-text-main); font-weight: 800; letter-spacing: -0.02em; }
        p { margin-bottom: 1.5em; }

        .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }


code, kbd, samp {
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: #d73a49; 
    background-color: #f6f8fa;
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

pre {
    background: var(--code-bg);
    color: #e6e6e6;
    padding: 20px;
    border-radius: var(--radius-md);
    overflow-x: auto; 
    margin-bottom: 1.5rem;
    border: 1px solid #333; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); 
}

pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
}

        /* --- FAQ Section --- */
        .faq-section { background: white; padding: var(--section-gap) 0; border-top: 1px solid var(--color-border); }
        .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
        .faq-item h4 { font-size: 1.1rem; margin-bottom: 10px; }
        .faq-item p { font-size: 0.95rem; color: var(--color-text-muted); }

        /* --- Footer --- */
        .site-footer { background: #0f172a; color: #f8fafc; padding: 80px 0 40px; margin-top: auto; }
        .site-footer h4, .site-footer p { color: #f8fafc; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
        .footer-brand p { color: #cdcdcd; font-size: 0.9rem; margin-top: 15px; max-width: 300px; }
        .footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: white; }
        .footer-col ul li { margin-bottom: 12px; }
        .footer-col ul li a { color: #cdcdcd; font-size: 0.95rem; transition: color 0.2s; }
        .footer-col ul li a:hover { color: white; }
        
        .footer-bottom { 
            border-top: 1px solid #1e293b; padding-top: 30px; 
            display: flex; justify-content: space-between; 
            color: #cdcdcd; font-size: 0.85rem; 
        }

        /* --- Mobile Responsive (Max 768px) --- */
        @media (max-width: 1024px) {
            .hero h1 { font-size: 3rem; }
            .tools-grid { grid-template-columns: repeat(3, 1fr); }
            .reviews-grid { grid-template-columns: 1fr; }
            .feature-row { grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
            .feature-row.reverse { direction: ltr; }
            .feature-visual { height: 250px; }
        }
        
        @media (max-width: 768px) {
            .hero { padding: 50px 0 30px; }
            .hero h1 { font-size: 2.2rem; }
            .hero-stats { flex-direction: column; gap: 10px; }
            
            /* --- Mobile Tools Grid Override --- */
            .tools-grid { 
                grid-template-columns: repeat(2, 1fr); 
                gap: 20px 10px; /* Reduced Horizontal Gap */
            }
            .faq-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .footer-brand { grid-column: span 2; }
            .footer-bottom { flex-direction: column; gap: 15px; }
        }
		

 


/* =========================================
  Entry Content (Typography & Elements)
   ========================================= */
   
.entry-content ul {
    margin: 1.5rem 0;
    padding-left: 0; 
    list-style: none; 
}

.entry-content ul li {
    position: relative;
    margin-bottom: 0.8rem; 
    line-height: 1.6;
    color: var(--text-main, #2c3e50);
}

.entry-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em; 
    width: 6px;
    height: 6px;
    background-color: #007bff; 
    border-radius: 50%;

    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15); 
}


.entry-content ul li:hover {
    color: #000;
}


.wp-block-table {
    margin: 2em 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    font-size: 0.95rem;
}

.wp-block-table th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.wp-block-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #2c3e50;
    vertical-align: middle;
    word-wrap: break-word;
}

.wp-block-table tr:last-child td {
    border-bottom: none;
}

.wp-block-table tr:hover {
    background-color: rgba(0, 123, 255, 0.03);
    transition: background-color 0.2s ease;
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Unordered List Styles */
.entry-content ul {
    list-style: none;
}

.entry-content ul li {
    position: relative;
}

.entry-content ul li::before {
    content: "";
    position: absolute;
    left: -1em;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Ordered List Styles */
.entry-content ol li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

/* Images */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 1.5rem 0;
    display: block;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Blockquotes */
.entry-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: #555;
}

/* Code Blocks */
.entry-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    font-family: Consolas, Monaco, "Andale Mono", monospace;
    font-size: 0.9rem;
}

.entry-content code {
    background: rgba(0, 123, 255, 0.1);
    color: #c7254e;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.entry-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}



.post {
    max-width: 800px;
    padding: 70px;margin:0 auto;
}

.entry-header {
    margin-bottom: 30px;
    text-align: center;

}

.entry-title {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.entry-meta {
    font-size: 13px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.entry-meta a {
    color: #4d90fe;
    text-decoration: none;
}

.meta-sep {
    margin: 0 8px;
    color: #ddd;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 20px;
    padding-left: 18px;
}

.entry-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {


    .post {
        padding: 0;
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .entry-title {
        font-size: 24px;
    }

    .entry-content h2 {
        font-size: 20px;
    }

    .entry-content h3 {
        font-size: 18px;
    }

    .entry-meta {
        font-size: 12px;
    }
}


/*archieve----------------------------------------------------------*/

main {
    max-width: 1200px;
    margin: 0 auto;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
	margin-top:100px;
}

.custom-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}


.custom-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    

    padding: 0 !important; 
}

.custom-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}


.card-image {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0; 
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block; 
    margin: 0;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: #eee;
    display: block;
}


.card-content {
    padding: 24px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.25rem;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-weight: 700;
}

.card-title a {
    text-decoration: none;
    color: #333;
}

.card-title a:hover {
    color: #0073aa;
}

.card-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-read-more {
    font-size: 0.95rem;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.card-read-more:hover {
    text-decoration: underline;
}


@media (max-width: 992px) {
    .custom-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	.post{padding-top:30px;}
}

@media (max-width: 600px) {
    .custom-post-grid {
        grid-template-columns: 1fr;
    }
    .card-image a {
        height: auto;
        aspect-ratio: 16/9;
    }
	.archive-header {
	margin-top:40px;}

}