body {
    text-rendering: optimizeLegibility;
    background-color: #fdfdff;

}

.in {
   color: rgb(255, 255, 255)
}

.intro {
    /* color: #EDEDED; */
    color: var(--jaguar);
    font-size: 30px;
    font-family: 'Didact Gothic', Arial, sans-serif;
    font-style: normal;
    font-weight: 275;
}

.intro-welcome {
    color: rgb(116 177 231);
    font-size: 50px;
    font-family: 'Didact Gothic', Arial, sans-serif;
    font-style: normal;
    font-weight: 275;
}

.svj-button {
    background-color: var(--header-text);
    color:  var(--jaguar);
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border: 2px solid var(--jaguar);
    border-radius: 10px;
    width: 202px;
}

.svj-button-c {
    background-color: var(--header-text);
    color:  var(--jaguar);
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border: 2px solid var(--jaguar);
    border-radius: 10px;
}


.btn-40px {
    color: var(--jaguar)!important;
    font-family: "Architects Daughter", Architects Daughter, Arial, serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 200;
}

.btn-25px {
    color: var(--jaguar)!important;
    font-family: "Architects Daughter", Architects Daughter, Arial, serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 200;
}

.mt-10 {
    margin-top: 10px;
}

.mt-26 {
    margin-top: 26px;
}

.blog-header {
    background-size: cover;
    background-position: center;
    height: 750px;
    color: var(--dim-white);
}

.blog-header .ld {
    margin-top: 50px;
    /* margin-left: 20px; */

}

/* Apply the font to your main text header */
.main-header {
    font-family: 'Didact Gothic', Arial, sans-serif;
    font-weight: 700; /* Bold weight */
    font-size: 48px; /* Font size of 48 pixels */
    color: var(--header-text);
}

 /* Apply the font to your text */
 .sub-text {
    font-family: 'Didact Gothic', Arial, sans-serif;
    font-weight: 400; /* Regular weight */
    font-size: 25px; /* Font size of 16 pixels */
    color: #fff;
    line-height: 1.5;
    margin-top: inherit;
}

/* REVISIT SNIPPETS */
/* for the videos inside streamfields */
.block-video-right {
    float: right;
    margin-left: 20px;
    font: italic 12px Georgia, serif;
}
.block-video-left {
    float: left;
    margin-right: 20px;
    font: italic 12px Georgia, serif;
}
.block-video-center {
    display: grid;
    /* margin auto works here because embed adapts to size of container */
    margin: auto;
    overflow: hidden;
    font: italic 12px Georgia, serif;
}
.block-video-small {
    width: 240px;
    height: auto;
}
.block-video-medium {
    width: 480px;
    height: auto;
    max-width: 100%;
}
.block-video-large {
    width: 2400px;
    height: auto;
    max-width: 100%;
}


/* to make embedded objects responsive https://docs.wagtail.io/en/v2.9/topics/writing_templates.html#responsive-embeds */
.rich-text img {
    max-width: 100%;
    height: auto;
}
.responsive-object {
    position: relative;
}
.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.badge {
    color: black !important;
}

.caption-text {
    font-size: initial;
}

.block-video-center {
    display: grid;
    /* margin auto works here because embed adapts to size of container */
    margin: auto;
    overflow: hidden;
    font: italic 12px Georgia, serif;
}

.video-wrapper {
    margin: 1.5em 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important; /* Force iframe to take full width */
    height: 100% !important; /* Force iframe to take full height */
    border: 0;
}

.video-caption {
    margin-top: 10px;
    font-size: 1rem;
    color: #666;
}

.flt-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

.flt-left {
    float: left;    
    margin: 0 15px 0 0;
}

.flt-right {
    float: right;    
    margin: 0 0 0 15px;
}

.caption-text {
    font-size: initial;
}


/* xxl devices up */
@media only screen and (min-width: 1400px) {
    .shift-div {
        margin-top: 150px;
    }
}

/* xl devices up */
@media only screen and (min-width: 1200px) {
    .shift-div {
        margin-top: 150px;
    }
}

/* lg devices up */
@media only screen and (min-width: 992px) {
    .shift-div {
        margin-top: 150px;
    }
}

/* md devices up */
@media only screen and (min-width: 768px) {
    .shift-div {
        margin-top: 100px;
    }
}

/* Extra small "sm" devices (phones, 576px and down) */
@media only screen and (max-width: 576px) {
    
}

/* xs  devices up */
@media only screen and (max-width: 400px) {
   
}

/* Community Snippet Styles */
.community-snippet-section {
    margin: 3rem 0;
    background: #f8f9fa;
    padding: 3rem 0;
}

