.praisesquad-article1 {
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
}

.praisesquad-article1 header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
    vertical-align: middle;
    border-style: none;
    z-index: -1;
}

.praisesquad-article1 header .container {
    text-align: center;
}

.praisesquad-article1 .light-mode {
    color: white;
}

.praisesquad-article1 .dark-mode {
    color: black;
}

.praisesquad-article1 .brand-light-mode {
    color: #a274ff;
}

.praisesquad-article1 .brand-dark-mode {
    color: #120037;
}

.full-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.header-title {
    padding-bottom: 1rem;
}

.header-title h1 {
    font-size: 3rem;
}

.header-title h2 {
    font-size: 2rem;
}

.header-meta {
    font-size: 1rem;
    font-family: 'Noto Sans Thai', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-separator {
    position: relative;
    width: 39px;
    margin: 0 12px;
    display: inline-block;
}

.time-separator::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    height: 3px;
    width: 100%;
    background-color: currentColor;
}

.praisesquad-article1 .content {
    padding-top: clamp(70px, 6vw, 100px);
    padding-bottom: clamp(70px, 6vw, 100px);
    padding-right: 1rem;
    font-size: 24px;
    line-height: 1.42;
    background-image: linear-gradient(to bottom, #F1eee5, #f1eee5, #f1eee5);
    position: relative;
    z-index: 1;
}

.article-social {
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 2;
    font-size: 16px;
}

.s-options a {
    color: black;
    display: flex;
    align-items: baseline;
    text-transform: uppercase;
    font-weight: 500;
    padding: 12px 10px;
    border-bottom: 1px solid #58585b;
    margin-bottom: 4px;
}

.s-options span {
    font-family: 'Noto Sans Thai', sans-serif;
    padding-left: 5px;
    font-weight: 400;
    float: right;
    text-transform: uppercase;
}

.article-content {
    padding-left: 1vw;
    padding-right: 1vw;
    font-size: 1.20rem;
    font-family: "Noto Serif Thai", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.article-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-content .fullsize-bible {
    padding: 0;
    padding-left: 2rem;
    margin-left: 3rem;
    border-style: solid; 
    border-width: 0 0 0 4px;
    border-color: #a274ff;
    color: #120037;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-family: "Noto Sans Thai Looped", sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
}

.article-content .hebrew-text {
    padding: 0;
    padding-left: 2rem;
    margin-left: 3rem;
    border-style: solid; 
    border-width: 0 0 0 4px;
    border-color: #2884a6;
    color: #120037;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.article-content .hebrew-text p {
    margin: 0;
}

.article-content .hebrew-text p[lang="hebrew"] {
    font-family: "Frank Ruhl Libre", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 2rem;
}

.article-content .hebrew-text p[lang="thai"] {
    font-family: "Noto Sans Thai Looped", sans-serif;
    font-weight: 300;
    font-size: 1rem;
}

.article-content h1 {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #120037;
}

.bible-ref {
    text-decoration: none;
    position: relative;
}

.bible-ref::after {
    content: ''; /* Empty content for the underline */
    display: block;
    height: 2px; /* Set line width */
    background-color: #a274ff; /* Set your desired color */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0; /* Position under the text */
    transform: scaleX(1); /* Default scale */
    transition: transform 0.3s ease; /* Optional animation */
}

.bible-ref:hover::after {
    background-color:#120037;
}

.full-body-block {
  padding: 0       !important;   
}

.article-content .floating-left {
    float: left;
    width: 25%;
    height: auto;
    margin-right: 20px;

}

.article-toc {
    position: fixed;
    left: 20px;
    top: 20px;
    width: 260px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
    font-family: 'Sarabun', 'Noto Sans Thai', sans-serif;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.article-toc.visible {
    opacity: 1;
    pointer-events: auto;
}

.article-toc::-webkit-scrollbar {
    width: 4px;
}

.article-toc::-webkit-scrollbar-track {
    background: transparent;
}

.article-toc::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.article-toc::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.toc-header {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 4px;
}

.toc-list a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toc-list a:hover {
    background: #f3f4f6;
    color: #111827;
    padding-left: 16px;
}

.toc-list a.active {
    background: #a274ff;
    color: #ffffff;
    font-weight: 500;
}

.toc-list a.toc-h1 {
    font-weight: 500;
    font-size: 15px;
}

.toc-list a.toc-h2 {
    padding-left: 24px;
    font-size: 13px;
    color: #6b7280;
}

.toc-list a.toc-h2:hover {
    padding-left: 28px;
}

.toc-list a.toc-h2.active {
    background: #b794ff;
    color: #ffffff;
}

@media (max-width: 768px) {
    /* Make row a flex container on mobile */
    .content .row {
        display: flex;
        flex-direction: column;
    }

    /* Language switcher at top on mobile - minimal style */
    .language-switcher-container {
        display: block !important;
        position: relative;
        left: auto;
        width: 100%;
        margin: 0.5rem 0;
        padding: 0;
        order: -1;
    }

    .language-switcher {
        justify-content: center;
        padding-top: 0;
        margin-top: 0;
        border-top: none;
        gap: 8px;
    }

    .lang-btn {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* Hide social buttons on mobile */
    .article-social {
        display: none;
    }

    /* Optimize mobile typography */
    .header-title h1 {
        font-size: 2rem;
    }

    .header-title h2 {
        font-size: 1rem;
    }

    /* Optimize content spacing on mobile */
    .content .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .article-content {
        font-size: 1.10rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .article-content .fullsize-bible {
        font-size: 1rem;
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }

    .article-content .hebrew-text {
        font-size: 1rem;
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }
}

@media (max-width: 1399px) {
    .article-toc {
        display: none !important;
    }
}

@media print {
    .full-header {
        min-height: auto;
        color: #120037       !important;
    }

    .article-content {
        font-size: 120%     !important;
    }

    .fullsize-bible {
        font-size: 115%     !important;
    }

    .hebrew-text {
        font-size: 115%     !important;
    }

    .article-toc {
        display: none !important;
    }

    .no-print {
        display: none;
    }

    .language-switcher {
        display: none !important;
    }
}

/* Language Switcher Container */
.language-switcher-container {
    display: none;
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Desktop: Show in sidebar below social buttons */
@media (min-width: 769px) {
    .article-social {
        position: absolute;
        left: 100%;
        top: 0;
        z-index: 2;
    }

    .language-switcher-container {
        display: block;
        position: absolute;
        left: 100%;
        top: 160px;
        z-index: 2;
        width: max-content;
    }
}

.lang-btn {
    padding: 8px 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: #fff;
    white-space: nowrap;
}

.lang-btn:hover:not(.disabled) {
    background-color: #a274ff;
    color: white;
    border-color: #a274ff;
    text-decoration: none;
}

.lang-btn.active {
    background-color: #a274ff;
    color: white;
    border-color: #a274ff;
}

.lang-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #f5f5f5;
}