body {
    font-family:  "Open Sans";
    margin: auto;
    font-size: 14px;
    background-color: #18191a;
    color: #d4d4d4;
    position: relative;
}

.body {
  display: flex;
  flex-direction: column;
  min-height: 99vh;
}

h1, h2, h3, h4 {
    padding: 0;
    margin: 0;
    font-weight: lighter;
}

h1 {
    font-size: 25px;
    line-height: 30px;
    text-align: center;
    margin: 20px auto;
}

h2 {
    font-size: 22px;
    line-height: 25px;
}

h3 {
    font-size: 18px;
    line-height: 22px;
}

h4 {
    font-size: 15px;
    line-height: 18px;
    font-style: italic;
}

a {
    text-decoration: none;
    color: #66BB6A !important;
}

/* Definition of small fonted text, example: footer */
.smoll {
    font-size: 12px !important;
    line-height: 14px;
}

/* Topbar header section */
.topbar {
    position: sticky;
    margin: 0;
    top: 0;
    width: 100%;
    border-bottom: 1px solid #242526;
}

.topbar-header {
    width: 200px;
}

/* Topbar menu section */
nav {
  width: 70%;
  background-color: #18191a !important;
  list-style: none;
  display: flex;
  margin: 0 auto;
  padding: 0;
}

nav a,
nav .menu,
.menu a {
  padding: 15px 10px;
  font-size: 15px;
  align-content: center;
  color: #d4d4d4;
}


