/*
Theme Name: knightsof.media Custom Theme
Theme URI: https://knightsof.media/
Author: knightsof.media
Author URI: https://knightsof.media/
Description: A custom WordPress theme developed specifically for the knightsof.media website.
Version: 1.0
Text Domain: knightsof.media
*/


* {
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

img.custom-logo {
    width: 280px;
    height: auto;
    max-width: 100%;
}


   span.pp-info-box-icon.pp-icon img  , .thumbnail-wrap img , .image-box-header img , .thumbnail-container img{
    width: 100%;
}
.elementor-slides-wrapper.elementor-main-swiper.swiper-container {
    display: none;
}

.knightsof-content-area {
    font-size: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 24px;
}

.knightsof-container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0 20px;
}

.knightsof-content-area h1 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
}

.knightsof-page-content h2 {
    font-size: 30px;
    font-weight: bold;
    line-height: 40px;
}

.knightsof-page-content h3 {
    font-size: 25px;
    font-weight: bold;
    line-height: 35px;
}

.knightsof-page-content h4 {
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
}

.knightsof-page-content h5 {
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
}

.knightsof-page-content h6 {
    font-size: 16px;
    font-weight: bold;
    line-height: 25px;
}

.knightsof-page-content ol li {
    list-style: decimal;
}

.knightsof-page-content ul li {
    list-style: disc;
}

.knightsof-page-content ol,
.knightsof-page-content ul {
    padding-left: 30px;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 10px 0 !important;
}
ol, ul {
    box-sizing: border-box;
    padding: 0;
}
.knightsof-page-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 25px 0;
}

.knightsof-page-content td,
.knightsof-page-content th {
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 16px;
}

.knightsof-page-content dl {
    margin: 20px;
    padding: 0;
    font-family: Arial, sans-serif;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.knightsof-page-content dt {
    font-weight: bold;
    margin: 10px 0 5px;
    padding: 10px;
    background-color: #eee;
    border-bottom: 1px solid #ddd;
}

.knightsof-page-content dd {
    margin: 0 0 10px 20px;
    padding: 10px;
    border-left: 2px solid #ddd;
    background-color: #fff;
}

.knightsof-page-content li {
    line-height: 30px;
}

.knightsof-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 0;
}

/* FontAwesome arrow for top-level menu items */
.menu-item-has-children > a::after {
    content: "\f078";
    font-family: "FontAwesome";
    margin-left: 5px;
    color: #000;
    position: absolute;
    top: 0px;
    right: 0;
    font-size: 10px;
}

.knightsof-nav-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(-180deg);
}

/* Hide arrow for nested submenu items */
.sub-menu .menu-item-has-children > a::after {
    display: block;
   right: 33px;
    top: 5px;
}

.knightsof-navigation {
    position: relative;
    display: inline-block;
    width: 100%;
}

.knightsof-navigation a {
    display: block;
    font-size: 17px;
    line-height: 40px;
    color: #000;
    text-decoration: none;
}

.sub-menu li a {
    line-height: 24px;
    margin: 5px 0;
    color: #000;
}

.knightsof-navigation li {
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.knightsof-nav-select {
    display: inline-block;
    width: 100%;
    text-align: right;
}

.knightsof-navigation a:hover,
.knightsof-navigation a:focus {
    color: #000;
}

.knightsof-navbar-toggle-wrapper {
    display: none;
}

.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    background: #fff;
    width: 180px;
    text-align: left;
    padding: 10px 0;
    box-shadow: 0 0 6px #ddd;
    top: 34px;
    z-index: 999;
}

.menu-item:hover .sub-menu {
    display: block;
}

.sub-menu li {
    width: 100%;
}

.sub-menu .sub-menu {
    left: auto;
    right: 100%;
    top: -10px;
}

.knightsof-nav-select .sub-menu > li > .sub-menu {
    display: none;
    position: absolute;
}

.knightsof-nav-select .knightsof-menu__list > li:hover > .sub-menu,
.knightsof-nav-select .sub-menu > li:hover > .sub-menu {
    display: block;
}

.knightsof-footer {
    text-align: center;
}
.aligncenter {
    clear: both;
    display: block;
    margin: auto;
}

.campaign-list-item_key-features ul li {
    list-style: none;

}

.campaign-list-item_key-features ul {
    padding-left: 0;
}

a {
    color: #02b497;
}
.su-button-style-flat span {
    top: 0 !important;
    background: #000 !important;
}


.knightsof-main-title {
    text-align: left;
}

.knightsof-custom_top_author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.knightsof-author_imag img {
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}

.knightsof-name_author_out {
    display: flex;
    align-items: center;
}

.knightsof-name_author_out span.lbl {
    margin-right: 5px;
}

.knightsof-name_author_out h4,
.knightsof-name_author_out p {
    margin: 0 !important;
    padding: 0;
    font-weight: normal;
}

.knightsof-name_author_out a p {
    font-weight: 600;
    font-size: 16px;
}

.knightsof-name_author_out a:hover p {
    color: #ea0101;
}

.knightsof-modifyDetails {
    background: #F2F2F2;
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 20px;
}

.knightsof-author_imag img {
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}

.knightsof-author_imag {
    line-height: 0;
}

.knightsof-name_author_out {
    display: flex;
}

.knightsof-name_author_out span.lbl {
    margin-right: 5px;
}

.knightsof-name_author_out a {
    color: inherit;
}

/*Author Page css*/
.knightsof-header-profile-details h2 {
    font-size: 30px;
    margin-bottom: 0;
    margin-top: 0;
}

.knightsof-profile-header-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.knightsof-header-avatar-container img {
    padding: 0;
    border: 0;
    width: 75px;
    height: 75px;
    object-fit: cover;
}

