/*
Theme Name: ConferenceX
Theme URI: https://conferencexpress.com/
Author: Sree
Author URI: https://conferencexpress.com/
Description: A custom WordPress theme ConferenceX.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: conferencexpress.com
*/



* {
            transition: background-color 300ms ease, color 300ms ease;
        }
        *:focus {
            background-color: rgba(221, 72, 20, .2);
            outline: none;
        }
        html, body {
            color: rgba(33, 37, 41, 1);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
            font-size: 16px;
            margin: 0;
            padding: 0;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
        }
        header {
            background-color: rgba(247, 248, 249, 1);
            padding: .4rem 0 0;
        }
        .menu {
            padding: .4rem 2rem;
        }
        header ul {
            border-bottom: 1px solid rgba(242, 242, 242, 1);
            list-style-type: none;
            margin: 0;
            overflow: hidden;
            padding: 0;
            text-align: right;
        }
        header li {
            display: inline-block;
        }
        header li a {
            border-radius: 5px;
            color: rgba(0, 0, 0, .5);
            display: block;
            height: 44px;
            text-decoration: none;
        }
        header li.menu-item a {
            border-radius: 5px;
            margin: 5px 0;
            height: 38px;
            line-height: 36px;
            padding: .4rem .65rem;
            text-align: center;
        }
        header li.menu-item a:hover,
        header li.menu-item a:focus {
            background-color: rgba(221, 72, 20, .2);
            color: rgba(221, 72, 20, 1);
        }
        header .logo {
            float: left;
        display: flex;
        align-items: center;
        height: 54px; 
         padding: 0.4rem 0.5rem; 
        }
        
        header .logo img {
    height: 61%; 
    width: auto; 
    max-height: 100%; 
}
        header .menu-toggle {
            display: none;
            float: right;
            font-size: 2rem;
            font-weight: bold;
        }
        header .menu-toggle button {
            background-color: rgb(17, 112, 207);
            border: none;
            border-radius: 3px;
            color: rgba(255, 255, 255, 1);
            cursor: pointer;
            font: inherit;
            font-size: 1.3rem;
            height: 36px;
            padding: 0;
            margin: 11px 0;
            overflow: visible;
            width: 40px;
        }
        header .menu-toggle button:hover,
        header .menu-toggle button:focus {
            background-color: rgb(17, 112, 207);
            color: rgba(255, 255, 255, .8);
        }
        header .heroe {
            margin: 0 auto;
            max-width: 1100px;
            padding: 1rem 1.75rem 1.75rem 1.75rem;
        }
        header .heroe h1 {
            font-size: 2.2rem;
            font-weight: 500;
        }
        header .heroe h2 {
            font-size: 1.4rem;
            font-weight: 300;
        }
        section {
            margin: 0 auto;
            max-width: 1100px;
            padding: 2.5rem 1.75rem 3.5rem 1.75rem;
        }
        section h1 {
            margin-bottom: 2.5rem;
        }
        section h2 {
            font-size: 120%;
            line-height: 2.5rem;
            padding-top: 1.5rem;
        }
        section pre {
            background-color: rgba(247, 248, 249, 1);
            border: 1px solid rgba(242, 242, 242, 1);
            display: block;
            font-size: .9rem;
            margin: 2rem 0;
            padding: 1rem 1.5rem;
            white-space: pre-wrap;
            word-break: break-all;
        }
        section code {
            display: block;
        }
        section a {
            color: rgba(221, 72, 20, 1);
        }
        section svg {
            margin-bottom: -5px;
            margin-right: 5px;
            width: 25px;
        }
        .further {
            background-color: rgba(247, 248, 249, 1);
            border-bottom: 1px solid rgba(242, 242, 242, 1);
            border-top: 1px solid rgba(242, 242, 242, 1);
        }
        .further h2:first-of-type {
            padding-top: 0;
        }
        .svg-stroke {
            fill: none;
            stroke: #000;
            stroke-width: 32px;
        }
        footer {
            background-color: rgb(17, 112, 207);
            text-align: center;
        }
        footer .environment {
            color: rgba(255, 255, 255, 1);
            padding: 2rem 1.75rem;
        }
        footer .copyrights {
            background-color: rgba(62, 62, 62, 1);
            color: rgba(200, 200, 200, 1);
            padding: .25rem 1.75rem;
        }
        @media (max-width: 629px) {
            header ul {
                padding: 0;
            }
            header .menu-toggle {
                padding: 0 1rem;
            }
            header .menu-item {
                background-color: rgba(244, 245, 246, 1);
                border-top: 1px solid rgba(242, 242, 242, 1);
                margin: 0 15px;
                width: calc(100% - 30px);
            }
            header .menu-toggle {
                display: block;
            }
            header .hidden {
                display: none;
            }
            header li.menu-item a {
                background-color: rgba(221, 72, 20, .1);
            }
            header li.menu-item a:hover,
            header li.menu-item a:focus {
                background-color: rgb(17, 112, 207);
                color: rgb(238, 238, 238);
            }
        }
        
        .homepage-body-content .full-content {
    display: none;
    margin-top: 10px;
}

