/*
Theme Name: disibusiness.com
Theme URI: http://disibusiness.com
Author: Auto Generated
Description: Diverse and stylish WordPress theme for disibusiness.com with no sidebar layout.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: disibusiness.com
Tags: blog, modern, responsive, stylish, generated
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;700&display=swap');

:root {
    --primary-color: #2563EB;
    --secondary-color: #7CA1F3;
    --background-color: #EFF6FF;
    --header-font: 'Montserrat', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

body {
    margin: 0;
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: #333;
    line-height: 1.6;
}

/* Header styling */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}
header .site-title {
    margin: 0;
    font-family: var(--header-font);
    font-size: 2.5rem;
}
header .site-description {
    margin-top: 10px;
    font-size: 1.2rem;
    opacity: 0.85;
}
/* Navigation menu */
.primary-menu ul {
    list-style: none;
    padding: 0;
    margin: 35px 0 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.primary-menu li {
    margin: 0 15px;
    position: relative;
}
.primary-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}
.primary-menu a:hover {
    opacity: 0.8;
}

/* Sub-menu styles */
.primary-menu ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    margin: 0;
    padding: 8px 0;
    flex-direction: column;
    align-items: stretch;
}

.primary-menu ul ul li {
    margin: 0;
    display: block;
}

.primary-menu ul ul a {
    color: var(--primary-color);
    padding: 12px 20px;
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.primary-menu ul ul a:hover {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    opacity: 1;
    transform: translateX(5px);
}

.primary-menu ul ul li:last-child a {
    border-bottom: none;
}

/* Show sub-menu on hover */
.primary-menu li:hover > ul {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

/* Sub-sub-menu (third level) */
.primary-menu ul ul ul {
    top: 0;
    left: 100%;
    margin-left: 2px;
}

/* Animation for sub-menu */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile sub-menu styles */
@media (max-width: 768px) {
    .primary-menu ul ul {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: none;
        box-shadow: none;
        border-radius: 0;
        margin: 10px 0 0 20px;
        padding: 0;
        min-width: auto;
        display: none;
    }
    
    .primary-menu ul ul a {
        color: #fff;
        padding: 8px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 0.9rem;
    }
    
    .primary-menu ul ul a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: none;
    }
    
    .primary-menu ul ul ul {
        margin-left: 20px;
    }
    
    /* Show sub-menu on mobile */
    .primary-menu li:hover > ul,
    .primary-menu li:focus-within > ul {
        display: block;
    }
}

/* Container & layout */
.content-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: block;
    grid-template-columns: none;
    gap: 0;
}

/* Post cards */
.post-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}
.post-card h2.entry-title {
    margin: 0 0 15px 0;
    font-family: var(--header-font);
    font-size: 1.75rem;
}
.post-card h2.entry-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}
.post-card h2.entry-title a:hover {
    text-decoration: underline;
}
.post-card .entry-content {
    font-size: 1rem;
    line-height: 1.7;
}

/* Sidebar styles */
#secondary {
    font-size: 0.9rem;
}
#secondary .widget {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}
#secondary .widget h2 {
    margin-top: 0;
    font-family: var(--header-font);
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}
.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-menu li {
    margin: 0 12px;
}
.footer-menu a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}
.footer-menu a:hover {
    opacity: 0.8;
}

/* Related Posts Styles */
.disibusiness-related-posts {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.disibusiness-related-posts h3 {
    color: var(--primary-color);
    font-family: var(--header-font);
    font-size: 1.5rem;
    margin: 0 0 25px 0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.disibusiness-related-posts h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.disibusiness-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.disibusiness-related-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.05);
}

.disibusiness-related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.disibusiness-related-item h4 {
    margin: 0;
    font-family: var(--header-font);
    font-size: 1.1rem;
    line-height: 1.4;
}

.disibusiness-related-item h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.disibusiness-related-item h4 a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive adjustments for related posts */
@media (max-width: 768px) {
    .disibusiness-related-posts {
        padding: 20px;
        margin: 30px 0;
    }
    
    .disibusiness-related-posts h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .disibusiness-related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .disibusiness-related-item {
        padding: 15px;
    }
    
    .disibusiness-related-item h4 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    header .site-title { font-size: 2rem; }
    .primary-menu ul { flex-direction: column; align-items: center; }
    .primary-menu li { margin: 10px 0; }
    .post-card { padding: 20px; }
    .content-wrapper { grid-template-columns: 1fr; }
}

/* Logo style variation 3 */
.site-title a {
    color: var(--secondary-color);
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.15);
    text-decoration: none;
}

/* Contrast logo style C */
.site-title a {
    color: #ffffff;
    padding: 0 4px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}
