/*
Theme Name: Ascendia Consulting Child
Theme URI: https://yourwebsite.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A professional consulting theme with modern design, built with Tailwind CSS. Features responsive layout, custom components, and clean code structure.
Version: 1.0.0
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: ascendia-consulting
Tags: consulting, business, education, responsive, tailwind
*/

/* 
 * This file is required by WordPress to identify the theme.
 * All styles are compiled from assets/css/tailwind.dev.css
 * and output to assets/css/main.css
 */

/* =========================================
   Blog & Single Custom Styles
   ========================================= */
 
/* Use box-sizing for cleaner layouts */
*,
*::before,
*::after {
    box-sizing: border-box;
}
 
/* Container Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
 
/* Page Header */
.ascendia-page-header {
    background-color: #001E36;
    /* Navy */
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
 
.ascendia-page-title {
    font-family: 'Poltawski Nowy', 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}
 
/* Blog Grid Section */
.ascendia-blog-section {
    padding: 60px 0;
}
 
.ascendia-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
 
/* Blog Card */
.ascendia-blog-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
 
.ascendia-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
 
/* Featured Image */
.ascendia-blog-card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}
 
.ascendia-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
 
.ascendia-blog-card:hover .ascendia-blog-card-image img {
    transform: scale(1.05);
}
 
/* Card Content */
.ascendia-blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
 
.ascendia-post-date {
    color: #D4AF37;
    /* Gold */
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
 
.ascendia-post-title {
    font-family: 'Poltawski Nowy', serif;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: #001E36;
    margin: 0 0 12px;
}
 
.ascendia-post-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}
 
.ascendia-post-title a:hover {
    color: #D4AF37;
}
 
.ascendia-post-excerpt {
    color: #4b5563;
    /* Gray */
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}
 
.ascendia-post-footer {
    margin-top: auto;
}
 
.ascendia-read-more {
    display: inline-flex;
    align-items: center;
    color: #001E36;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}
 
.ascendia-read-more svg {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.3s;
}
 
.ascendia-read-more:hover {
    color: #D4AF37;
}
 
.ascendia-read-more:hover svg {
    transform: translateX(4px);
}
 
/* Pagination */
.ascendia-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
 
 
.pagination-links,
.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: #001E36;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
 
.page-numbers.current,
.page-numbers:hover {
    background: #D4AF37;
    color: #fff;
    border-color: #D4AF37;
}
 
.page-numbers svg {
    width: 20px;
    height: 20px;
}

.ascendia-no-posts {
    text-align: center;
    padding: 60px 0;
}

.ascendia-no-posts p:first-child {
    font-size: 1.5rem;
    color: #001E36;
    font-family: 'Poltawski Nowy', serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.ascendia-no-posts p:last-child {
    color: #6b7280;
    font-size: 1.125rem;
}



/* =========================================
   Single Post Styles
   ========================================= */
 
.ascendia-single-post-container {
    padding: 60px 15px;
    background-color: #fff;
}
 
.ascendia-single-post-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
 
/* Back Button */
.ascendia-back-button-wrapper {
    margin-bottom: 30px;
}
 
.ascendia-back-link {
    display: inline-flex;
    align-items: center;
    color: #001E36;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
 
.ascendia-back-link svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}
 
.ascendia-back-link:hover {
    color: #D4AF37;
}
 
/* Featured Image (Single) */
.ascendia-single-featured-image {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
 
.ascendia-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
 
/* Header (Single) */
.ascendia-single-header {
    margin-bottom: 40px;
}
 
.ascendia-single-date {
    color: #D4AF37;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 12px;
}
 
.ascendia-single-title {
    font-family: 'Poltawski Nowy', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #001E36;
    font-weight: 700;
    margin: 0;
}
 
/* Content (Single - mimic prose) */
.ascendia-single-content {
    font-family: 'Poppins', sans-serif;
    color: #374151;
    /* Gray-700 */
    font-size: 1.125rem;
    line-height: 1.8;
}
 
.ascendia-single-content p {
    margin-bottom: 1.5em;
}
 
.ascendia-single-content h2 {
    font-family: 'Poltawski Nowy', serif;
    font-size: 2rem;
    color: #001E36;
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-weight: 700;
}
 
.ascendia-single-content h3 {
    font-size: 1.5rem;
    color: #001E36;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 600;
}
 
.ascendia-single-content ul,
.ascendia-single-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}
 
.ascendia-single-content li {
    margin-bottom: 0.5em;
}
 
.ascendia-single-content blockquote {
    border-left: 4px solid #D4AF37;
    padding-left: 1em;
    font-style: italic;
    color: #4b5563;
    margin: 2em 0;
}
 
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .ascendia-page-title {
        font-size: 2.25rem;
    }
 
    .ascendia-blog-grid {
        grid-template-columns: 1fr;
    }
 
    .ascendia-single-title {
        font-size: 2rem;
    }
}
 
.cvp-form-group input{
	width: 100%;
	max-width: 800px;
}