.knightsof-header-profile-details h2 {
    font-size: 30px;
    margin-bottom: 0;
    margin-top: 0;
}

.knightsof-profile-fields-group.profile-fields-group-1 {
    border: 1px solid #eee;
    margin: 1.5rem 0 0;
    padding: 15px 20px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    letter-spacing: 1px;
}

.knightsof-profile-fields-group.profile-fields-group-1 h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #000;
}
.knightsof-home-page.author-box-wrapper {
    padding: 30px 0;
    box-shadow: none;
}

.knightsof-author-f-name .label, .knightsof-author-description-name .label {
    font-weight: 600 !important;
    font-size: inherit;
    line-height: inherit;
    background: transparent;
    color: inherit;
    padding: 0px;
}

.knightsof-author-f-name {
    display: flex;
    gap: 15px;
    font-size: 20px;
}

.knightsof-author-description-name {
    margin-top: 20px;
    font-size: 20px;
}
.knightsof-name_author_out a:hover,
.knightsof-name_author_out a:hover p {
    color: #000 ;
    text-decoration-color: #000 ;
}

/*AUTHOR SECTION And Page END*/

.knightsof-profile-tab-content {
    padding: 10px 0;
}
.campaign-list-item_cta-btn {
  background: #000 !important;
}
.campaign-list-item_cta-btn:hover {
  background: #000 !important;
}


/*page css*/

/* ===== RESET MASONRY ISSUE ===== */
.gallery-items {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    height: auto !important;
    position: relative !important;
}

.gallery-item-wrap {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
}

/* ===== CARD DESIGN ===== */
.grid-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ===== IMAGE STYLE ===== */
.thumbnail-wrap {
    position: relative;
    overflow: hidden;
}

.thumbnail-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.grid-item:hover .thumbnail-wrap img {
    transform: scale(1.1);
}

/* ===== OVERLAY STYLE ===== */
.search-hover-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.grid-item:hover .search-hover-bg {
    opacity: 1;
}

/* ===== ICON STYLE ===== */
.item-buttons {
    display: flex;
    gap: 15px;
}

.item-icon-inner {
    width: 45px;
    height: 45px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 16px;
    transition: 0.3s ease;
    cursor: pointer;
}

.item-icon-inner:hover {
    background: #ff4d4d;
    color: #ffffff;
}

/* ===== CONTENT STYLE ===== */
.caption-wrap.style-card {
    padding: 20px;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.item-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}
.filter-controls {
    display: none;
}

.jkit-posts{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.hentry.category-authors {
    padding: 32px 0;
}
.jkit-readmore {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ff4d4d, #ff884d);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.jkit-readmore:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, #ff884d, #ff4d4d);
}

✔ Rounded
/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .gallery-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-items {
        grid-template-columns: 1fr;
    }

    .thumbnail-wrap img {
        height: 250px;
    }
}


@media only screen and (max-width: 590px) {
      .knightsof-page-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
@media only screen and (max-width: 991px) {

    .menu-item-has-children > a::after,
    .sub-menu .menu-item-has-children > a::after {
        display: none;
    }

    .knightsof-table-auto {
        overflow-x: scroll;
        width: 100%;
    }

  img.custom-logo {
    width: 200px !important;
}

    .knightsof-navigation {
        position: absolute;
        right: 0;
        top: 100%;
        width: 100%;
        cursor: pointer;
        text-align: left;
        background: #fff;
        box-shadow: 0 0 4px #ddd;
        display: none;
        padding: 14px;
        z-index: 999;
    }

    .knightsof-navbar-toggle-wrapper {
        display: flex !important;
        background-color: #050104;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 50%;
        right: 15px;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        cursor: pointer;
        color: transparent;
       transform: translatey(-50%);
    }

    .knightsof-navbar-toggle-wrapper span {
        width: 20px;
        height: 2px;
        background-color: #fff;
        display: inline-block;
        position: relative;
        top: 0px;
        right: 0;
    }

    .knightsof-navbar-toggle-wrapper span::before,
    .knightsof-navbar-toggle-wrapper span::after {
        content: "";
        position: absolute;
        background-color: #fff;
        width: 100%;
        height: 2px;
        left: 0;
    }

    .knightsof-navbar-toggle-wrapper span::before {
        top: -7px;
    }

    .knightsof-navbar-toggle-wrapper span::after {
        top: 7px;
    }


.knightsof-navigation li {
        position: relative;
        display: inline-block;
        Padding: 0 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;

    }


    .sub-menu {
        display: block;
        position: relative;
        left: 0;
        background: transparent;
        width: 100%;
        padding: 0 !important;
        box-shadow: none;
        top: auto;
    }

    .sub-menu .sub-menu {
        left: 0;
        right: 0;
        top: 0;
    }

    .knightsof-toggle-menu {
        position: absolute;
        right: -7px;
        width: 40px;
        height: 30px;
        font-size: 15px;
        top: 7px;
        cursor: pointer;
        z-index: 999;
        display: block;
        color: #000;
        transform: rotate(0deg);
        text-align: center;
    }

    .knightsof-toggle-menu i {
        transition: transform 0.3s ease;
    }

    .knightsof-toggle-menu.on i {
        transform: rotate(180deg);
    }

    .knightsof-nav-select {
        display: inline-block;
        width: 100%;
        text-align: left;
        margin: 0;
    }
    .knightsof-nav-select .sub-menu > li > .sub-menu {
    display: block;
    position: relative;
}

.knightsof-nav-select .knightsof-menu__list > li:hover > .sub-menu,
.knightsof-nav-select .sub-menu > li:hover > .sub-menu {
    display: block;
}

}