/* Topbar - Social */
.social {
    justify-content: center;
    margin: 0.5em 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.social-icon a {
    padding: 8px;
    box-sizing: border-box;
    display:inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 19px;
    transition: color 0.3s;
}

.social-icon img {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50%;
}

/* Home page */
.events {
    width: 100%;
}

.events-heading {
    margin: 20px 0 10px 0;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    border-bottom: 1px solid #383838;
    padding-bottom: 6px;
}

.event {
    background-color: #242526;
    padding: 10px 0;
    margin-bottom: 15px;
}

.featured-event {
    margin: 0 0 20px 0;
    padding: 16px;
    border-left: 4px solid #2E7D32;
}

.event h2 {
    color: #66BB6A;
}

.event div {
    margin-top: 5px;
}

.event .date,
.event .location {
    font-size: 20px;
    line-height: 30px;
}

.past-events {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.past-events-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.past-events-list .invitation-card {
    margin: 0;
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upcoming-list .invitation-card {
    margin: 0;
}

.post-header .invitation-card {
    margin: 0;
}

.post-header {
    margin-bottom: 28px;
}

.no-events {
    margin: 20px 0;
    color: #999;
    text-align: center;
}

/* Posts */
main {
    width: 60%;
    margin: 30px auto 0 auto;
    flex: 1;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    transition: all 1s;
}

/* Feed (tag / archive / category pages) */
.feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 10px;
}

.post-card {
    background: #242526;
    border-radius: 6px;
    overflow: hidden;
}

.post-card-cover img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.post-card-body {
    padding: 18px 22px;
}

.post-card-meta {
    color: #666;
    margin-bottom: 6px;
}

.post-card-author {
    color: #555;
}

.post-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.post-card-title a {
    color: #e0e0e0 !important;
}

.post-card-title a:hover {
    color: #fff !important;
}

.post-card-excerpt {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.post-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.post-card-tag {
    font-size: 11px;
    color: #555 !important;
    padding: 2px 6px;
    border-radius: 3px;
    background: #1e1f20;
}

iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Post - Tags */
.tags {
    text-align: right;
    margin-bottom: 0em;
}

.tags a {
    color: #6c6f72 !important;
    border-radius: 5px;
    padding: 0.25em;
}

.tags a:hover {
    color: #9fa5aa !important;
}

/* Events */
.event{
    display: flex; 
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* Contact page */
.contact-page {
    padding-top: 16px;
}

/* Contact CTA row — WhatsApp + Calendar side by side */
.contact-cta-row {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.contact-cta-card {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 10px;
    padding: 20px 22px;
    text-decoration: none;
    transition: background 0.15s;
    flex-wrap: wrap;
}

.contact-cta-wa {
    background: #1a2e1c;
    border: 1px solid #2d4a30;
}

.contact-cta-wa:hover {
    background: #1e3520;
}

.contact-cta-cal {
    background: #0d1e33;
    border: 1px solid #1a3a5c;
}

.contact-cta-icon {
    font-size: 36px;
    flex-shrink: 0;
    line-height: 1;
}

.contact-cta-wa .contact-cta-icon { color: #25D366; }
.contact-cta-cal .contact-cta-icon { color: #4A90D9; }

.contact-cta-body {
    flex: 1;
    min-width: 120px;
}

.contact-cta-title {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 3px;
}

.contact-cta-sub {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}

.contact-cta-btn {
    flex-shrink: 0;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.contact-cta-btn-wa  { background: #25D366; }
.contact-cta-wa:hover .contact-cta-btn-wa { background: #128C7E; }

.contact-cta-btn-cal { background: #1565C0; cursor: pointer; }
.contact-cta-btn-cal:hover { background: #0d47a1 !important; }

.contact-sub-wrapper {
    position: relative;
    flex-shrink: 0;
}

.contact-sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #242526;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    min-width: 200px;
    z-index: 300;
    overflow: hidden;
}

.contact-sub-menu.cal-dots-open {
    display: block;
}

/* Three-dot calendar menu */
.cal-dots-wrapper {
    position: relative;
}

.cal-dots-btn {
    background: none;
    border: none;
    color: #555;
    font-size: 22px;
    padding: 4px 10px;
    cursor: pointer;
    transition: color 0.15s;
    line-height: 1;
}

.cal-dots-btn:hover {
    color: #e0e0e0;
}

.cal-dots-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #242526;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    min-width: 200px;
    z-index: 300;
    overflow: hidden;
}

.cal-dots-menu.cal-dots-open {
    display: block;
}

.cal-dots-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #ccc !important;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.1s;
}

.cal-dots-item:hover {
    background: #2d2e30;
    color: #fff !important;
}

.cal-dots-item i {
    width: 14px;
    text-align: center;
    color: #666;
}

.contact-intro {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-section-heading {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #555;
    font-weight: 600;
    border-bottom: 1px solid #2a2b2c;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.contact-members-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.contact-member-card {
    width: 220px;
    flex-shrink: 0;
}

.contact-member-card {
    background: #1e1f20;
    border-radius: 10px;
    padding: 24px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-member-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
    border: 2px solid #2a2b2c;
}

.contact-member-name {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 4px;
}

.contact-member-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555;
    margin-bottom: 14px;
}

.contact-member-bio {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    text-align: left;
    flex: 1;
    margin-bottom: 14px;
}

.contact-member-bio-ro {
    margin-top: 8px;
    font-style: italic;
    color: #666;
    font-size: 12px;
}

.contact-member-social {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.contact-member-social a {
    color: #444 !important;
    font-size: 17px;
    padding: 5px 6px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.contact-member-social a:hover {
    color: #aaa !important;
    background: #2a2b2c;
}

.contact-member-since {
    font-size: 11px;
    color: #3a3b3c;
    margin-top: 4px;
}


/* page settings */
.page{
    width: 75%;
    margin: 0 auto;
}

/* Table */
table {
  margin:10px 0;
  border-collapse: collapse;
  Width: 100%;
}

th, td {
  vertical-align: top;
  padding: 10px;
}

th {
  border-bottom: 1px solid #66BB6A;
}

th:not(:last-child),
td:not(:last-child) {
  border-right: 1px solid #66BB6A;
}

/* HR — thin fading separator */
hr {
    border: none;
    border-top: 1px solid transparent;
    width: 80%;
    margin: 1.5em auto;
    border-image: linear-gradient(to right, transparent 0%, #555 10%, #555 90%, transparent 100%) 1;
}

/* Footer */
footer {
    padding: 16px 0 12px;
}

.footer {
    color: #888 !important;
    text-align: center;
    margin-top: 5px;
}

.footer a {
    color: #888 !important;
}

/* WhatsApp floating button — bottom right */
.wa-side-tab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25D366;
    color: #fff !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 30px;
    text-decoration: none;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transition: background 0.2s, box-shadow 0.2s;
}

.wa-side-tab:hover {
    background: #128C7E;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.wa-side-icon {
    font-size: 22px;
    line-height: 1;
}

.wa-side-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff !important;
}

/* Topbar dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-trigger::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.5;
    vertical-align: middle;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #222324;
    border-radius: 8px;
    min-width: 210px;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    padding: 6px;
    overflow: hidden;
}

.nav-dropdown-open .nav-dropdown-menu {
    display: block;
}

.nav-dd-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #bbb !important;
    border-radius: 5px;
    transition: background 0.12s, color 0.12s;
}

.nav-dd-item:hover {
    background: #2a2b2c;
    color: #fff !important;
}

.nav-dd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Activities index page */
.activities-page {
    padding-top: 24px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.activity-bubble {
    background: #1e1f20;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s, box-shadow 0.15s;
}

.activity-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.activity-bubble-header {
    height: 6px;
}

.activity-bubble-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-bubble-name {
    font-size: 20px;
    font-weight: 600;
    color: #e0e0e0 !important;
    margin-bottom: 12px;
    line-height: 1.2;
}

.activity-bubble-preview {
    font-size: 13px;
    color: #888;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 18px;
}

.activity-bubble-cta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666 !important;
    align-self: flex-start;
    transition: color 0.15s;
}

.activity-bubble:hover .activity-bubble-cta {
    color: #aaa !important;
}

/* Activity page — tabs */
.activity-page {
    padding-top: 16px;
}

.act-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.act-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #e0e0e0;
    text-align: left;
}

.act-tabs {
    display: flex;
    gap: 6px;
    background: #1e1f20;
    padding: 4px;
    border-radius: 30px;
}

.act-tab {
    background: none;
    border: none;
    border-radius: 24px;
    padding: 6px 16px;
    font-size: 13px;
    color: #777;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.act-tab:hover {
    color: #ccc;
    background: #2a2b2c;
}

.act-tab-active {
    background: #2a2b2c;
    color: #e0e0e0;
}

.act-count {
    font-size: 10px;
    background: #333;
    border-radius: 10px;
    padding: 1px 7px;
    color: #666;
}

.act-tab-active .act-count {
    color: #aaa;
}

.act-panel {
    display: none;
}

.act-panel-active {
    display: block;
}

.act-next-event {
    margin-bottom: 24px;
}

.act-next-event .invitation-card {
    margin: 0;
}

.act-no-event {
    text-align: center;
    padding: 40px 20px;
    color: #555;
    border: 1px dashed #303030;
    border-radius: 6px;
    margin-bottom: 24px;
}

.act-no-event i {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.3;
}

.act-no-event p {
    margin: 0;
    font-size: 13px;
}

.act-about-content {
    line-height: 1.7;
    color: #ccc;
}

.act-about-divider {
    border: none;
    border-top: 1px solid #2a2b2c;
    margin: 28px 0;
}

/* Blog page */
.blog-page {
    padding-top: 10px;
}

.blog-card {
    padding: 24px 0;
    border-bottom: 1px solid #2a2b2c;
}

.blog-card:last-of-type {
    border-bottom: none;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.blog-card-date {
    font-size: 12px;
    color: #666;
}

.blog-card-author {
    font-size: 12px;
    color: #555;
}

.blog-card-tags {
    margin-left: auto;
}

.blog-card-tag {
    font-size: 11px;
    color: #555 !important;
    padding: 2px 6px;
    border-radius: 3px;
    background: #242526;
    margin-left: 4px;
}

.blog-card-tag:hover {
    color: #888 !important;
}

.blog-card-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.blog-card-title a {
    color: #e0e0e0 !important;
}

.blog-card-title a:hover {
    color: #fff !important;
}

.blog-card-excerpt {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-card-read-more {
    font-size: 13px;
    font-weight: 600;
    color: #66BB6A !important;
}

/* Invitation card (homepage featured event) */
.invitation-card {
    margin: 30px 0 10px 0;
    background: #242526;
    display: flex;
    overflow: hidden;
}

.invitation-date-block {
    flex: 0 0 80px;
    background: #2E7D32;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    gap: 2px;
}

.invitation-month {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
}

.invitation-day {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.invitation-time {
    font-size: 11px;
    opacity: 0.75;
    letter-spacing: 0.05em;
}

.invitation-body {
    flex: 1;
    padding: 20px 24px;
}

.invitation-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #666;
    font-weight: 600;
    margin-bottom: 6px;
}

.invitation-theme {
    font-size: 20px;
    font-weight: 600;
    color: #e0e0e0 !important;
    margin-bottom: 6px;
    line-height: 1.3;
}

.invitation-location {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.invitation-location i {
    color: #666;
    margin-right: 4px;
}

.invitation-duration {
    margin-left: 10px;
    opacity: 0.6;
    font-size: 12px;
}

.invitation-description {
    color: #aaa;
    line-height: 1.6;
    font-size: 13px;
    margin: 0 0 14px 0;
}

.invitation-cta {
    display: inline-block;
    background: #2E7D32;
    color: #fff !important;
    padding: 7px 20px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.invitation-cta:hover {
    background: #1B5E20;
    color: #fff !important;
}

/* Archive page — next event highlight */
.archive-page {
    margin-top: 20px;
}

.archive-next-event {
    background: #242526;
    border-left: 4px solid #2E7D32;
    padding: 20px 24px;
    margin-bottom: 8px;
}

.archive-next-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #2E7D32;
    font-weight: 600;
    margin-bottom: 8px;
}

.archive-next-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.archive-next-info {
    flex: 1;
}

.archive-next-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 4px;
}

.archive-next-meta {
    color: #999;
    margin-bottom: 6px;
}

.archive-next-meta i {
    color: #2E7D32;
    margin-right: 4px;
}

.archive-next-description {
    color: #aaa;
    font-size: 13px;
    margin: 6px 0 0 0;
    line-height: 1.5;
}

.archive-next-cta {
    flex-shrink: 0;
    display: inline-block;
    background: #2E7D32;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
}

.archive-next-cta:hover {
    background: #1B5E20;
    color: #fff !important;
}

.archive-future-bar {
    margin-bottom: 20px;
    text-align: right;
}

.archive-future-btn {
    font-size: 13px;
    color: #2E7D32 !important;
    border: 1px solid #2E7D32;
    padding: 5px 14px;
    border-radius: 3px;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}

.archive-future-btn:hover {
    background: #2E7D32;
    color: #fff !important;
}

/* Cancelled events — strikethrough on date/time */
.cancelled-event .invitation-month,
.cancelled-event .invitation-day,
.cancelled-event .invitation-time {
    text-decoration: line-through;
    opacity: 0.6;
}

.cancelled-event .invitation-date-block {
    background: #5a2a2a;
}

/* Featured invitation card — homepage next session, enlarged */
.featured-invitation .invitation-date-block {
    flex: 0 0 140px;
    gap: 6px;
}

.featured-invitation .invitation-month {
    font-size: 16px;
}

.featured-invitation .invitation-day {
    font-size: 72px;
}

.featured-invitation .invitation-time {
    font-size: 16px;
}

.featured-invitation .invitation-body {
    padding: 28px 32px;
}

.featured-invitation .invitation-label {
    font-size: 12px;
    margin-bottom: 10px;
}

.featured-invitation .invitation-theme {
    font-size: 38px;
    margin-bottom: 10px;
}

.featured-invitation .invitation-location {
    font-size: 16px;
    margin-bottom: 14px;
}

.featured-invitation .invitation-description {
    font-size: 15px;
    margin-bottom: 20px;
}

.featured-invitation .invitation-cta {
    font-size: 15px;
    padding: 10px 26px;
}

/* Past event cards — same layout as invitation card but with gray date block */
.past-event-card .invitation-date-block {
    background: #4a4a4a;
}

.past-event-card .invitation-label {
    color: #888;
}

.past-event-card .invitation-cta {
    background: #555;
}

.past-event-card .invitation-cta:hover {
    background: #444;
}

/* Future events page */
.future-events-page {
    max-width: 700px;
    margin: 0 auto;
}

.future-events-back {
    margin-bottom: 20px;
    font-size: 13px;
}

.future-events-page .invitation-card {
    margin: 0 0 20px 0;
}

@media (max-width: 1250px) {
    .topbar-avatar {
        display:none;
    }
}

@media (max-width: 900px) {
    nav {
        flex-direction: column;
        width: 100%;
    }

    .social,
    .menu{
        justify-content: center;
        margin: 0 auto;
    }

    main,
    .page {
        width: 95%;
        box-sizing: border-box;
    }

    .past-events {
        grid-template-columns: 1fr;
    }

    .past-events-list {
        grid-template-columns: 1fr;
    }

    .invitation-card {
        flex-direction: column;
    }

    .invitation-date-block {
        flex-direction: row;
        gap: 10px;
        padding: 12px 16px;
        justify-content: flex-start;
    }

    .invitation-day {
        font-size: 22px;
    }

    .featured-invitation .invitation-day {
        font-size: 28px;
    }

    .archive-next-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .archive-next-cta {
        width: 100%;
        text-align: center;
    }

    .archive-future-bar {
        text-align: center;
    }

    .contact-member-card {
        width: 100%;
    }
}

/* ── Calendar page ───────────────────────────────────────────── */

/* Break out of the 60% main constraint for the calendar */
main:has(.calendar-page) {
    width: 90%;
}

.calendar-page {
    width: 100%;
    box-sizing: border-box;
    padding-top: 10px;
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.cal-month-label {
    font-size: 22px;
    font-weight: 600;
    color: #e0e0e0;
    text-align: center;
    flex: 1;
}

.cal-nav-btn {
    background: none;
    border: none;
    color: #555;
    font-size: 22px;
    padding: 4px 14px;
    cursor: pointer;
    transition: color 0.15s;
    flex-shrink: 0;
    line-height: 1;
}

.cal-nav-btn:hover:not(:disabled) {
    color: #e0e0e0;
}

.cal-nav-btn:disabled {
    opacity: 0.2;
    cursor: default;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cal-day-header {
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #555;
    padding: 8px 0;
    background: #1e1f20;
}

.cal-dh-short { display: none; }
.cal-dh-long  { display: inline; }

.cal-cell {
    background: #242526;
    min-height: 110px;
    padding: 8px 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    box-sizing: border-box;
}

.cal-cell.cal-empty {
    background: #1c1d1e;
}

.cal-day-num {
    font-size: 13px;
    color: #666;
    line-height: 1;
    font-weight: 600;
    margin-bottom: 2px;
}

.cal-cell.cal-today {
    background: #1a2a1a;
}

.cal-cell.cal-today .cal-day-num {
    color: #66BB6A;
}

/* Event blocks inside day cells */
.cal-event-block {
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: 100%;
    border-radius: 3px;
    padding: 4px 6px;
    box-sizing: border-box;
    text-decoration: none;
    transition: filter 0.15s;
    overflow: hidden;
}

.cal-event-block:hover {
    filter: brightness(1.2);
}

/* Generic fallback for future events with no mapped category */
.cal-ev-upcoming {
    background: #222;
    border-left: 3px solid #555;
}

/* Per-type colours are injected by layout.ejs from theme._config event_types */

.cal-ev-past {
    background: #2a2b2c;
    border-left: 3px solid #444;
}

.cal-ev-cancelled {
    background: #2a1a1a;
    border-left: 3px solid #7a3030;
    opacity: 0.6;
}

.cal-ev-time {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #aaa;
    white-space: nowrap;
}

.cal-ev-title {
    font-size: 11px;
    color: #ccc !important;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cal-ev-cancelled .cal-ev-title {
    text-decoration: line-through;
    color: #888 !important;
}

@media (max-width: 900px) {
    main:has(.calendar-page) {
        width: 100%;
    }

    .cal-day-header {
        font-size: 9px;
        padding: 5px 0;
    }

    .cal-dh-long  { display: none; }
    .cal-dh-short { display: inline; }

    .cal-cell {
        min-height: 70px;
        padding: 5px 4px;
        gap: 3px;
    }

    .cal-event-block {
        padding: 3px 4px;
    }

    .cal-ev-time {
        font-size: 9px;
    }

    .cal-ev-title {
        font-size: 10px;
        -webkit-line-clamp: 1;
        display: -webkit-box;
    }
}

/* ── Language toggle ─────────────────────────────────────── */
html:not([lang="ro"]) .lang-ro { display: none; }
html[lang="ro"]       .lang-en { display: none; }

/* ── Language pill ────────────────────────────────────────── */
.lang-pill {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #2a2b2c;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transition: background 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.lang-pill:hover {
    background: #363738;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.lang-pill-flag {
    font-size: 22px;
    line-height: 1;
}

.lang-pill-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #e0e0e0;
}