/* Archive Vidoes */
.video-section {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.video-section .sgl-video {
    width: calc(33.33% - 1rem);
}
.single-videos-video {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}
.all-font-style {
    color: #000;
}
.all-font-style h1,
.all-font-style h2, 
.all-font-style h3,
.all-font-style h4,
.all-font-style h5,
.all-font-style h6 {
    color: var(--kyn-darkblue);
    font-weight: 400;
    font-family: "Fjalla One", serif;
}
.all-font-style a:not(.btn-kyn-default, .btn, .wp-element-button) {
    color: var(--kyn-navy);
}
.all-font-style  ol {
    margin: 0 0 1.5em 0;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.all-font-style table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 16px;
  color: #001f3f; 
  border: 1px solid #ccc;
}

.all-font-style table thead {
  background-color: #001f3f; /* kyn-navy */
  color: #fff;
}

.all-font-style table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid #cccccc;
}

.all-font-style table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
}

.all-font-style table tbody tr:hover {
  background-color: #f3f8ff;
}

.all-font-style table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
.single-child-vid a {
    text-decoration: none;
}



/* Accordion */
.single-accordion .title {
    background: var(--kyn-light-gray);
    color: var(--kyn-darkblue);
    font-weight: 400;
    font-size: 18px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-family: "Fjalla One", serif;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.single-accordion .content {
    margin: 1rem 0 2rem;
    color: #000;
    display: none;
    padding: 0 2rem;
}
/* .page-template-default-page .all-tabs .tab.active, 
.page-template-default-page .all-tabs .tab:hover {
    background: var(--kyn-darkblue);
} */


/* Light Box Design */
img.mfp-img {
    max-height: 72vh !important;
}
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    font-size: 70px;
}

/* Document List */
.document-listing  {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.document-listing > div {
    width: 300px;
    padding: 1.5rem;
    background: var(--kyn-light-gray);
    border-radius: 20px;
}
.single-file a {
    text-decoration: none;
}
.document-listing .doc-icon {
    font-size: 50px;
    color: var(--kyn-yellow);
}


/* deafult page sidebar */
.page_has_no_sidebar {
    display: grid;
}
.page_has_sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}
.def-page-sidebar-content h5:first-child,
.def-page-body-content div:first-child {
    margin-top: 0 !important;
}
.sidebar-page-list li {
    margin-bottom: 5px;
}
.sidebar-page-list li a {
    text-decoration: none;
    font-weight: 500;
}


/* CTA LIST */
.cta-list {
    display: flex;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 4rem 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.cta-list > div {
    width: calc( 25% - 1.5rem);
}
.cta-list img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    height: auto;
    width: 100%;
    /* border-radius: 16px; */
    box-shadow: 9px 16px 19px 19px var(--kyn-pink-gray);
}

.cta-list.row-style {
    flex-direction: column;
    gap: 2rem;
}
.cta-list.row-style > div {
    width: 100%;
}
.cta-list.row-style > div a {
    display: grid;
    grid-template-columns: 300px auto;
    gap: 50px;
    padding: 1rem 0;
    border-bottom: 3px solid var(--kyn-yellow);
    align-items: center;
}


/* Post page  */
.sticky-sidebar {
    position: sticky;
    top: 110px;
}
.content-and-img-con {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 3rem;
}
.content-and-img-con.one-third {
    grid-template-columns: 2fr 1fr;
}
.content-and-img-con.one-third.reverse {
     grid-template-columns: 1fr 2fr;
}
.content-and-img-con.has-border {
    border-bottom: 4px solid var(--kyn-yellow);
    align-items: center;
    padding: 2rem 0;
}

body.single-post section.hero-banner .hero-banner-content,
body.single-brochure section.hero-banner .hero-banner-content,
body.single-careers section.hero-banner .hero-banner-content,
body.single-event section.hero-banner .hero-banner-content,
body.tax-solution-type section.hero-banner .hero-banner-content {
    max-width: 800px;
}


/* Blog page */
.def-posts-list {
    gap: 4rem 2rem !important;
    flex-wrap: wrap;
}
.sgl-post {
    width: calc(33.33% - 1.5rem);
}
.sgl-post a {
    text-decoration: none;
}



