.bg-tool-hero{
    background: var(--brand-secondary-color);
    background: linear-gradient(135deg, #212121 0%, #2e2e2e 40%, #4d4d4d 100%);
    display: flex;
    height: 75vh;
}

@media only screen and (max-width:1080px){
    .bg-tool-hero{
        height: auto;
    }
}

.hamburger span {
    background-color: var(--main);
}

.hero-top{
    text-align:center;
    max-width: 800px;
    margin:auto;
}

.hero-top span{
    display: block;
    color: var(--hover);
    font-size: 0.7rem;
    letter-spacing: 0.8em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-top h1{
    color:var(--dark-head);
}

.hero-top p{
    color: var(--dark-text);
    max-width: 700px;
    margin: auto;
    margin-top: 22px;
}

/*-form-*/
#searchForm {
    display: flex;
    align-items: stretch;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8px;
    margin-top: 60px;
    margin-bottom: 70px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Input Container Logic */
#searchForm .form-field {
    position: relative;
    display: flex;
    flex-direction: column-reverse; /* Allows label placement logic */
    justify-content: center;
    padding: 10px 20px;
    flex: 2;
}

#searchForm .col2-inputs {
    display: flex;
    flex: 2.2;
}

#searchForm .col2-inputs .form-field {
    flex: 1;
    border-left: 1px solid rgba(212, 175, 55, 0.1);
}

/* Typography & Inputs */
#searchForm label {
    display: block;
    font-size: 0.65rem;
    color: var(--hover);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 4px;
    text-align: left;
    font-weight: 700;
}

#searchForm input, 
#searchForm select {
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    outline: none;
    padding: 4px 0;
}

#searchForm select option {
    background: #111;
    color: #fff;
}

/* Action Button */
#searchForm button[type="submit"] {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 0 40px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
}

#searchForm button[type="submit"]:hover {
    color:var(--hover);
    letter-spacing: 0.3em;
}

@media (max-width: 999px) {
    #searchForm {
        flex-direction: column;
        padding: 15px;
    }

    #searchForm .col2-inputs {
        flex-direction: column;
    }

    #searchForm .form-field,
    #searchForm .col2-inputs .form-field {
        border-left: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        padding: 15px 10px;
        flex: none;
    }

    #searchForm button[type="submit"] {
        margin: 15px 0 0 0;
        height: 55px;
        width: 100%;
    }
}

/*-tools-features-lists-*/
.hightlight-features{
    max-width:700px;
    margin: auto;
    color:var(--dark-text)
}

/*-features-*/
.hightlight-features-list{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    grid-column-gap: 55px;
    grid-row-gap: 44px;
}

.hightlight-features-list li{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    grid-row-gap: 16px;
    font-size: 17px;
    font-weight: 600;
}

@media only screen and (max-width:767px){
    .hightlight-features-list{
        display: grid;
        grid-template-columns:repeat(2, 1fr);
        grid-column-gap: 22px;
    }
}

/*-table-of-content-


.dtoc p{
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    border-bottom: var(--outline);
    padding-bottom: 10px;
}

#toc-list{
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 12px;
    padding-top: 20px;
    padding-bottom: 20px;
}

#toc-list a{
    font-size: 16px;
    color: var(--d-text); 
    font-weight: 500;
    display: flex;
    line-height: 1.2;
    transition: color 0.3s;
}

#toc-list a:hover,
#toc-list a.active{
    font-weight: 700;
    color: var(--main);
}


}*/

/* Container Logic */
.dtoc {
    width: 240px;
    position: sticky;
    top: 40px;
    bottom: 40px;
}

.dtoc p {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--d-text);
    border-bottom: var(--outline);
    padding-bottom: 12px;
}

#toc-list, #toc-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#toc-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 1px;
    padding-top: 10px;
    padding-bottom: 20px;
}

#toc-list a {
    text-decoration: none;
    line-height: 1.6;
    display: block;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.toc-h2 {
    font-size: 14px;
    color: #888888;
    margin-top: 8px;
    font-weight: 500;
}

.toc-h3 {
    font-size: 13px;
    color: #888888;
    padding-left: 16px !important;
    margin-top: 4px;
    font-weight: 500;
}

#toc-list a.active {
    color: var(--hover);
    font-weight: 500;
    text-shadow: 0.4px 0 0 currentColor;
}

#toc-list a:hover:not(.active) {
    color: var(--main);
}

@media only screen and (max-width:1080px){
    .dtoc{
        width: auto;
    }
    .dtoc p {
        font-size:14px;
        position: relative;
        cursor: pointer;
        transition: color 0.3s ease;
    }
    .dtoc p::after {
        content: "+";
        position: absolute;
        right: 0;
        font-size: 20px;
        transition: transform 0.3s ease, color 0.3s ease;
    }
    .dtoc p.active::after {
        content: "-";
        transform: rotate(180deg);
    } 
    #toc-list.open {
        max-height: 700px;
        opacity: 1;
        overflow: hidden;
        overflow-y: visible;
        padding-top: 20px;
        padding-bottom: 20px;
        border-bottom: var(--outline);
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }
    #toc-list {
        margin-left: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }
}
/*-Content-Section-*/
.content-sec{
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 0.7fr;
    grid-column-gap: 75px;
    grid-row-gap: 24px;
}

