/**
 * WPBrandy Starter Sites Styles
 */

/* Container and Layout */
.wpbrandy-starter-site-single {
    max-width: 100%;
    margin: 0 auto;
}

.wpbrandy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wpbrandy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

/* Main Row 1 - Featured Image and Info */
.wpbrandy-main-row-1 {
    padding: 40px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.wpbrandy-col-image {
    flex: 1;
    min-width: 300px;
}

.wpbrandy-col-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Featured Image */
.wpbrandy-featured-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wpbrandy-starter-site-image {
    width: 100%;
    height: auto;
    display: block;
}

.wpbrandy-no-image .wpbrandy-placeholder-image {
    width: 100%;
    height: 300px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ced4da;
}

.wpbrandy-placeholder-text {
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

/* Info Rows */
.wpbrandy-info-row {
    margin-bottom: 15px;
}

.wpbrandy-info-row:last-child {
    margin-bottom: 0;
}

/* Title */
.wpbrandy-starter-site-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
    line-height: 1.2;
}

/* Breadcrumbs */
.wpbrandy-breadcrumbs {
    font-size: 14px;
    color: #5a6d80;
}

.wpbrandy-breadcrumbs a {
    color:#5a6d80;
    text-decoration: none;
    transition: color 0.2s ease;
    color: #5a6d80;
}

.wpbrandy-breadcrumbs a:hover {
    color:#272829;
    text-decoration: none;
}

.wpbrandy-separator {
    margin: 0 10px;
    color: #5a6d80;
    display: inline-block;
}

.wpbrandy-breadcrumbs-current {
    color: #272829;
    /* font-weight: 500; */
}

/* Section Titles */
.wpbrandy-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Short Description */
.wpbrandy-short-description {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    /* border-left: 4px solid #007cba; */
}

.wpbrandy-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

/* Additional Info */
.wpbrandy-additional-info {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    /* border: 1px solid #e9ecef; */
}

.wpbrandy-info-item {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.wpbrandy-info-item:last-child {
    margin-bottom: 0;
}

.wpbrandy-info-label {
    font-weight: 600;
    color: #495057;
    min-width: 140px;
    margin-right: 15px;
    font-size: 14px;
}

.wpbrandy-info-value {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
}
.wpbrandy-info-value a {
    color: var(--wpbrandy-starter-sites-link-text-color);
}

/* Categories (legacy support) */
.wpbrandy-categories {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
}

.wpbrandy-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wpbrandy-category-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #007cba;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wpbrandy-category-link:hover {
    background-color: #005a87;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Main Row 2 - Content */
.wpbrandy-main-row-2 {
    padding: 60px 0;
}

.wpbrandy-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.wpbrandy-starter-site-content {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
}

.wpbrandy-starter-site-content h1,
.wpbrandy-starter-site-content h2,
.wpbrandy-starter-site-content h3,
.wpbrandy-starter-site-content h4,
.wpbrandy-starter-site-content h5,
.wpbrandy-starter-site-content h6 {
    color: #212529;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 1em;
}

.wpbrandy-starter-site-content p {
    margin-bottom: 1.5em;
}

.wpbrandy-starter-site-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Page Links */
.page-links {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background-color: #007cba;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.page-links a:hover {
    background-color: #005a87;
}

/* Post Navigation */
.wpbrandy-post-navigation {
    padding: 40px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.wpbrandy-nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.wpbrandy-nav-previous,
.wpbrandy-nav-next {
    flex: 1;
    max-width: 45%;
}

.wpbrandy-nav-next {
    text-align: right;
}

.wpbrandy-nav-links a {
    display: block;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wpbrandy-nav-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.wpbrandy-nav-subtitle {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpbrandy-nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpbrandy-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .wpbrandy-col-image,
    .wpbrandy-col-info {
        min-width: 100%;
    }
    
    .wpbrandy-starter-site-title {
        font-size: 2rem;
    }
    
    .wpbrandy-main-row-1,
    .wpbrandy-main-row-2,
    .wpbrandy-post-navigation {
        padding: 30px 0;
    }
    
    .wpbrandy-nav-links {
        flex-direction: column;
    }
    
    .wpbrandy-nav-previous,
    .wpbrandy-nav-next {
        max-width: 100%;
        text-align: left;
    }
    
    .wpbrandy-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .wpbrandy-starter-site-title {
        font-size: 1.8rem;
    }
    
    .wpbrandy-category-list {
        justify-content: center;
    }
    
    .wpbrandy-short-description,
    .wpbrandy-categories {
        padding: 15px;
    }
}

.wpbrandy-view-live-demo-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0564fa;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.wpbrandy-view-live-demo-btn:hover {
    background-color: #1f75ff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

