/* Glass gradient navbar */
.fa-glass-nav {
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .55));
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

/* Main cards style */
.card {
    border-radius: .75rem;
}
html {
    font-size: 62.5%;
}
/* Footer */
.fa-footer {
    background: #fafafa;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

/* Ad slot placeholder (replace with your ad scripts later) */
.ad-slot {
    border: 1px dashed rgba(0, 0, 0, .15);
    border-radius: .5rem;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-slot .ad-placeholder {
    opacity: .6;
}

/* Optional sticky behavior for large screens */
@media (min-width: 992px) {
    .position-lg-sticky {
        position: sticky;
    }
}

/* === Panchang sizing vars + fallbacks === */
:root {
    --gap: .25rem;
    --cell-w: 135px;
    --cell-h: 110px;
    --rail: 42px;
}

@media (max-width: 576px) {
    :root {
        --cell-w: 100px;
        --cell-h: 95px;
        --rail: 36px;
    }
}

/* Scroll container to avoid compression on mobile */
.fa-grid-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
}

/* Weekday pills (top layout only) */
.fa-week-pills {
    display: grid;
    grid-auto-flow: row;
    /* force row placement */
    grid-template-columns: repeat(7, var(--cell-w, 135px));
    gap: var(--gap);
    width: max-content;
    margin-bottom: .25rem;
}

.fa-week-pills>span {
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 999px;
    padding: .15rem .5rem;
    font-size: .70rem;
    color: #555;
}

/* Calendar grid base */
.fa-grid {
    display: grid;
    grid-auto-flow: row;
    /* prevent column-wise drifting */
    grid-template-columns: repeat(7, var(--cell-w, 135px));
    gap: var(--gap);
    width: max-content;
    /* enables horizontal scroll via wrapper */
}

/* Left layout: 1 rail + 5 week-columns (cap) */
.fa-grid.fa-week-left {
    grid-template-columns: var(--rail, 42px) repeat(5, var(--cell-w, 135px));
}

.fa-weekname {
    display: flex;
    align-items: start;
    justify-content: end;
    padding-top: .25rem;
    padding-right: .25rem;
    font-weight: 600;
    color: #555;
    font-size: .8rem;
    width: var(--rail, 42px);
    /* ensure label cell width matches rail */
}

/* Cells */
.fa-cell {
    position: relative;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: .5rem;
    padding: .25rem .35rem .35rem;
    width: var(--cell-w, 135px);
    /* hard size with fallbacks */
    min-width: var(--cell-w, 135px);
    height: var(--cell-h, 110px);
    overflow: hidden;
    background: #fff;
}

.fa-cell:hover {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .06) inset;
}

/* Inside the cell */
.fa-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .15rem;
}

.fa-daynum {
    font-weight: 700;
}

.fa-chandra {
    font-size: .72rem;
    color: #333;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: .5rem;
    padding: .05rem .35rem;
    background: linear-gradient(180deg, #fff, #f7f7f7);
}

.fa-adhika {
    margin-left: .25rem;
    font-size: .62rem;
}

.fa-line {
    font-size: .74rem;
    line-height: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sankranti */
.fa-sank::after {
    content: "⚑";
    position: absolute;
    top: .2rem;
    left: .2rem;
    font-size: .85rem;
    color: #d58512;
}

/* Hide top pills when using weekday-left */
#wkHeader {
    display: none;
}

.fa-controls {
    display: grid;
    gap: .5rem;
    margin: 0 0 .75rem 0
}

.fa-row {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap
}

#btn-prev,
#btn-next,
#btn-today {
    padding: .4rem .6rem;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: .5rem;
    cursor: pointer
}

#month-picker {
    padding: .35rem .5rem;
    border: 1px solid #ccc;
    border-radius: .5rem;
    min-width: 10.5rem
}

.fa-city-wrap {
    position: relative;
    min-width: 260px;
    flex: 1
}

#city-input {
    width: 100%;
    padding: .45rem .6rem;
    border: 1px solid #ccc;
    border-radius: .5rem
}

.fa-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 .5rem .5rem;
    max-height: 220px;
    overflow: auto;
    display: none
}

