/*
Theme Name: WMD Theme
*/

/* Utility */
/* li#menu-item-2 {
    display: none;
} */

.aligncenter {
    display: block;
    margin: auto;
}

/* Header Section */
/* .header-section { 
    display: flex;
    align-items: center;
    justify-content: space-between;
} */
header#header {
    background: #31609447;
}

.cs_new_template #main {
    width: 100%;
    margin: auto;
    max-width: 1170px;
}

body .campaign-list-item_logo img {
    width: auto;
    height: auto;
}

body .campaign-list-item_cta-btn {
    background: #316094;
    color: #fff !important;
}
body .campaign-list-item_cta-btn:hover {
    background: #326094;
}
.campaign-shortcode-table ul {
    padding-left: 5px;
}
div#game-page {
    padding: 0 !important;
}
@media (min-width: 768px) {
    .cs_new_template section.first {
        padding-top: 45px;
    }
}

.cs_new_template section.first .panel-body {
    color: #fff;
}

/* Navigation Menu */
#navigation ul.wp-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

#navigation ul.wp-menu li {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 0px;
	position:relative;
}

#navigation ul.wp-menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    word-wrap: break-word;
}
.site-branding .site-title {
    text-align: center;
}
.header__navigation__link:hover {
    background-color: #05b;
    color: var(--color-white) !IMPORTANT;
}
/* Submenu */
ul.sub-menu {
    display: none;
    list-style: none;
    position: absolute;
    left: auto;
    top: 100%;
    background: #444;
    width: 250px;
    z-index: 1000;
    padding: 0;
    text-align: left;
}

.sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
}

.sub-menu li a:hover {
    background: #555;
}

/* Show submenu on hover */
.menu-item-has-children:hover > .sub-menu {
    display: block;
}

/* Dropdown Arrow */
.menu-item-has-children > a::after { 
    content: "▼";
    font-size: 0.6em;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
}

.menu-item-has-children.active > a::after {
    transform: rotate(180deg);
}

/* Base Typography */
.content_body {
    color: #333;
}

.content_body h1 {
    font-size: 36px;
    line-height: 45px;
}

.content_body h2 {
    font-size: 30px;
    line-height: 40px;
}

.content_body h3 {
    font-size: 25px;
    line-height: 35px;
}

.content_body h4 {
    font-size: 22px;
    line-height: 30px;
}

.content_body h5 {
    font-size: 20px;
    line-height: 28px;
}

.content_body h6 {
    font-size: 18px;
    line-height: 24px;
}

.content_body h1,
.content_body h2,
.content_body h3,
.content_body h4,
.content_body h5,
.content_body h6 {
    margin: 15px 0 10px;
    text-transform: inherit;
}

.content_body a {
    color: #337ab7;
}

.content_body p {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 12px;
    line-height: 25px;
}

.content_body p + div {
    margin-bottom: 10px;
}

.content_body blockquote {
    padding: 10px 10px 2px;
}

.content_body li {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 25px;
}
.copyright a {
    color: #333 !important;
}
footer.navigation-footer {
    text-align: center;
}
.cs_content_sec ul > li {
    list-style: disc;
    margin-left: 15px;
}
.cs_content_sec ol > li {
    list-style: decimal;
}
.content_body table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content_body table td {
    border: 1px solid #ddd;
    text-align: left;
    padding: 8px;
}

.content_body tr,
.content_body th,
.content_body td {
    font-size: 16px;
    line-height: 20px;
}

.content_body pre {
    display: block;
    padding: 9.5px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.42857143;
    word-break: break-all;
    word-wrap: break-word;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.content_body dl {
    margin: 20px 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 16px;
    color: #333;
}

.content_body dt {
    font-weight: bold;
    margin: 10px 0 5px;
    padding: 10px;
    background-color: #eee;
    border-bottom: 1px solid #ddd;
    line-height: 20px;
    color: #333;
}

.content_body dd {
    margin: 0 0 10px 20px;
    padding: 10px;
    border-left: 2px solid #ddd;
    background-color: #fff;
    line-height: 20px;
    color: #333;
}

/* Author Box */
.author-info--container {
    display: flex;
    align-items: center;
}

.author-info {
    color: #151515;
    margin-right: 10px;
    max-width: 100%;
}

.author-info--name {
    color: inherit;
    font-family: GilroyBold, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    text-transform: capitalize;
}

.author-info--last-updated {
    color: #414242;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 18px;
    margin-top: 4px;
}

.author-avatar--link {
    margin: 0 10px 0 0;
}

.author-avatar--link img {
    border-radius: 40px;
    display: block;
    object-fit: cover;
    height: 48px;
    width: 48px;
}

.author-info--name--container {
    display: flex;
    align-items: center;
}

.author-info--badge {
    display: flex;
    margin-left: 10px;
}

.post-info-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

/* Site Title */
.site-title img {
    height: 110px;
    padding: 10px 0;
}

/* Footer */
.container-fluid.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 0px;
}
.error404  .epage_404 {
    text-align: center;
    padding: 40px 0px;
    height: auto;
    min-height: 400px;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}
/* Responsive Styles */
@media (max-width: 1199.98px) {
    .content_body h1 { font-size: 32px; line-height: 40px; }
    .content_body h2 { font-size: 28px; line-height: 36px; }
    .content_body h3 { font-size: 22px; line-height: 30px; }
    .content_body h4 { font-size: 20px; line-height: 28px; }
    .content_body h5 { font-size: 18px; line-height: 26px; }
    .content_body h6 { font-size: 16px; line-height: 22px; }
    .content_body .su-button span { padding: 5px 20px !important; }
}

@media only screen and (min-width: 992px) {
	.main-navigation ul.wp-menu>li.menu-item-has-children .sub-menu {
		right: 0;
		left: auto;
	}
}
@media only screen and (max-width: 991.98px) {
.site-title img {
    width: 80%;
    height: auto;
}.site-branding .site-title {
    text-align: left;
    width: 100%;
}
	.header-section { 
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
    nav#site-navigation {
        color: #fff;
        position: unset;
    }

    .menu-item-has-children > a::after {
        position: absolute;
        right: 15px;
    }

    #navigation ul.wp-menu {
		list-style: none;
		margin: 30px 0px 0px;
		padding: 0;
		display: none;
		color: #fff;
		flex-direction: column;
		background: #316094;
		position: absolute;
		right: 0;
		width: 100%;
		gap: 0;
		border-top: 1px solid #fff;
		z-index: 99;
	}
	#navigation ul.wp-menu li a {
		color: #fff;
	}
	#navigation ul.wp-menu li {
		text-align: left;
	}
    ul.sub-menu {
        position: relative;
        width: 90%;
        left: 28px;
        background: transparent;
		max-width: 100%;
    }

    button#mobile-menu-toggle {
        display: block !important;
        background: #fff;
        color: #333;
        font-size: 20px;
        padding: 5px 10px;
    }
}

@media (min-width: 992px) {
    /* Add desktop-specific styles here if needed */
}