/* Template Default -- Sidebar */
.sidebar-s-p {
    padding-left: 1.5rem;
    border-left: 4px solid var(--kyn-yellow);
    line-height: 1;
} 
.sidebar-s-p a {
    text-decoration: none;
    color: var(--kyn-navy);
    font-weight: 600;
    margin-bottom: .8rem;
}


/* Single Newsletter */
.newsletter-body-con {
    max-height: 700px;
    overflow: hidden;
}
.single-newsletter-main-section .body-con-btn {
    max-width: 500px;
    width: 100%;
}
.newsletter-content-and-image {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    border-bottom: 4px solid var(--kyn-yellow);
}
.newsletter-content-and-image.reverse {
    grid-template-columns: 2fr 3fr;
}
.newsletter-content-and-image.reverse .content {
    order: 2
}
.newsletter-content-and-image.reverse .img-con {
    order: 1
}
.sgl-news-ft-btm-cta a {
    text-decoration-color: var(--kyn-yellow);
    font-weight: 600;
    color: var(--kyn-navy);
}

/* Single Event */
.event-content-and-image {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
}


/* Career List */
.career-list {
    box-shadow: 0 0 20px #00000029;
    border-radius: 16px;
    padding: 1rem 2rem 3rem;
}
.sgl-career.th {
    font-weight: 700;
}
.career-list .sgl-career {
    display: grid;
    padding: 1rem 0;
    margin: 1rem 0;
    border-bottom: 2px solid var(--kyn-yellow);
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
}


/* Template : Kyntronics Difference  */
.kyntronics-diference-section .all-font-style h1,
.kyntronics-diference-section .all-font-style h2, 
.kyntronics-diference-section .all-font-style h3,
.kyntronics-diference-section .all-font-style h4,
.kyntronics-diference-section .all-font-style h5,
.kyntronics-diference-section .all-font-style h6 { 
    color: var(--kyn-navy);
    text-transform: uppercase;
}
.kyn-def-content-and-img-con {
    grid-template-columns: 2fr 1fr;
}
.kyn-def-content-and-img-con.reverse {
    grid-template-columns: 1fr 1fr;
}