.fa-item {
    padding: .45rem .6rem;
    cursor: pointer
}

.fa-item[aria-selected="true"],
.fa-item:hover {
    background: #f3f6ff
}

.fa-muted {
    color: #666;
    font-size: .85em
}
/* Today's date highlight */
.fa-cell.fa-today {
  outline: 2px solid #0d6efd;           /* Bootstrap primary */
  box-shadow: 0 0 0 3px rgba(13,110,253,.15) inset;
  border-radius: .5rem;
}
.fa-cell.fa-today .fa-daynum {
  color: #0d6efd;
  font-weight: 700;
}
/* Nav bar css new */
.fa-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(17, 17, 24, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fa-topbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.fa-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.fa-brand-logo {
    height: 44px;
    width: auto;
    display: block;
}

.fa-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
}

.fa-nav-link {
    color: #e5c46a !important;
    text-decoration: none !important;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 500;
    transition: background .2s ease, color .2s ease;
}

.fa-nav-link:hover,
.fa-nav-link:focus {
    color: #f4d87c !important;
    background: rgba(229,196,106,0.10);
}

.fa-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.fa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all .2s ease;
}

.fa-btn-ghost {
    color: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.14);
    background: transparent;
}

.fa-btn-ghost:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.fa-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #b20776, #7c3aed);
    border: 0;
}

.fa-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.fa-account-menu {
    position: relative;
}

.fa-account-summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    cursor: pointer;
    color: #e5c46a;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(229,196,106,0.18);
}

.fa-account-summary::-webkit-details-marker {
    display: none;
}

.fa-account-label {
    font-weight: 600;
}

.fa-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.88);
}

.fa-status-badge.is-premium {
    background: rgba(25,135,84,0.18);
    color: #86efac;
}

.fa-account-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    padding: 8px;
    border-radius: 16px;
    background: #171722;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}

.fa-account-dropdown a {
    display: block;
    text-decoration: none !important;
    color: #e5c46a !important;
    padding: 10px 12px;
    border-radius: 10px;
}

.fa-account-dropdown a:hover {
    background: rgba(229,196,106,0.08);
    color: #f4d87c !important;
}

.canvas_open {
    margin-left: auto;
    display: none;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.canvas_open a {
    display: inline-block;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(229,196,106,0.28);
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    position: relative;
    padding: 0;
    text-decoration: none;
}

.canvas_open a span {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #e5c46a;
    border-radius: 999px;
    display: block;
    transform: translateX(-50%);
}

.canvas_open a span:nth-child(1) { top: 15px; }
.canvas_open a span:nth-child(2) { top: 22px; }
.canvas_open a span:nth-child(3) { top: 29px; }

@media (max-width: 1199.98px) {
    .fa-nav-link {
        padding: 8px 10px;
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    .fa-topbar-inner {
        min-height: 64px;
        gap: 12px;
    }

    .fa-brand-logo {
        height: 38px;
    }

    .fa-desktop-nav,
    .fa-topbar-actions {
        display: none !important;
    }

    .canvas_open {
        display: flex !important;
    }

    .mobile-menu-area .offcanvas_menu_wrapper {
        margin-top: 60px;
        height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .mobile-menu-area .off_canvars_overlay {
        top: 60px;
        height: calc(100vh - 60px);
    }
}
/*community css*/
.fa-community-identity {
    padding: 10px 0;
}

.fa-community-identity__pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 25px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,245,245,0.98));
    border: 1px solid rgba(229, 196, 106, 0.30);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: all .2s ease;
}

.fa-community-identity__pill:hover {
    text-decoration: none;
    background: #fff;
    border-color: rgba(178, 7, 118, 0.24);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.fa-community-identity__name {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

.fa-community-identity__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(229, 196, 106, 0.18);
    border: 1px solid rgba(229, 196, 106, 0.28);
    color: #7a5a00;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .fa-community-identity__pill {
        min-height: 42px;
        padding: 8px 14px;
        gap: 10px;
    }

    .fa-community-identity__name {
        font-size: 14px;
    }

    .fa-community-identity__badge {
        font-size: 12px;
    }
}
.fa-emoji-picker-wrap {
    position: relative;
    display: inline-block;
}

