/*
Theme Name: Business Theme 2025
Description: A custom business theme with a top bar, dropdown menu, slider, page thumbnails, news, and content rows, with distinct page and post layouts.
Author: Internet Office T
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: businesstheme
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Top Bar */
.top-bar {
    background: #f8f8f8;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.top-bar .site-info {
    font-size: 14px;
}

.top-bar .social-links a {
    margin-left: 10px;
    text-decoration: none;
    color: #333;
    font-size: 20px;
}

.top-bar .social-links img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* Navigation Menu */
.main-nav {
    background: #0059b3;
    padding: 10px 20px;
}

.main-nav .menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

.main-nav .menu li {
    position: relative;
    margin: 0 15px;
}

.main-nav .menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    display: block;
}

.main-nav .menu li:hover > a {
    background: #003d80;
}

.main-nav .menu .sub-menu {
    display: none;
    position: absolute;
    background: #0059b3;
    list-style: none;
    min-width: 150px;
    z-index: 1000;
}

.main-nav .menu li:hover > .sub-menu {
    display: block;
}

.main-nav .menu .sub-menu li {
    margin: 0;
}

.main-nav .menu .sub-menu a {
    padding: 10px;
    font-size: 14px;
}

.main-nav .menu .sub-menu a:hover {
    background: #003d80;
}

/* Slider Placeholder */
.slider-placeholder {
    width: 100%;
    max-width: 1600px;
    margin: 20px auto;
    overflow: hidden;
}

/* Page Thumbnails Section (Homepage) */
.page-thumbnails {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-thumbnail {
    flex: 0 0 530px;
    text-align: center;
}

.page-thumbnail img {
    width: 530px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.page-thumbnail h3 {
    font-size: 18px;
    margin: 10px 0;
}

.page-thumbnail h3 a {
    text-decoration: none;
    color: #333;
}

.page-thumbnail h3 a:hover {
    text-decoration: underline;
}

.page-thumbnail .page-excerpt {
    font-size: 14px;
    color: #555;
}

/* Two-Column Section (Homepage) */
.two-columns {
    display: flex;
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
}

.column-left, .column-right {
    flex: 1;
}

.column-right .content-row {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

/* Page Layout */
.page-content {
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.page-content .content {
    font-size: 16px;
}

/* Single Post Layout */
.post-container {
    display: flex;
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 20px;
}

.post-content {
    flex: 0 0 80%;
}

.post-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.post-content .content {
    font-size: 16px;
}

.post-sidebar {
    flex: 0 0 20%;
}

.post-sidebar .widget {
    margin-bottom: 20px;
}

.post-sidebar .widget h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.post-sidebar .widget ul {
    list-style: none;
}

.post-sidebar .widget ul li {
    margin-bottom: 10px;
}

.post-sidebar .widget ul li a {
    text-decoration: none;
    color: #333;
}

.post-sidebar .widget ul li a:hover {
    text-decoration: underline;
}

/* Footer Bar */
.footer-bar {
    background: #0059b3;
    padding: 20px;
    text-align: center;
}

.footer-bar .footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bar .footer-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-bar .footer-links li a:hover {
    text-decoration: underline;
}

/* Theme Options Page */
.theme-options {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.theme-options label {
    display: block;
    margin-bottom: 10px;
}

.theme-options input[type="text"] {
    width: 100%;
    padding: 5px;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .page-thumbnails {
        flex-wrap: wrap;
    }
    .page-thumbnail {
        flex: 0 0 100%;
        max-width: 530px;
    }
    .two-columns {
        flex-direction: column;
    }
    .post-container {
        flex-direction: column;
    }
    .post-content, .post-sidebar {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .main-nav .menu {
        flex-direction: column;
        align-items: center;
    }
    .main-nav .menu li {
        margin: 5px 0;
    }
    .main-nav .menu .sub-menu {
        position: static;
        background: #004080;
    }
}