
:root {
    --color_primary: #ffcb05;
    --color_primary_hover: #e0b100;
    --color_primary_light: #ffefbf;
    --color_light_gray: #e5e5e5;
    --color_light_gray_two: #f3f3f3;
    --color_text_light: #fff;
    --color_text_dark: #1c1c1b;
    --color_text_gray: #666666;
    --color_text_btn_dark: #212121;
    --border_radius: 5px;
}

body {
    background: linear-gradient(45deg, rgb(0 0 0 / 12%), transparent);
}

a.vb-anchor,
a.tb-anchor {
    top: -180px;
    visibility: hidden;
    position: relative;
    display: block;
}

header.site-header {
    z-index: 999;
    position: relative;
}

.is-dropdown-submenu.dropdown {
    position: absolute;
}

.container.txb-blog {
    margin-bottom: 4rem;
}


.txb-blog-heading-section
.txb-blog-heading {
    color: var(--color_text_light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.txb-blog-heading-section {
    padding-top: 8rem;
    margin-top: -6rem;
    padding-bottom: 8rem;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    position: relative;
}

.txb-blog-heading-section:before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #00000061, transparent);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.txb-blog-heading-section
.txb-blog-inner-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
}

.txb-blog 
.txb-blog-inner-section h3 {
    margin-bottom: 1.5rem;
}

.txb-blog 
.txb-blog-inner-section {
    display: flex;
    margin-top: 4rem;
    justify-content: center;
    column-gap: 2rem;
}

.txb-blog.toc-enabled
.txb-blog-inner-section {
    justify-content: flex-start;
}


.txb-blog 
.txb-blog-inner-section
.col-md-8 {
    flex: 0 1 auto;
}

.txb-blog-reading-time {
    display: flex;
    justify-content: center;
    line-height: 1.3;
    margin-top: 0.5rem;
}

.txb-blog-reading-time 
.txb-blog-time 
svg {
    margin-right: 0.25rem;
    padding: 3px;
    border-radius: 50px;
    background: var(--color_primary);
    width: 1.25rem;
    height: 1.25rem;
}

.txb-blog-reading-time
.txb-blog-time {
    background: var(--color_text_light);
    color: var(--color_text_btn_dark);
    font-weight: 500;
    box-sizing: border-box;
    border-radius: var(--border_radius);
    display: flex;
    padding: 0.5rem 0.65rem;
    letter-spacing: -0.5px;
    align-items: center;
}

.txb-blog-contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    margin-top: -7.8rem;
    overflow: hidden;
    background: white;
}

.txb-blog-contents-inner--author {
    text-align: left;
}

.txb-blog-contents-inner--author 
.txb-blog-author-block {
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
}