.fa-emoji-toggle {
    min-height: 38px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
}

.fa-emoji-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 260px;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.fa-emoji-btn {
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    padding: 6px;
    border-radius: 10px;
    cursor: pointer;
}

.fa-emoji-btn:hover {
    background: rgba(0,0,0,0.06);
}
.fa-profile-avatar__img,
.fa-profile-avatar__fallback {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa-profile-avatar__img {
    object-fit: cover;
}

.fa-profile-avatar__fallback {
    background: linear-gradient(135deg, rgba(229,196,106,0.22), rgba(178,7,118,0.10));
    border: 1px solid rgba(229,196,106,0.30);
    font-size: 28px;
    font-weight: 700;
    color: #6b4e00;
}

.fa-profile-stat {
    min-width: 110px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fffaf0;
    border: 1px solid rgba(229,196,106,0.22);
}

.fa-profile-stat__num {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #222;
}

.fa-profile-stat__label {
    font-size: 12px;
    line-height: 1.35;
    color: #666;
    font-weight: 600;
}

.fa-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 16px;
    line-height: 1;
}
.fa-inline-name {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
}

.fa-inline-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    flex-shrink: 0;
}

.fa-inline-badge svg {
    width: 14px;
    height: 14px;
    display: block;
}

.fa-inline-badge--premium svg {
    fill: #d4a017;
}
.fa-inline-badge--moderator svg {
    width: 16px;
    height: 16px;
    display: block;
}
.fa-inline-badge--admin svg {
    fill: #c69214;
}
.fa-profile-role {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    color: #8a6a00;
}
.fa-inline-badge--moderator .fa-mod-shield {
    fill: #5b8def;
}

