/*
 Theme Name: Hello Elementor Child
 Theme URI: https://latenthq.com
 Author: Alpha
 Author URI: https://latenthq.com
 Description: Custom built for Online Publication Website
 Version: 1.0
 Template: hello-elementor
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: hello-elementor-child
*/
 @font-face {
  font-family: "Syne", Sans-serif;
  src: url('/wp-content/uploads/2025/07/Syne-Bold-4.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
 @font-face {
  font-family: "Syne", Sans-serif;
  src: url('/wp-content/uploads/2025/07/Syne-SemiBold-2.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
 @font-face {
  font-family: "Syne", Sans-serif;
  src: url('/wp-content/uploads/2025/07/Syne-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Bold Marketing - Archive & Category Styling matching screenshot */

.bold-category-archive-wrapper {
    background-color: #ffffff;
    padding: 0 0 80px 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Force parent theme containers to go full width on category pages */
body.category #primary,
body.category #main,
body.category .site-main,
body.category .bold-category-archive-wrapper,
body.category .container,
body.category .ast-container,
body.category .site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Category Header Banner */
body.category .bold-category-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: #ffffff;
}

body.category .bold-category-title {
    font-size: 80px !important;
    font-weight: 700 !important;
    margin: 0 0 16px 0 !important;
    color: #7049ba !important;
    font-family: 'Outfit', sans-serif !important;
}

body.category .bold-category-content-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 80px !important;
    box-sizing: border-box !important;
}

/* Section Separators & Spacing */
.bold-section-wrapper {
    margin-bottom: 30px;
}

/* 4-Column Responsive Grid */
.bold-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .bold-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .bold-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bold-category-grid {
        grid-template-columns: 1fr;
    }
    
    body.category .bold-category-title {
        font-size: 36px !important;
    }
    
    body.category .bold-category-content-container {
        padding: 0 20px !important;
    }
}

/* Individual Blog Card matching blog page */
.bold-blog-card-responsive {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.bold-blog-card-responsive:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Featured image container - responsive with dynamic aspect ratio */
.bold-blog-card-image-container-responsive {
    position: relative;
    width: 100%;
    aspect-ratio: var(--aspect-ratio, 16 / 9);
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.bold-blog-card-image-container-responsive img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background-color: #ffffff;
}

/* Card content */
.bold-blog-card-content-responsive {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex-grow: 1;
    gap: 12px;
}

/* Category badge */
.bold-blog-card-category {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #0066cc;
    letter-spacing: 0.5px;
    align-self: flex-start;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bold-blog-card-category:hover {
    color: #0052a3;
    text-decoration: none;
}

/* Card title */
.bold-blog-card-responsive h3.bold-blog-card-title-responsive {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #1a1a1a !important;
}

.bold-blog-card-responsive h3.bold-blog-card-title-responsive a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    transition: color 0.3s ease;
}

.bold-blog-card-responsive h3.bold-blog-card-title-responsive a:hover {
    color: #0066cc !important;
}

/* Excerpt text */
.bold-blog-card-excerpt-responsive {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #666666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Meta information (date + author) */
.bold-blog-card-meta-responsive {
    display: flex;
    gap: 16px;
    font-size: 16px;
    color: #999999;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.bold-blog-card-date,
.bold-blog-card-author {
    display: flex;
    align-items: center;
}

/* Read More link */
.bold-blog-card-read-more {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
    align-self: flex-start;
    margin-top: 8px;
}

.bold-blog-card-read-more:hover {
    color: #0052a3;
}

/* Minimalist Load More Button matching blog page */
.bold-load-more-wrapper {
    text-align: center;
    margin: 50px 0 20px 0;
}

.bold-load-more-btn {
    display: block;
    margin: 40px auto 0;
    padding: 12px 32px;
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}

.bold-load-more-btn:hover {
    background-color: #0052a3;
    color: #ffffff;
}

.bold-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bold-load-more-btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Empty message */
.bold-no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #666666;
}

/* Responsive breakpoints */

/* Desktop Font Sizes (1025px and above) */
@media (min-width: 1025px) {
    .bold-blog-card-category {
        font-size: 12px;
    }
    
    .bold-blog-card-responsive h3.bold-blog-card-title-responsive a {
        font-size: 15px !important;
    }
    
    .bold-blog-card-excerpt-responsive {
        font-size: 14px;
    }
    
    .bold-blog-card-meta-responsive {
        font-size: 12px;
    }
    
    .bold-blog-card-read-more {
        font-size: 14px;
    }
}

/* Tablet (768px to 1024px) */
@media (max-width: 1024px) {
    .bold-blog-card-content-responsive {
        padding: 20px;
        gap: 12px;
    }
}

/* Small Tablet (768px and below) */
@media (max-width: 768px) {
    .bold-blog-card-content-responsive {
        padding: 16px;
        gap: 10px;
    }
}


/* Mobile (480px and below) */
@media (max-width: 480px) {
    .bold-blog-card-content-responsive {
        padding: 14px;
        gap: 8px;
    }

    .bold-blog-card-meta-responsive {
        flex-direction: column;
        gap: 4px;
    }

    .bold-load-more-btn {
        width: 100%;
    }
}

/* Category Description below title */
.bold-category-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555555;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Outfit', sans-serif;
}

/* Related Categories Section */
.bold-related-categories-section {
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 1px solid #eaeaea !important;
    width: 100% !important;
    clear: both !important;
}

.bold-related-categories-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #7049ba !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    font-family: 'Outfit', sans-serif !important;
}

.bold-related-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 20px !important;
    width: 100% !important;
}

.bold-related-category-card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    padding: 24px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.bold-related-category-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
    border-color: #7049ba !important;
}

.bold-related-category-name {
    margin: 0 0 12px 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    font-family: 'Outfit', sans-serif !important;
}

.bold-related-category-name a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.bold-related-category-name a:hover {
    color: #7049ba !important;
}

.bold-related-category-description {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #666666 !important;
    margin: 0 0 20px 0 !important;
    flex-grow: 1 !important;
    font-family: 'Outfit', sans-serif !important;
}

.bold-related-category-link {
    display: inline-block !important;
    color: #7049ba !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
    align-self: flex-start !important;
    margin-top: auto !important;
}

.bold-related-category-link:hover {
    color: #573499 !important;
}

/* Responsive styles for related categories */
@media (max-width: 1200px) {
    .bold-related-categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .bold-related-categories-grid {
        grid-template-columns: 1fr !important;
    }
    
    .bold-related-categories-title {
        font-size: 24px !important;
        margin-bottom: 24px !important;
    }
    
    .bold-related-category-card {
        padding: 20px !important;
    }
}