.community-snippet-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.community-snippet-title {
    color: #2c3e50;
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.community-snippet-title i {
    font-size: 1.5rem;
    color: rgb(48, 152, 243);
}

.community-snippet-subtitle {
    color: #6c757d;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.community-snippet-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Forum Cards */
.forum-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid #e9ecef;
}

.forum-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.forum-card-locked {
    cursor: pointer;
}

.forum-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgb(48, 152, 243), rgb(60, 170, 255));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.forum-icon i {
    font-size: 1.5rem;
    color: white;
}

.forum-content h5.forum-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.forum-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Forum Topics */
.forum-topics {
    margin-bottom: 2rem;
}

.topic-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-item i {
    color: rgb(48, 152, 243);
    width: 20px;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.topic-item span:first-of-type {
    flex: 1;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
}

.topic-count {
    background: #e9ecef;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

/* Join Conversation Button */
.join-conversation-btn {
    background: transparent;
    border: none;
    color: rgb(48, 152, 243);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    transition: all 0.3s ease;
}

.join-conversation-btn:hover {
    color: rgb(40, 130, 220);
    text-decoration: none;
}

.join-conversation-btn i {
    font-size: 0.8rem;
}

/* Recent Activity Compact */
.recent-activity-section {
    border-top: 1px solid #f8f9fa;
    padding-top: 1rem;
}

.activity-header {
    color: #495057;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-header i {
    color: rgb(48, 152, 243);
    font-size: 0.85rem;
}

.activity-feed-compact {
    max-height: 200px;
    overflow-y: auto;
}

.feed-item-compact {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f8f9fa;
}

.feed-item-compact:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feed-avatar-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgb(48, 152, 243), rgb(60, 170, 255));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feed-avatar-small i {
    color: white;
    font-size: 0.8rem;
}

.feed-content-compact {
    flex: 1;
    min-width: 0;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.feed-header strong {
    color: #2c3e50;
    font-size: 0.85rem;
    font-weight: 600;
}

.feed-header .feed-time {
    color: #6c757d;
    font-size: 0.75rem;
}

.feed-content-compact p {
    color: #495057;
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Community Stats Summary */
.community-stats-summary {
    background: rgba(48, 152, 243, 0.05);
    border-radius: 12px;
    padding: 2rem 1rem;
    margin: 2rem 0;
}

.stat-summary {
    padding: 0.5rem;
}

.stat-number-large {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgb(48, 152, 243);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label-large {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Forum Overlay for Unauthenticated Users */
.forum-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(48, 152, 243, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.forum-card-locked:hover .forum-overlay {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.overlay-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.overlay-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.overlay-btn {
    background: white;
    color: rgb(48, 152, 243);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.overlay-btn:hover {
    background: #f8f9fa;
    color: rgb(40, 130, 220);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Ready to Connect Section */
.ready-to-connect {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.ready-to-connect h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ready-to-connect p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.connect-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-connect-primary {
    background: linear-gradient(135deg, rgb(48, 152, 243), rgb(40, 130, 220));
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(48, 152, 243, 0.2);
}

.btn-connect-primary:hover {
    background: linear-gradient(135deg, rgb(40, 130, 220), rgb(30, 110, 200));
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(48, 152, 243, 0.3);
}

.btn-connect-secondary {
    background: transparent;
    color: rgb(48, 152, 243);
    padding: 1rem 2rem;
    border: 2px solid rgb(48, 152, 243);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-connect-secondary:hover {
    background: rgb(48, 152, 243);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Community Responsive Design */
@media (max-width: 768px) {
    .community-snippet-section {
        padding: 2rem 0;
    }
    
    .community-snippet-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .community-snippet-title {
        font-size: 1.6rem;
    }
    
    .community-snippet-content {
        padding: 0 1rem;
    }
    
    .forum-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .ready-to-connect {
        margin-top: 2rem;
        padding: 2rem 1rem;
    }
    
    .ready-to-connect h3 {
        font-size: 1.5rem;
    }
    
    .connect-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-connect-primary,
    .btn-connect-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .community-snippet-title {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .community-snippet-subtitle {
        font-size: 1rem;
    }
    
    .forum-card {
        padding: 1.25rem;
    }
    
    .forum-icon {
        width: 50px;
        height: 50px;
    }
    
    .forum-icon i {
        font-size: 1.25rem;
    }
    
    .overlay-content {
        padding: 1.5rem;
    }
    
    .overlay-content i {
        font-size: 2rem;
    }
    
    .overlay-content h4 {
        font-size: 1.1rem;
    }
}