.single_content{
    font-size: 20px;
    overflow: hidden;
}

.single_content figure{
    margin: 24px 0px;
}

.single_content img{
    width:100%;
    width:-moz-available;
    width: -webkit-fill-available;
    margin: 20px 0px 0px;
    border-radius: 8px;
}

.single_content > p:first-child::first-letter {
    font-size: 3.5rem;
    font-weight: 600;
    float: left;
    line-height: 0.9;
    margin-right: 10px;
    margin-top: 6px;
    text-transform: uppercase;
}

.single_content h2{
    font-size: 26px;
    margin-top: 50px;
    margin-bottom: 15px;
    border-bottom: 1px solid #3333331c;
    padding-bottom: 10px;
}

.single_content h3{
    font-size: 32.83px;
    font-size: 23px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.single_content h4{
    font-size: 28px;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.single_content h5,
.single_content h6{
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.single_content p,
.single_content ul,
.single_content ol{
    margin-bottom: 20px;
    line-height: 1.9;
    line-height: 1.6;
}

.single_content ul,
.single_content ol{
    margin-left: 20px;
}
    
.single_content p:last-child{
    margin-bottom:0px;
}

.single_content ul li:first-child,
.single_content ol li:first-child{
    margin-top:20px;
}

.single_content ul li:last-child,
.single_content ol li:last-child{
    margin-bottom:40px;
}

.single_content ul li,
.single_content ol li{
    list-style-type: square;
    margin-left: 21px;
    margin-bottom: 5px;
}

.single_content a{
    color:var(--hover);
    border-bottom: 1.2px solid var(--hover);
}

blockquote {
    display: inline-flex;
    border-left: 4px solid var(--hover);
    padding: 10px 20px;
    background: #f9f9f9;
}

blockquote p{
    color: var(--main);
}



/*-content-table-*/
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: inherit;
    font-size: 17px;
    border-radius: .375rem;
    overflow: hidden;
    margin-bottom: 24px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

th, td {
    padding: 10px 15px;
    text-align: left;
    border-right: var(--outline);
    border-bottom: var(--outline);
}

th:last-child,
td:last-child {
    border-right: none;
}

tr:last-child td {
    border-bottom: none;
}

table thead {
    background: #b0acac;
}

table tbody {
    background: var(--bg);
}

th:first-child {
    border-top-left-radius: .375rem;
}

th:last-child {
    border-top-right-radius: .375rem;
}

tr:last-child td:first-child {
    border-bottom-left-radius: .375rem;
}

tr:last-child td:last-child {
    border-bottom-right-radius: .375rem;
}

@media screen and (max-width: 767px) {
    table {
        font-size: 14px;
    }
}

@media only screen and (max-width:1080px) {
    .content-sec{
        grid-template-columns: 1fr;
    }
    
    .single_content{
        order:2;
    }

}

@media only screen and (max-width:767px) {
    h1{
        font-size: 36px;
    }
    
    .single_content{
        font-size: inherit;
    }

    .single_content > p:first-child::first-letter {
        font-size: 3.1rem;
        margin-right: 8px;
    }
    
    .single_content h2{
        font-size: 26px;
        margin-top: 60px;
    }
    
    .single_content h3,
    .single_content h4,
    .single_content h5,
    .single_content h6{
        font-size: 24px;
    }
    
    .single_content ul,
    .single_content ol{
        margin-left: 10px;
    }

    .single_content p,
    .single_content ul,
    .single_content ol{
        line-height: 1.6;
    }

}

/*--Related-tools-content--*/
.tools_list{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
    margin-top:20px;
}  

.tools_list a {
    color:var(--d-text);
    background: var(--l-hover);
    padding: 10px 10px 15px 20px;
    display: flex;
    width: -moz-available;
    width: -webkit-fill-available;
    height: 220px;
    font-weight: 700;
    border-radius: 10px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.tools_list a:hover {
    background: var(--brand-primary-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.tools_list a span{
    display: flex;
    width: 100%;
    justify-content: flex-end;
    overflow:hidden;
}

.tools_list a span svg{
    padding: 1px;
    /*transform: rotate(-45deg);*/
    transform-origin: 50% 50% 0px;
    transition: transform 0.4s ease-in-out;
}

.tools_list a:hover span svg{
    transform: rotate(45deg);
}

@media only screen and (max-width:1080px){
    .tools_list{
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and (max-width:767px){
    .tools_list{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width:599px){
    .tools_list{
        grid-template-columns: repeat(2, 1fr);
    }
}