.fa-inline-badge--moderator .fa-mod-check {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.fa-topic-badge{
    display:inline-flex;
    align-items:center;
    padding:.28rem .6rem;
    border-radius:999px;
    font-size:.78rem;
    font-weight:700;
    line-height:1;
    border:1px solid rgba(0,0,0,.08);
    background:#f8f9fa;
    color:#222;
}

.fa-topic-announcement{
    background:#fff3cd;
    color:#7a4b00;
    border-color:#f0d98a;
}

.fa-topic-notice{
    background:#fdecef;
    color:#9f1239;
    border-color:#f5c2cb;
}

.fa-topic-important{
    background:#fff0f0;
    color:#b42318;
    border-color:#f3b4b4;
}

.fa-topic-pinned{
    background:#eef4ff;
    color:#1d4ed8;
    border-color:#bfd3ff;
}

.fa-topic-admin{
    background:#efe7ff;
    color:#6d28d9;
    border-color:#d8c4ff;
}

.fa-topic-moderator{
    background:#ecfeff;
    color:#0f766e;
    border-color:#b7f0ea;
}

.fa-topic-staff{
    background:#fff7e6;
    color:#a16207;
    border-color:#f5dd9d;
}
/*community css end*/
.fa-meta {
    font-size: 0.95rem;
    line-height: 1.45;
}

.fa-meta-link {
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 500;
}

.fa-reply-context {
    font-size: 10px;
    line-height: 1.45;
    color: #6b7280;
    font-weight: 500;
}
@media (max-width: 991.98px) {
    .fa-topbar .container-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .fa-topbar-inner {
        position: relative;
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .fa-brand-wrap,
    .fa-brand {
        display: flex;
        align-items: center;
        flex: 0 1 auto;
        min-width: 0;
    }

    .fa-brand-logo {
        display: block;
        height: 38px;
        width: auto;
        margin: 0;
    }

    .fa-desktop-nav,
    .fa-topbar-actions {
        display: none !important;
    }

    .canvas_open.d-lg-none {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        float: none !important;
        transform: none !important;
    }

    .canvas_open.d-lg-none a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        margin: 0 !important;
        padding: 0 !important;
        text-decoration: none;
        line-height: 1;
        position: relative !important;
    }

    .canvas_open.d-lg-none a span {
        position: absolute !important;
        left: 50%;
        width: 28px;
        height: 3px;
        margin: 0 !important;
        transform: translateX(-50%);
        display: block;
    }

    .canvas_open.d-lg-none a span:nth-child(1) { top: 14px; }
    .canvas_open.d-lg-none a span:nth-child(2) { top: 21px; }
    .canvas_open.d-lg-none a span:nth-child(3) { top: 28px; }
}
/*blog css start*/
.blog-page-title{
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: darkorange;
}

.blog-meta{
    font-size: 1.1rem;
    color: purple;
    text-decoration: none;
}

.blog-meta a{
    text-decoration: none;
}
.blog-pagination-wrap {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.blog-card-title{
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.blog-card-title a{
    color: darkgoldenrod;
}

.blog-card-excerpt{
    font-size: 1.2rem;
    line-height: 1.75;
    color: #4f5b6b;
    margin-bottom: 0;
}

.blog-card-img{
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.blog-post-card{
    overflow: hidden;
    border-radius: 16px;
}

.blog-post-media{
    display: block;
}

.blog-post-img{
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.blog-post-body{
    padding: 2.2rem;
}

.blog-breadcrumb{
    font-size: 1.35rem;
    line-height: 1.5;
}

.blog-breadcrumb a{
    text-decoration: none;
}

.blog-post-title{
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 700;
    color: #c96b1f;
    margin-bottom: .6rem;
}

.blog-post-date{
    font-size: 1.35rem;
    color: #8a237a;
    margin-bottom: 2rem;
}

.blog-content{
    font-size: 1.3rem;
    line-height: 1.95;
    color: #3f4d63;
}

.blog-content p{
    margin-bottom: 1.4rem;
}

.blog-content h2{
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 2.6rem;
    margin-bottom: 1rem;
    color: #244a82;
    font-weight: 700;
}

.blog-content h3{
    font-size: 1.4rem;
    line-height: 1.35;
    margin-top: 2rem;
    margin-bottom: .8rem;
    color: #244a82;
    font-weight: 700;
}

.blog-content ul,
.blog-content ol{
    margin-bottom: 1.4rem;
    padding-left: 2.2rem;
}

.blog-content li{
    margin-bottom: .6rem;
}

.blog-content img{
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 767.98px){
    .blog-post-body{
        padding: 1.6rem;
    }

    .blog-post-title{
        font-size: 2.4rem;
    }

    .blog-content{
        font-size: 1.6rem;
        line-height: 1.85;
    }

    .blog-content h2{
        font-size: 2.2rem;
    }

    .blog-content h3{
        font-size: 1.9rem;
    }
}
/*blog css end*/
/*footer icon change to svg*/
.fa-inline-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    margin-right: 0.45rem;
    flex: 0 0 auto;
    font-size: 1.2rem;
    text-decoration: none;
}

.fa-inline-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.f-widgets-item ul li a .fa-footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-right: 8px;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: currentColor;
    vertical-align: middle;
}

.f-widgets-item ul li a .fa-footer-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.f-widgets-item ul li a .fa-footer-text {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}
.canvas_open a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(212, 170, 70, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.canvas_open a span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    margin: 0 !important;
    background: #e0be63 !important;
    border-radius: 2px !important;
    opacity: 1 !important;
}

.canvas_open a:hover span,
.canvas_open a:focus span {
    background: #f3d57a;
}
.canvas_open {
    display: flex;
    align-items: center;
    justify-content: center;
}


.fa-menu-trigger {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(224, 190, 99, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    cursor: pointer;
}
.fa-menu-icon {
    display: block;
    width: 22px;
    height: 22px;
    fill: #e0be63;
    flex: 0 0 auto;
}

.fa-menu-trigger svg {
    width: 24px;
    height: 24px;
    stroke: #e0be63;
    stroke-width: 2.5;
    stroke-linecap: round;
    fill: none;
    display: block;
}

.fa-menu-trigger:hover svg,
.fa-menu-trigger:focus svg {
    stroke: #f3d57a;
}

.fa-menu-trigger:hover,
.fa-menu-trigger:focus {
    outline: none;
    border-color: rgba(243, 213, 122, 0.55);
}
/*footer icon change to svg - end*/
