/* ===================================
   GLOBAL CONTAINER
   =================================== */

/* Main container for entire website */
body {
    margin: 0;
    padding: 0;
	font-family: Arial, sans-serif !important;
	background: #02074B;
	color: #fff;
	padding: 20px 10px;
}

.site-container, .main-container,
.domain-header .container,
.page-footer .container {
    max-width: 620px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
	color: #fff;
}

/* ===================================
   HEADER STYLES
   =================================== */

/* Domain Header */
.domain-header {
    width: 100%;
	margin-bottom: 20px;
}

.domain-header .container {
    position: relative;
    text-align: center;
}

.domain-header a {
    display: inline-block;
    text-decoration: none;
}

.domain-header img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Search Toggle Button */
.search-toggle {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    padding: 5px;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: #13c2c2;
}

.search-toggle:focus {
    outline: none;
}

/* Search Form Wrapper */
#search-form-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    right: 15px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.5rem;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 280px;
    max-width: calc(100% - 30px);
}

/* ===================================
   GOOGLE CUSTOM SEARCH ENGINE STYLES
   =================================== */

div#gsc-iw-id1 {
    padding-top: 0px;
    padding-bottom: 4px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

td.gsc-input {
    padding: 0px !important;
}

button.gsc-search-button.gsc-search-button-v2 {
    width: auto;
    padding: 11px 10px;
    margin: 0;
    border-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

table.gsc-search-box {
    margin-bottom: 0px !important;
}

form.gsc-search-box.gsc-search-box-tools {
    margin-bottom: 0px;
}

td.gsib_b {
    margin-top: 5px;
    display: inline-block;
}

/* ===================================
   FOOTER STYLES
   =================================== */

.page-footer {
    color: #fff;
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
    position: relative;
    width: 100%;
}

.page-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 12px;
    padding: 5px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* ===================================
   FOOTER SEARCH FORM - COMPLETE FLEXBOX
   =================================== */

/* Base styles for footer search */
.footer-search-form {
    margin: 30px 0 25px 0;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
	max-width: 620px;
	margin: 0 auto;
}

/* GCSE Container - Convert to Flex */
.footer-search-form .gsc-control-searchbox-only {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
}

/* Override table to use flexbox */
.footer-search-form .gsc-search-box {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    align-items: center;
    gap: 10px;
}

.footer-search-form .gsc-search-box tbody {
    display: flex !important;
    width: 100% !important;
}

.footer-search-form .gsc-search-box tr {
    display: flex !important;
    width: 100% !important;
    align-items: center;
    gap: 10px;
}

/* Input container - flexible width */
.footer-search-form td.gsc-input {
    display: flex !important;
    flex: 1 1 auto !important;
    width: auto !important;
    padding: 0 !important;
    min-width: 0 !important; /* Allow shrinking */
}

/* Input box styling */
.footer-search-form .gsc-input-box {
    width: 100% !important;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    padding: 0 20px;
    height: 44px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Input field itself */
.footer-search-form input.gsc-input {
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-size: 14px !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.footer-search-form input.gsc-input::placeholder {
    color: rgba(255,255,255,0.5);
}

/* Clear button (X) container */
.footer-search-form .gsib_b {
    display: flex !important;
    align-items: center;
    padding: 0 5px;
}

/* Search button container - fixed width */
.footer-search-form td.gsc-search-button {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 0 !important;
}

/* Search button styling */
.footer-search-form .gsc-search-button-v2 {
    padding: 12px 24px !important;
    background: #13c2c2 !important;
    border: none !important;
    border-radius: 25px !important;
    color: #0a0e27 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    font-size: 14px !important;
}

.footer-search-form .gsc-search-button-v2:hover {
    background: #17e0e0 !important;
    transform: translateY(-2px);
}

.footer-search-form .gsc-search-button-v2 svg {
    fill: #0a0e27 !important;
    width: 16px;
    height: 16px;
}

/* Hide clear results button */
.footer-search-form td.gsc-clear-button {
    display: none !important;
}

/* ===================================
   TABLET RESPONSIVE (768px)
   =================================== */
@media (max-width: 768px) {
    .footer-search-form .gsc-control-searchbox-only {
        padding: 18px;
    }
    
    .footer-search-form .gsc-input-box {
        height: 42px;
        padding: 0 18px;
    }
    
    .footer-search-form .gsc-search-button-v2 {
        height: 42px !important;
        padding: 10px 20px !important;
    }
}

/* ===================================
   MOBILE RESPONSIVE (640px)
   =================================== */
@media (max-width: 640px) {
    .footer-search-form {
        padding: 0 10px;
        margin: 25px 0 20px 0;
    }
    
    .footer-search-form .gsc-control-searchbox-only {
        padding: 15px;
        border-radius: 6px;
    }
    
    .footer-search-form .gsc-search-box {
        gap: 8px;
    }
    
    .footer-search-form .gsc-input-box {
        height: 40px;
        padding: 0 15px;
        border-radius: 20px;
    }
    
    .footer-search-form input.gsc-input {
        font-size: 13px !important;
    }
    
    .footer-search-form .gsc-search-button-v2 {
        height: 40px !important;
        padding: 10px 18px !important;
        font-size: 13px !important;
        border-radius: 20px !important;
    }
}

/* ===================================
   SMALL MOBILE (480px)
   =================================== */
@media (max-width: 480px) {
    .footer-search-form {
        padding: 0 8px;
    }
    
    .footer-search-form .gsc-control-searchbox-only {
        padding: 12px;
    }
    
    .footer-search-form .gsc-search-box {
        gap: 6px;
    }
    
    .footer-search-form .gsc-input-box {
        height: 38px;
        padding: 0 12px;
    }
    
    .footer-search-form .gsc-search-button-v2 {
        height: 38px !important;
        padding: 8px 15px !important;
        font-size: 12px !important;
    }
    
    .footer-search-form .gsc-search-button-v2 svg {
        width: 14px;
        height: 14px;
    }
}

/* ===================================
   VERY SMALL MOBILE (360px)
   =================================== */
@media (max-width: 360px) {
    .footer-search-form {
        padding: 0 5px;
    }
    
    .footer-search-form .gsc-control-searchbox-only {
        padding: 10px;
    }
    
    .footer-search-form .gsc-search-box {
        gap: 5px;
    }
    
    .footer-search-form .gsc-input-box {
        height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }
    
    .footer-search-form input.gsc-input {
        font-size: 12px !important;
    }
    
    .footer-search-form .gsc-search-button-v2 {
        height: 36px !important;
        padding: 6px 12px !important;
        font-size: 11px !important;
    }
}

/* ===================================
   UTILITY FIXES
   =================================== */

/* Ensure no horizontal scroll */
.footer-search-form * {
    box-sizing: border-box !important;
}

/* Focus states */
.footer-search-form .gsc-input-box:focus-within {
    border-color: rgba(255,255,255,0.4) !important;
    background: rgba(255,255,255,0.08);
}

/* Remove any default GCSE shadows */
.footer-search-form .gsc-input-box,
.footer-search-form .gsc-input-box:hover,
.footer-search-form .gsc-search-button-v2 {
    box-shadow: none !important;
}

/* Ensure flex items don't overflow */
.footer-search-form .gsc-input,
.footer-search-form .gsc-input-box,
.footer-search-form .gsc-search-button {
    overflow: hidden !important;
}

/* ===================================
   MAIN CONTENT AREA
   =================================== */

main,
.main-content,
.content-area,
.site-content {
    max-width: 620px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

.content-section {
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 25px;
}

.content-section h1,
.content-section h2,
.main-container .page-title {
	color: #fff;
	font-size: 18px;
	margin-bottom: 15px;
	font-weight: 600;
}

.content-section h3 {
	color: #fff;
	font-size: 16px;
	margin: 20px 0 12px;
	font-weight: 600;
}

.content-section p,
.main-container p {
	color: #fff;
	margin-bottom: 12px;
	text-align: justify;
}

.content-section ul,
.content-section ol {
	margin: 15px 0 15px 25px;
}

.content-section li {
	margin-bottom: 8px;
}

.content-section strong {
	color: #ffffff;
	font-weight: 600;
}

.content-section a {
	color: #fff;
	text-decoration: underline;
}

.content-section a:hover {
	color: #13c2c2;
}

/* ===================================
   RESPONSIVE STYLES - MOBILE
   =================================== */

@media (max-width: 640px) {
    /* Container adjustments */
    .site-container,
    .domain-header .container,
    .page-footer .container {
        padding: 0 15px;
    }
    
    /* Header Mobile */
    .domain-header {
        padding: 12px 0;
    }
    
    .domain-header img {
        max-width: 100px;
    }
    
    .search-toggle {
        font-size: 1.1rem;
		top: 45%;
    }
    
    #search-form-wrapper {
        width: calc(100% - 30px);
        right: 15px;
        left: 15px;
    }
    
    /* Footer Mobile */
    .page-footer {
        padding: 25px 0 15px;
        margin-top: 30px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .footer-links a {
        margin: 0 8px;
        font-size: 11px;
    }
    
    .footer-copyright {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    /* Header adjustments */
    .domain-header img {
        max-width: 100px;
    }
    
    .search-toggle {
        font-size: 1rem;
        top: 45%;
        right: 10px;
        transform: translateY(-55%);
    }
    
    /* Footer adjustments */
    .footer-links {
        gap: 8px;
    }
    
    .footer-links a {
        margin: 0;
        padding: 6px;
        font-size: 12px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#search-form-wrapper {
    animation: slideDown 0.3s ease-out;
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .search-toggle,
    #search-form-wrapper {
        display: none !important;
    }
    
    .page-footer {
        background: none;
        color: #000;
        border-top: 1px solid #ccc;
    }
    
    .footer-links a,
    .footer-copyright {
        color: #000;
    }
}

/* ===================================
   ABOUT US - FIXED
   =================================== */

.about-us-related {
    margin-top: 10px;
}

/* Grid layout without Bootstrap */
.about-us-related .about-us.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.about-us-related .about-us-post {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
    margin-bottom: 20px;
    position: relative;
}

/* Post image container */
.about-us-post-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
    max-height: 170px;
}

.about-us-post-img img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Title styling */
.about-us-item-title {
    position: static; /* Changed from relative */
}

.about-us-item-title h5 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Invisible overlay - fixed to cover entire post */
.about-us-item-title .invisible-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
}

/* Remove the conflicting before pseudo-element */
.about-us-post::before {
    display: none;
}

/* Hover effects */
.about-us-post {
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-us-post:hover {
    transform: translateY(-2px);
}

.about-us-post:hover .about-us-post-img img {
    transform: scale(1.05);
}

/* Underline text on hover */
.about-us-post:hover .about-us-item-title h5 {
    color: #4a9eff;
    text-decoration: underline;
}

/* Mobile responsive - single column */
@media (max-width: 640px) {
    .about-us-related .about-us-post {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 25px;
    }
    
    .about-us-item-title h5 {
        font-size: 16px;
    }
    
    .about-us-post-img {
        margin-bottom: 12px;
    }
    
    .about-us-post-img img {
        height: 200px;
    }
}

/* Smaller mobile */
@media (max-width: 480px) {
    .about-us-related .about-us.row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .about-us-related .about-us-post {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .about-us-post-img img {
        height: 180px;
    }
}

.about-us-post img.img-fluid {
    max-width: 100%;
    height: 170px;
    object-fit: cover;
}


/* ===================================
   CONTACT US
   =================================== */

.contact-form-row .form-item .wpcf7-form-control {
    padding: 10px;
}

.contact-form-row .form-item.form-file .wpcf7-form-control {
    width: 100%;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit {
    float: right;
}

/* ===================================
   CATEGORY PAGE STYLES - DARK THEME
   =================================== */

/* Category Header */
.category-header {
    margin-bottom: 10px;
    padding-bottom: 15px;
}

.category-header .page-title {
    font-size: 28px;
    color: #fff;
    margin: 0;
    font-weight: 600;
}

/* Category Posts Container */
.category-posts {
    width: 100%;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Post Card */
.post-card {
    position: relative;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    background: #333;
}

/* Post Card Image */
.post-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #1a1a1a;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-img img {
    transform: scale(1.05);
}

/* Post Card Content */
.post-card-content {
    padding: 15px;
}

.post-card-title {
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 10px 0;
    color: #fff;
    font-weight: 600;
}

.post-card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Post Card Link Overlay */
.post-card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    text-decoration: none;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.no-posts p {
    font-size: 16px;
    color: #fff;
}

/* Pagination */
.pagination-wrapper {
    margin: 40px 0;
    text-align: center;
}

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

.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    background: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover {
    background: #13c2c2;
    color: #fff;
    border-color: #13c2c2;
}

.pagination-wrapper .page-numbers.current {
    background: #fff;
    color: #1a1a1a;
    border-color: #fff;
}

.pagination-wrapper .dots {
    padding: 8px 4px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

.pagination-wrapper .prev,
.pagination-wrapper .next {
    background: #333;
    border-color: #444;
    font-weight: 500;
}

.pagination-wrapper .prev:hover,
.pagination-wrapper .next:hover {
    background: #13c2c2;
    border-color: #13c2c2;
}

/* Recent Posts Section */
.recent-posts-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #333;
}

.recent-posts-section .section-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

.recent-posts-section a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: block;
}

.recent-posts-section a:hover {
    color: #4a9eff;
}

.recent-posts.overlay-link {
    text-decoration: underline;
    margin-bottom: 10px;
}

/* Mobile Responsive - Tablet */
@media (max-width: 768px) {
    .posts-grid {
        gap: 15px;
    }
    
    .post-card-title {
        font-size: 15px;
    }
}

/* Mobile Responsive - Phone */
@media (max-width: 640px) {
    .category-header .page-title {
        font-size: 24px;
    }
    
    /* Single column on mobile */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .post-card-img {
        height: 200px;
    }
    
    .post-card-title {
        font-size: 18px;
    }
    
    .post-card-excerpt {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .pagination-wrapper .page-numbers {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .recent-posts-section {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .recent-posts-section .section-title {
        font-size: 18px;
    }
    
    .recent-posts-section a {
        font-size: 14px;
    }
}

/* Smaller Mobile */
@media (max-width: 480px) {
    .category-header .page-title {
        font-size: 22px;
    }
    
    .posts-grid {
        gap: 12px;
    }
    
    .post-card-content {
        padding: 12px;
    }
    
    .post-card-title {
        font-size: 16px;
    }
    
    .post-card-excerpt {
        font-size: 13px;
    }
    
    .pagination-wrapper .nav-links {
        gap: 5px;
    }
    
    .pagination-wrapper .page-numbers {
        padding: 5px 8px;
        font-size: 12px;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .category-header .page-title {
        font-size: 20px;
    }
    
    .post-card-img {
        height: 160px;
    }
    
    .post-card-title {
        font-size: 15px;
    }
}

/* ===================================
   SINGLE POST STYLES - DARK THEME (ADJUSTED)
   =================================== */

/* Single Post Article */
.single-post {
/*     margin-bottom: 20px; */
}

/* Post Header */
.post-header {
    padding-bottom: 20px;
}

.post-title {
    font-size: 32px;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.post-meta strong {
    color: #fff;
}

.post-date {
    color: rgba(255, 255, 255, 0.6);
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content {
    margin-bottom: 40px;
    color: #fff;
}

/* Handle empty p tags */
.post-content p:empty {
    display: none;
}

.post-content p {
    line-height: 1.6;
    color: #fff;
    font-size: 14px;
}

.post-content h2 {
    font-size: 26px;
    color: #fff;
    margin: 35px 0 20px 0;
    font-weight: 600;
}

.post-content h3 {
    font-size: 22px;
    color: #fff;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.post-content h4 {
    font-size: 18px;
    color: #fff;
    margin: 25px 0 12px 0;
    font-weight: 600;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
}

.post-content a {
    color: #4a9eff;
    text-decoration: none;
}

.post-content a:hover {
    color: #13c2c2;
    text-decoration: underline;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

.post-content blockquote {
    border-left: 3px solid #4a9eff;
    padding-left: 20px;
    margin: 25px 0;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.post-content code {
    background: #2a2a2a;
    color: #4a9eff;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 14px;
}

.post-content pre {
    background: #2a2a2a;
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content pre code {
    background: none;
    color: #fff;
    padding: 0;
}

/* Post Footer */
.post-footer {
    padding-top: 20px;
	padding-bottom: 30px;
    border-top: 1px solid #333;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.categories-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Fix category display - keep on same line */
.post-categories ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    flex-wrap: wrap;
}

.post-categories li {
    display: inline-flex;
    margin: 0;
}

.post-categories a {
    display: inline-block;
    padding: 5px 12px;
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.post-categories a:hover {
    background: #13c2c2;
    color: #fff;
}

/* CTA Section - Remove when empty */
.cta-section:empty {
    display: none;
}

.cta-section {
    margin: 30px 0;
}

.sidebar-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.sidebar-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    /* Removed border-bottom */
}

/* Sidebar Categories - No borders */
.sidebar-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-section li {
    padding: 4px 0;
}

.sidebar-section a, .sidebar-section span {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    display: inline;
}

/* Category count styling */
.sidebar-section .cat-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-section .cat-item span {
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .post-title {
        font-size: 26px;
    }
    
    .post-meta {
        font-size: 13px;
        gap: 15px;
    }
    
    .post-content p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .post-content h2 {
        font-size: 22px;
        margin: 30px 0 15px 0;
    }
    
    .post-content h3 {
        font-size: 19px;
        margin: 25px 0 12px 0;
    }
    
    .post-content ul,
    .post-content ol {
        padding-left: 20px;
    }
    
    .sidebar-title {
        font-size: 18px;
    }
    
    .sidebar-section a {
        font-size: 14px;
    }
}

/* Smaller Mobile */
@media (max-width: 480px) {
    .post-title {
        font-size: 24px;
    }
    
    .post-content p {
        font-size: 14px;
    }
    
    .post-content h2 {
        font-size: 20px;
    }
    
    .post-content h3 {
        font-size: 18px;
    }
    
    .post-categories a {
        font-size: 12px;
        padding: 4px 10px;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .post-title {
        font-size: 22px;
    }
    
    .sidebar-title {
        font-size: 16px;
    }
}