.kyn-dif-body-con-con {
    max-width: 737px;
    width: 100%;
}
.kyn-dif-body-img {
    max-width: 400px;
    width: 100%;
    margin: 0 0 0 auto;
}
.kyntronics-diference-section .all-tab-content p {
    margin-bottom: 1.5em;
}
.kyntronics-diference-section .all-tab-content a:not(.btn , .btn-kyn-default) {
    color: var(--kyn-darkblue);
    text-decoration: none;
}
.kyn-def-cta-list {
    text-align: center;
}
.kyn-def-cta-list img,
.kyn-def-cta-list video {
    aspect-ratio: 3 / 2;
    object-fit: contain;
    width: 100%;
}
.kyntronics-diference-section .tab-content .flex-buttons {
    justify-content: flex-start;
}
/* tab */
.kyntronics-diference-section .all-tabs {
    align-items: stretch;
}
.kyntronics-diference-section .tab ,
.kyntronics-diference-section .subtab-inner {
    font-family: "Fjalla One", serif;
    font-weight: 400;
    text-transform: uppercase;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.kyntronics-diference-section .subtab {
    cursor: pointer;
}


/* Template Contact */
.contact-section .wrapper {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 5rem;
}
.contact-info-img {
    width: 150px;
}
.contact-info .fl {
    margin-bottom: 5px;
}
.contact-section .map iframe {
    width: 100%;
}

/* Embed Contact Form */
.contact-section iframe .hsfc-Step__Content,
.hsfc-Step .hsfc-Step__Content {
    padding: 0 !important;
    background: transparent !important;
}
.contact-section .hsfc-RichText {
    display: none;
}
.hsfc-Step__Banner {
    background-size: contain !important
}




/* Content and Blocks */
.kyn-content-and-blocks {
    grid-template-columns: 1fr 1fr;
}


@media screen and (max-width: 1024px){
    .page_has_sidebar .content-and-img-con,
    .page_has_sidebar .content-and-img-con.one-third  {
        grid-template-columns: 100%;
        gap: 1rem;
    }
    .page_has_sidebar .testimonial-slider {
        max-width: 500px;
    }

    /* Kyntronics Difference */
    .kyntronics-diference-section .tab ,
    .kyntronics-diference-section .subtab-inner {
        font-size: 16px;
    }

}



@media screen and (max-width: 998px){
    .page_has_sidebar {
        grid-template-columns: 100%;
        gap: 0;
    }
    .cta-list > div {
        width: calc( 33.33% - 1.5rem );
    }

    /* Template : Kyntronics Difference  */
    .kyn-def-content-and-img-con, .kyn-def-content-and-img-con.reverse  {
        grid-template-columns: 100%;
    }
    .kyn-def-content-and-img-con .body-con {
        order: 2;
    }
    .kyn-def-cta-list {
        grid-template-columns: 1fr 1fr !important;
    }
    .page-template-page-kyntronics-difference .content-and-img-con  {
        grid-template-columns: 100%;
    }

    .kyn-dif-body-img {
        margin: 0 auto;
    }



    /* Blog page */
    .def-posts-list {
        gap: 3rem !important;
    }
    .sgl-post {
        width: calc(50% - 1.5rem);
    }

   

    /* Single Newsletter and Event */
    .newsletter-content-and-image,
    .newsletter-content-and-image.reverse,
    .event-content-and-image {
        grid-template-columns: 100%;
        gap: 1rem;
    }
    .newsletter-content-and-image .content,
    .event-content-and-image .content {
        order: 2;
    }
    .event-content-and-image .img-con img {
        max-width: 500px;
        width: 100%;
    }
    .event-body-con .d-none-mobile {
        display: none;
    }
    .event-body-con .d-none-desk {
        display: block;
    }
    .event-body-con  .body-con {
        padding-bottom: 0;
    }


    /* Contact Page */
    .contact-section .wrapper {
        grid-template-columns: 100%;
        gap: 2rem;
    }
    

}

@media screen and (max-width: 767px){

    /* Table  */
    .dt-layout-cell.dt-layout-start:has(button) {
        margin-bottom: 60px;
    }

    /* Kyntronics Differnce */
    .kyn-def-cta-list,
    .kyn-def-block-list,
    .kyn-content-and-blocks {
        grid-template-columns: 100% !important;
    }

    .kyntronics-diference-section .tab, .kyntronics-diference-section .subtab-inner {
        width: 100%;
        padding: .5rem;
        border-left: 0;
    }
    .subtab .tab-img {
        display: none;
    }
    /* Kyntronics Differnce Ends*/




    .video-section {
        flex-direction: column;
    }
    .video-section .sgl-video {
        width: 100%;
    }

    .cta-list > div {
        width: 100%;
        gap: 2rem;
    }
    .cta-list.row-style > div a {
        grid-template-columns: 100%;
        gap: 0;
    }

    /* Blog page */
    .def-posts-list {
        flex-direction: column;
    }
    .sgl-post {
        width: 100%;
    }

     /* content and image section */
    .content-and-img-con,
    .content-and-img-con.one-third  {
        grid-template-columns: 100% !important;
        gap: 1rem;
    }
    .content-and-img-con .body-con {
        order: 2 !important;
    }
    .content-and-img-con .img-con {
        order: 1 !important;
    }


    /* Table */
    .all-font-style table {
        font-size: 14px;
    }

    .all-font-style table thead th,
    .all-font-style table tbody td {
        padding: 10px 12px;
    }



    /* Single-newsletter */
    .sgl-news-ft-btm-cta {
        padding: 2rem 1rem !important;
    }

    /* Single Event */
    .event-info h5 {
        font-size: 18px;
    }

    /* Career List */
    .sgl-career.th {
        display: none !important;
    }
    .career-list .sgl-career {
        display: block;
    }
    .career-location span, 
    .career-type span {
        display: unset;
    }
    .sgl-career .btn {
        width: fit-content;
        margin-top: 16px;
    }


    /* Template : Contact */
    .contact-right-side-con {
        padding: 2rem !important;
    }
    .contact-info-sec {
        flex-direction: column;
    }
    .contact-info-img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }


}
