/**
* Theme Name: Flasaphic Child
* Description: This is a child theme of Flasaphic, generated by Merlin WP.
* Author: <a href="http://themelexus.com/">Themelexus</a>
* Template: flasaphic
* Version: 1.0.10
*/

/* XYZ Blog Page Styling */

#page .site-content {
    margin-top: 10px;
    margin-bottom: 30px;
}
.xyz-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.xyz-blog-title {
    text-align: center;
    font-size: 50px;
    margin-bottom: 40px;
    color: #333;
}

/* Blog Grid */
.xyz-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Blog Post Card */
.xyz-blog-post {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.xyz-blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Post Thumbnail */
.xyz-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Post Content */
.xyz-post-content {
    padding: 20px;
}

.xyz-post-title {
    font-size: 1.5em;
    margin: 0 0 10px;
}

.xyz-post-title a {
    text-decoration: none;
    color: #222;
}

.xyz-post-title a:hover {
    color: #BDA064;
}

/* Post Meta */
.xyz-post-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.xyz-post-meta .xyz-post-date,
.xyz-post-meta .xyz-post-author {
    margin-right: 10px;
}

/* Post Excerpt */
.xyz-post-excerpt {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.xyz-read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #BDA064;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}
.xyz-read-more:hover {
    color: #fff;
}

.xyz-pagination {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
}

.xyz-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.xyz-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    margin: 0 4px;
    background: #f4f4f4;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    height: 44px;
}

.xyz-pagination .page-numbers:hover {
    background: #BDA064;
    color: #fff;
    border-color: #BDA064;
}

.xyz-pagination .page-numbers.current {
    background: #BDA064;
    color: #fff;
    border-color: #BDA064;
    cursor: default;
}

.xyz-pagination .page-numbers.prev,
.xyz-pagination .page-numbers.next {
    font-weight: bold;
}

.xyz-pagination .page-numbers.dots {
    background: transparent;
    border: none;
    color: #999;
    padding: 10px;
    cursor: default;
}

.xyz-pagination .page-icon {
    font-size: 1.2em;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.xyz-pagination .prev-icon {
    margin-right: 4px;
}

.xyz-pagination .next-icon {
    margin-left: 4px;
}

.xyz-pagination .page-numbers.prev,
.xyz-pagination .page-numbers.next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    
    background: #f4f4f4;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 44px;
    height: 44px;
}

.xyz-pagination .page-numbers.prev:hover,
.xyz-pagination .page-numbers.next:hover {
    background: #BDA064;
    color: #fff;
    border-color: #BDA064;
}
span.page-icon.next-icon {
    padding-right: 15px;
}
span.page-icon.prev-icon {
    padding-left: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .xyz-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .xyz-blog-grid {
        grid-template-columns: 1fr;
    }

    .xyz-pagination .nav-links {
        gap: 8px;
    }

    .xyz-pagination .page-numbers {
        padding: 10px 14px;
        font-size: 1em;
        min-width: 38px;
        height: 38px;
    }
}


/* Container */
.xyz-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Flex wrapper for layout */
.xyz-single-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Main Content */
.xyz-single-content {
    flex: 1 1 65%;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.xyz-single-title {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: #222;
}

.xyz-single-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
}

.xyz-single-thumbnail img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 25px;
}

.xyz-single-body {
    line-height: 1.8;
    color: #444;
}

/* Sidebar */
.xyz-single-sidebar {
    flex: 1 1 30%;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.xyz-sidebar-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
}

.xyz-latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xyz-latest-item {
    margin-bottom: 15px;
}

.xyz-latest-item a {
    text-decoration: none;
    color: #bda064;
}

/* Related Posts */
.xyz-related-posts-section {
    margin-top: 60px;
}

.xyz-related-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
    color: #222;
}

.xyz-related-posts {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.xyz-related-post {
    flex: 1 1 45%;
    background: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.xyz-related-thumb img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.xyz-related-content {
    flex: 1;
}

.xyz-related-title-link {
    font-size: 1.1em;
    font-weight: bold;
    color: #222;
    text-decoration: none;
}

.xyz-related-title-link:hover {
    color: #BDA064;
}

.xyz-related-date {
    font-size: 0.9em;
    color: #777;
    display: block;
}

.xyz-sidebar-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
}

/* Latest Post List */
.xyz-latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Each Latest Post */
.xyz-latest-item {
    background: #fff;
    padding: 15px 18px;
    border-left: 4px solid #bda064;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: background 0.3s ease;
}

.xyz-latest-item:hover {
    background: #f2f8fb;
}

/* Latest Post Link */
.xyz-latest-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Post Title */
.xyz-latest-title {
    font-size: 1em;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

/* Post Date */
.xyz-latest-date {
    font-size: 0.85em;
    color: #000;
}


/* Responsive */
@media (max-width: 992px) {
    .xyz-single-wrapper {
        flex-direction: column;
    }

    .xyz-single-content, .xyz-single-sidebar {
        flex: 1 1 100%;
    }

    .xyz-related-posts {
        flex-direction: column;
        align-items: stretch;
    }

    .xyz-related-post {
        flex: 1 1 100%;
    }
}


.wpcf7-form .form-3 .wpcf7-button-3 button {
    background-color: #BDA064;
}
.wpcf7-form .form-2 .wpcf7-button-2 button {
    background-color: #BDA064;
}


/* Container */
.xyz-service-container {
    max-width: 100%;
    padding: 30px 30px;
}

.xyz-service-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.xyz-service-content h2,
.xyz-service-content h3 {
    margin-top: 30px;
    color: #0073aa;
}

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

/* Responsive */
@media (max-width: 768px) {
    .xyz-service-post {
        padding: 25px;
    }

    .xyz-service-content {
        font-size: 1em;
    }
}

.xyz-service-content ul li:before {
    font-family: "flasaphic-icon";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: middle;
    content: "";
    padding: 5px;
    border-radius: 50%;
    background-color: #bda064;
    color: #ffffff;
    font-size: 10px;
    margin-right: 5px;
}

    .e-con-inner {
        padding: 10px !important;
    }

    /* WhatsApp Icon Styling */
    .whatsapp-float {
      position: fixed;
      bottom: 80px;
      right: 20px;
      z-index: 1000;
      display: flex;
      align-items: center;
      background-color: #25D366;
      border-radius: 30px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .whatsapp-float:hover {
      transform: scale(1.1);
      background-color: #20b354;
    }

    .whatsapp-float a {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: #fff;
      font-size: 16px;
      padding: 10px;
    }

    .whatsapp-float img {
      width: 30px;
      height: 30px;
      margin-right: 10px;
    }
