/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* GeekDroid TOC Styles Starts Here */

#toc-toggle {
    border: none;
    padding: 2px 5px;
    display: flex !important;
    z-index: 99;
    margin-top: 5px;
    background-color: white;
    color: #000;
}

#geekdroid-toc-container ul li {
    font-weight: 500;
    border-bottom: 1px solid #e9e9e9;
    margin-bottom: 15px; /* Added margin to create more space between points */
    line-height: 1.5; /* Increased line-height for better spacing within wrapped lines */
    padding-bottom: 10px; /* Added padding to ensure space after wrapped lines */
}

div#geekdroid-toc-container {
    border-radius: 5px;
    display: table;
    margin-bottom: 1em;
    position: relative;
    width: 100%;
    padding: 10px;
    height: 40px;
    margin-top: 40px;
    box-shadow: 2px 2px 3px black !important;
}

#geekdroid-toc-container .geekdroid-toc-title {
    text-align: left;
    line-height: 1.45;
    margin: 0;
    padding: 0;
    font-weight: 600 !important;
    display: flex !important;
    z-index: 99;
    padding: 10px 18px;
    color: #000;
    align-items: center;
}

#geekdroid-toc-container label {
    cursor: pointer;
    position: relative;
}

:where(a) {
    border-color: currentcolor;
    color: currentcolor;
    cursor: pointer;
    text-decoration: none;
}

#geekdroid-toc-container ul ul,
.geekdroid-toc div.geekdroid-toc-widget-container ul ul {
    margin-left: 16px;
    margin-top: 4px;
}

#geekdroid-toc-container li,
#geekdroid-toc-container ul,
#geekdroid-toc-container ul li,
div.geekdroid-toc-widget-container,
div.geekdroid-toc-widget-container li {
    font-size: 15px;
    line-height: 1.5; /* Increased line-height for better spacing within wrapped lines */
    margin: 5px 5px 15px 11px; /* Updated margin to create more space between points */
    z-index: 1;
}

#toc-list {
    display: block;
}

.geekdroid-toc-entry a {
    line-height: 1.4;
}

.fa-bookmark:before {
    color: currentColor;
}

@media screen and (min-width: 1024px) {
    /* CSS styles for desktop devices */
    #toc-list {
        -webkit-column-count: 2; /* Chrome, Safari, Opera */
        -moz-column-count: 2;    /* Firefox */
        column-count: 2;         /* standard syntax */
    }
}

#geekdroid-toc-container ul {
    padding: 0;
}

#geekdroid-toc-container ul li {
    font-weight: 500;
    break-inside: avoid-column; /* Prevents breaking list items between columns */
}

/* GeekDroid TOC Styles Ends Here */
/* GeekDroid Author Box Styles Starts Here */
.geekdroid-author-box {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 20px 0px;
    margin-top: 30px;
    border-bottom: 1px dashed #20202054;
    border-top: 1px dashed #20202054;

}

.geekdroid-author-avatar img {
    border-radius: 50%;
    width: 5em;
    height: 5em;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.author-title {
    margin-top: -35px;
    border: 1px solid #505050;
    background: white;
    padding: 4px 30px;
    border-radius: 50px;
    width: fit-content;
}

.geekdroid-author-name,
.geekdroid-author-title,
.geekdroid-author-description {
    margin: 10px 0;
    font-weight: 400; /* Only for .geekdroid-author-name */
    color: #000; /* Only for .geekdroid-author-title */
}
.geekdroid-author-name{
    font-weight: bold; /* Only for .geekdroid-author-name */

}
.geekdroid-social-icon {
    text-decoration: none;
    color: #1981ff;
    font-size: 1.5em;
    margin-right: 10px;
    transition: transform 0.2s;
}

.geekdroid-social-icon:hover {
    transform: scale(1.2);
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .geekdroid-author-box {
        flex-direction: column;
    }

    .geekdroid-author-avatar img {
        width: 80px;
        height: 80px;
    }

    .geekdroid-author-name,
    .geekdroid-author-title,
    .geekdroid-author-description {
        font-size: 1em;
    }

    .geekdroid-social-icon {
        font-size: 1.3em;
        margin-right: 8px;
    }
}

.upper {
    display: flex;
    flex-direction: row;
}

.upper-right {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    font-size: 15px;
}

.geekdroid-author-avatar,
.geekdroid-author-info {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.geekdroid-author-avatar {
    margin-right: 20px;
}

.geekdroid-author-name {
    margin-bottom: 2px !important;
}
/* GeekDroid Autor Styles Ends Here */