.txb-blog-contents-inner--author 
.txb-blog-author-block
.txb-blog-author-info
 {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.txb-blog-author-info 
.txb-author-name {
    font-weight: 600;
}

.txb-blog-author-block 
img {
    border-radius: 50px;
    width: 32px;
    border: 4px solid rgb(255 255 255 / 24%);
}

.txb-blog-data {
    display: flex;
    justify-content: space-between;
    border-radius: var(--border_radius);
    align-items: center;
}

.txb-blog-contents-inner p {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.txb-blog-contents-inner ul {
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
}

.txb-blog-contents-inner ul li {
    line-height: 1.3;
    margin-top: 1rem;
    color: var(--color_text_gray);  
}

.txb-blog-contents-inner ul li::marker {
    color: var(--color_primary);
}

.txb-blog-contents-inner 
blockquote {
    border-left: 6px solid var(--color_primary);
    padding-left: 2.5rem;
    position: relative;
    font-style: italic;
    line-height: 1.4;
    margin: 3rem 0 3rem 2rem;
    font-weight: 500;
    font-size: 1.3rem;
    padding-top: 0;
}

.txb-blog-contents-inner 
blockquote:before {
    content: "";
    width: 12px;
    height: 100%;
    background: var(--color_primary_light);
    display: flex;
    position: absolute;
    left: 0px;
    top: 0;
}

.txb-blog-contents-inner blockquote p {
    color: var(--color_text_dark);
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.txb-blog-contents-inner h4 {
    margin-top: 3rem;
}


.txb-blog-pre-contents {
    background: rgb(243 243 243);
    z-index: 99;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.txb-blog-pre-contents 
.post-meta {
    font-weight: 500;
    display: flex;
    align-items: center;
    letter-spacing: -.5px;
}
.txb-blog-pre-contents 
.post-meta
.txb-icon-holder {
    margin-right: 0.5rem;
    padding: 5px;
    border-radius: 50px;
    background: var(--color_primary);
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.txb-blog-pre-contents 
.txb-cat-btn {
    border-radius: var(--border_radius);
    background: white;
    display: inline-flex;
    box-shadow: 1px 1px 4px rgb(0 0 0 / 20%);
    line-height: 1.3;
    position: relative;
    overflow: hidden;
}

.txb-blog-pre-contents 
.txb-cat-btn
a {
    padding: 4px 16px 4px 20px;
    text-decoration: none;
    color: var(--color_text_btn_dark);
    font-weight: 500;
    z-index: 2;
    position: relative;
}

.txb-cat-btn:hover::before,
.txb-cat-btn:focus::before {
    width: 100%;
    transition: cubic-bezier(0.25, 1.44, 0.59, -0.27) 0.6s;
}

.txb-cat-btn:before {
    content: '';
    width: 6px;
    height: 100%;
    position: absolute;
    background: var(--color_primary);
    top: 0;
    left: 0%;
    bottom: 0;
    margin: auto;
    transition: cubic-bezier(0.46, 0.03, 0.52, 0.96) 0.3s;
    z-index: 1;
}


.txb-blog-contents-inner p a {
    text-decoration: none;
    color: var(--color_text_dark);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.txb-blog-contents-inner p a:before {
    content: "";
    background: var(--color_primary);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 20%;
    z-index: -1;
    bottom: -20px;
    margin: auto;
    right: 0;
    transform: rotate(-1deg);
    transition: 0.2s ease-in-out;
}

.txb-blog-contents-inner p a:hover::before,
.txb-blog-contents-inner p a:focus::before {
    height: 75%;
    bottom: 0;
    transition: 0.2s ease-in-out;
    transform: rotate(1deg);
}

.txb-blog-sharing-block 
.sharing-links {
    display: flex;
    flex-direction: revert;
    justify-content: center;
    column-gap: 12px;
} 

.txb-blog-sharing-block 
.sharing-links 
a.link--twitter {
    background-color: #1da1f2;
}
.txb-blog-sharing-block 
.sharing-links 
a.link--facebook {
    background-color: #1778f2;
}
.txb-blog-sharing-block 
.sharing-links 
a.link--linkedin {
    background-color: #0d66c2;
}

.txb-blog-sharing-block 
.sharing-links 
a svg path{
    fill: white;
}

.txb-blog-sharing-block 
.sharing-links 
a {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-out 0.15s;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0);
}

.txb-blog-sharing-block 
.sharing-links 
a:hover {
    transform: scale(1.1);
    transition: ease-in 0.15s;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.txb-blog-sharing-block {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--color_light_gray);
}

.txb-blog-sharing-block
.txb-sharing-links-title {
    margin-bottom: 1rem;
    font-weight: 400;
    color: var(--color_text_gray);
}

/* Table of contents */

ul.txb-blog-tc-block {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.txb-blog-tc-block li:not(:last-child) {
    padding-bottom: 0.65rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

ul.txb-blog-tc-block li a {
    color: var(--color_text_dark);
    text-decoration: none;
    font-weight: 400;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: ease-out 0.2s;
}

ul.txb-blog-tc-block li a:hover
span.txb-toc-arrow,
ul.txb-blog-tc-block li a:focus
span.txb-toc-arrow {
    z-index: 1;
    opacity: 1;
    transition: ease-in 0.2s;
}


ul.txb-blog-tc-block li a:hover,
ul.txb-blog-tc-block li a:focus {
    color: var(--color_text_gray);
    transition: ease-in 0.2s;
}

span.txb-toc-arrow {
    margin-left: 0.5rem;
    z-index: -1;
    opacity: 0;
    transition: ease-out 0.2s;
}

span.txb-toc-arrow svg {
    width: 1rem;
}

span.txb-toc-arrow svg path {
    fill: var(--color_text_gray);
    transition: inherit;
}

.txb-blog-tc-title {
    font-weight: 700;
    color: var(--color_text_gray);
    letter-spacing: 1px;
}

.txb-toc-main {
    font-size: 1.1rem;
}


.txb-toc-main.sticky {
    position: fixed;
    transition: 0.4s ease-out;
}
.txb-toc-main {
    top: 60px;
    transition: 0.4s ease-in;
}

.txb-blog-tc-trigger {
    display: none;
    border-radius: 8px;
    flex-direction: row;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #303030;
    justify-content: center;
    background: #ffc000;
    cursor: pointer;
    z-index: 9999;
    transition: 0.2s;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 200px;
    top: -32px;
}

.txb-blog-tc-trigger::after {
    content: "";
    margin-left: 8px;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 1em;
    line-height: 1;
    background-repeat: no-repeat;
    transition: all 0.2s ease 0s;
}

.txb-blog-contents-inner 
ul.txb-blog-tc-block li {
    margin-top: 0;
}

.txb-blog-contents-inner 
.txb-toc-mobile 
.txb-blog-tc-title {
    color: var(--color_text_dark);
}

.txb-blog-contents-inner 
.txb-toc-mobile {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 6px;
    border-left: 4px solid #fccb2b;
    max-width: 40%;
    width: 100%;
    display: none;
    visibility: hidden;
}

.txb-blog-contents-inner 
.txb-toc-mobile ul
li:not(:last-child) {
    padding-bottom: 0.6rem;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.txb-blog 
.txb-blog-contents-inner 
.txb-toc-mobile 
.txb-blog-tc-title {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgb(151 151 151 / 35%);
    display: block;
}

/* Related posts */

article.txb-blog-related-post {
    display: flex;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0px 4px 12px rgb(0 0 0 / 14%);
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}
.txb-blog-related-post-link {
    container-type: inline-size;
    container-name: related-post;
    position: relative;
    display: flex;
}

a.txb-blog-related-post-link:last-child:last-of-type:not(:only-of-type) .txb-blog-related-post {
    margin-bottom: 0;
}

.txb-blog-related-post-link:hover article.txb-blog-related-post:before, 
.txb-blog-related-post-link:focus-visible article.txb-blog-related-post:before{
    left: -1rem;
}
.txb-blog-related-post-link:hover article.txb-blog-related-post:after, 
.txb-blog-related-post-link:focus-visible article.txb-blog-related-post:after{
    right: -2rem;
}

a.txb-blog-related-post-link:nth-child(odd) .txb-blog-related-post:before {
    transform: rotate(
11deg);
}

.txb-blog-related-post-link header {z-index: 9;}


.txb-blog-related-post h5,
.txb-blog-related-post p {
    color: var(--color_text_dark);
}

.txb-blog-related-post--thumb {
    background-size: cover;
    width: min(10ch, 100%);
    flex-shrink: 0;
    flex-grow: 1;
    border-radius: 6px;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.txb-blog-related-post--thumb:before {
    content: "";
    background-color: var(--orange_branded);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    opacity: 0.15;
}

.txb-blog-related--desc {
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.3;
}

.txb-blog-related--title {
    font-size: 2rem;
    font-weight: 600;
}

.txb-blog-related-title:after {
    content: "";
    background: var(--gray);
    height: 1px;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.txb-blog-related-title {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    color: var(--gray);
}

.txb-blog-related-title > span {
    background: #fff;
    padding: 0 1rem;
    z-index: 1;
    position: relative;
}

aside.txb-blog-related-section {
    margin-bottom: 2rem;
}

aside.txb-blog-related-section
.txb-blog-related-post .txb-blog-related--title {
    font-size: 1.25rem;
    font-weight: 600!important;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

aside.txb-blog-related-section
.txb-blog-related-post .txb-blog-related--desc {
    margin-bottom: 0;
    font-size: 1.1rem;
}

article.txb-blog-related-post:before {
    content: '';
    width: calc(2rem + 50px);
    height: 150%;
    position: absolute;
    background: var(--color_primary);
    top: 0;
    left: -3rem;
    bottom: 0;
    margin: auto;
    transition: cubic-bezier(0.46, 0.03, 0.52, 0.96) 0.3s;
    z-index: 1;
    transform: rotate(
349deg);
}

article.txb-blog-related-post:after {
    left: auto;
    right: -4rem;
    transform: rotate(
8deg);
}

/* Compatibility  */

@container related-post (max-width: 320px){
    article.txb-blog-related-post {
        flex-direction: column;
    }
    .txb-blog-related-post--thumb {
        width: 100%;
        aspect-ratio: 3/1;
    }
}


@media screen and (min-width: 1400px) {
    .container.txb-blog, .container-lg.txb-blog, .container-md.txb-blog, .container-sm.txb-blog, .container-xl.txb-blog, .container-xxl.txb-blog {
        max-width: 1320px;
    }
}

@media screen and (max-width: 1400px) {
    .container.txb-blog:not(.toc-enabled) {
        max-width: 1280px;
    }
}

@media screen and (max-width: 1280px) {
    .container.txb-blog:not(.toc-enabled) {
        max-width: 100%;
    }
    .col-md-2.empty-col {
        display: none;
    }
    .txb-blog 
    .txb-blog-inner-section 
    .col-md-8 {
        flex-grow: 1;
    }
}

@media screen and (max-width: 1140px) {
    .container.txb-blog:not(.toc-enabled) {
        max-width: 100%;
    }
    .container.txb-blog:not(.toc-enabled)
    .txb-blog-inner-section 
    .col-md-8 {
        width: 80%;
    }
}

@media screen and (max-width: 992px){

    .txb-blog 
    .txb-blog-inner-section 
    .col-md-2 {
        display: none;
    }

    .container {
        max-width: 100%!important;
    }

    .txb-blog 
    .txb-blog-inner-section 
    .txb-toc-mobile {
        max-width: 100%;
        display: block;
        visibility: visible;
    }

    .txb-blog .txb-blog-inner-section .col-md-8 {
        max-width: 100%;
    }

}

@media screen and (max-width: 900px){
    #toc_main 
    .txb-blog-tc-trigger {
        display: inline-flex;
    }
    #toc_main[data-status="hidden"] 
    .txb-blog-tc-trigger:after {
        transform: rotate(0deg);
        transition: 0.2s ease;
    }
}

@media screen and (max-width: 767px){
    .txb-blog 
    .txb-blog-inner-section 
    .txb-toc-mobile {
        max-width: 100%;
    }

    .container {
        max-width: 100%!important;
    }
}
@media screen and (max-width: 520px){
    .txb-blog 
    .txb-blog-contents-inner.p-5 {
        padding: 2rem!important;
    }
}