.homepage-body-content .read-more {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.homepage-body-content .read-more:hover {
    background-color: #005a87;
}

.read-more {
  margin-top: 14px;
  background: rgb(17, 112, 207);
  color: #fff;
  padding: 5px 16px;
}

/* Main Section Container */
.main-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* Left Section - Post Feed */
.left-section {
    flex: 0 1 60%; /* Default: Left section takes 60% of the container */
    min-width: 60%; /* Ensures the left section is at least 60% wide */
}

.post-item {
    transition: all 0.3s ease;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Post Header - Avatar and Title */
.post-header {
    display: flex;
    align-items: center;
    margin-top: -20px;
}

.user-profile {
    margin-right: 15px;
 
}

.user-profile img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.post-title {
    margin: 0;
    padding: 0;
}

.post-title h2 {
    font-size: 1rem;
    margin: 1px 0;
    line-height: 1.3
}

.post-title a {
    text-decoration: none;
    color: #333;
}

.post-title a:hover {
    color: #007bff;
}

/* Post Meta */
.left-section .post-meta small {
    font-size: 0.875rem;
    color: #777;
}

/* Featured Image */
.post-thumbnail img {
    width: 100%;
    height: auto;
}

/* Post Content */
.post-content p {
    font-size: 1rem;
    color: #555;
}

.left-section .post-meta {
    margin-bottom: 28px;
}

/* Right Section - Newsletter Signup */
.right-section {
    flex: 0 1 28%; /* Default: Right section takes 28% of the container */
    min-width: 30%; /* Ensures the right section is at least 30% wide */
}

.newsletter-signup {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.newsletter-signup h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 15px;
}

.newsletter-signup .form-group label {
    font-size: 0.875rem;
    margin-bottom: 5px;
}

.newsletter-signup .form-control {
    font-size: 1rem;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.newsletter-signup .btn {
    background-color: #28a745;
    border-color: #28a745;
    font-size: 1rem;
    padding: 5px;
    width: 72%;
    border-radius: 4px;
    margin-top: 12px;
    color: #fdfdf7;
}

.newsletter-signup .btn:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Load More Button */
.load-more-btn {
    margin-top: 30px;
}

.load-more-btn .btn {
  background-color: rgb(17, 112, 207);
  border-color: #28a745;
  color: #fdfdf7;
  padding: 6px 16px;
}


.load-more-btn .btn:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Responsive Design for Tablet and Mobile */
@media (max-width: 1024px) {

    .left-section, .right-section {
        flex: 0 1 100%; /* Both sections take 100% width */
        min-width: 100%; /* Ensures full-width layout */
    }

    .post-header {
        align-items: flex-start;
    }

    .post-title h2 {
        font-size: 1.25rem;
    }

    .newsletter-signup .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-section {
        padding: 10px;
    }

        .user-profile {
            
            margin-top: 27px;
        }

    .post-item {
        padding: 15px;
    }

    .post-title h2 {
        font-size: 1rem;
    }

    .newsletter-signup h3 {
        font-size: 1rem;
    }
}

.form-group {
  margin-top: 12px;
}

.form-text {
  margin-top: 14px;
}

/* Connect Us Section */
.connect-us {
    text-align: center;
  background-color: #f9f9f9;
  margin-top: 21px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
  width: 40px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a.facebook {
    background-color: #3b5998;
}

.social-icons a.twitter {
    background-color: #1da1f2;
}

.social-icons a.linkedin {
    background-color: #0077b5;
}

.social-icons a.telegram {
    background-color: #0088cc;
}

.social-icons a.instagram {
    background-color: #e4405f;
}

.social-icons a.reddit {
    background-color: #ff4500;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* Top Categories Section */
.top-categories {
    background-color: #fff;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list li a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

.categories-list li a:hover {
    color: #0056b3;
}

.secondary-menu ul {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping to the next row */
    gap: 1rem; /* Space between items */
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-between; /* Distribute items evenly */
}

.secondary-menu ul li {
    flex: 0 1 calc(25% - 1rem); /* Each item takes 25% of the width minus gap */
    text-align: center;
}

.secondary-menu ul li a {
    text-decoration: none;
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  color: aliceblue;
  letter-spacing: .5px;
  font-weight: 600;
}

.secondary-menu ul li a:hover {
    background-color: #e5e5e5a8;
  color: #1b1b1b;
  text-decoration: none;
}

.environment p {
  border-bottom: 2px solid aliceblue;
  display: inline-block;
  margin-bottom: 13px;
  padding-bottom: 10px;
}

/* Featured Image Styling */
.featured-image {
    text-align: center; /* Center-align the image */
    margin: 20px 0; /* Add spacing around the image */
}

.featured-image img {
    max-width: 100%; /* Ensure the image scales to fit the container */
    height: auto; /* Maintain the aspect ratio */
    display: block; /* Remove any inline styling that may cause issues */
    margin: 0 auto; /* Center the image horizontally */
    border-radius: 5px; /* Optional: Adds slight rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow for a polished look */
}

/* Top Picks Section Styling */
.top-picks {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.top-picks h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #333;
    border-bottom: 2px solid #0073aa;
    display: inline-block;
    padding-bottom: 5px;
}

.top-picks-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.top-picks-list li {
    margin: 8px 0;
}

.top-picks-list li a {
    text-decoration: none;
    color: #0073aa;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.top-picks-list li a:hover {
    color: #005177;
}

.notfound {
  margin: 0 auto;
  max-width: 1100px;
}

/* Best Read Section */
.best-read {
    margin-top: 40px;
    padding: 2px;
    
}

.best-read h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.best-read-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.best-read-item a {
    display: block;
    border: 1px solid #ddd;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.best-read-item a:hover {
    transform: scale(1.05);
}

.best-read-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .best-read-grid {
        grid-template-columns: 1fr;
    }
    .notfound {
             margin: 0 28px;
         }
}

footer a {
  color: #fdfdfd;
  text-decoration: none;
}

.wp-block-heading {
  font-weight: 600;
}

strong {
  font-weight: 600;
}