:root {
  /* DeMolay Brand Colors extracted from logo & guidelines */
  --dwa-navy: #1C2A43;
  --dwa-crimson: #B0302E;
  --dwa-gold: #F2C75C;
  --dwa-gray: #8A8A8D;
  --dwa-light: #F8F9FA;
  
  /* Typography */
  --font-heading: 'Trajan Pro', 'Cinzel', serif; /* Or your preferred brand serif */
  --font-body: 'Inter', -apple-system, sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--dwa-navy);
  line-height: 1.6;
  background-color: #FFFFFF;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Button System */
.btn-primary {
  background-color: var(--dwa-crimson);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background-color: #8E2523; }

.btn-secondary {
  background-color: var(--dwa-navy);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-secondary:hover { background-color: #0076AF; }

.btn-outline {
  background-color: transparent;
  color: var(--dwa-navy);
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--dwa-navy);
  border-radius: 4px;
  transition: var(--transition);
}
.btn-outline:hover { background-color: var(--dwa-navy); color: white; }

/* =========================================
   GLOBAL HEADER & NAVIGATION
   ========================================= */
.site-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Gives the logo room to breathe */
}

.logo img {
    display: block; /* Removes bottom spacing on inline images */
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dwa-navy);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

.main-nav a:hover {
    color: var(--dwa-crimson);
}

/* Subtle animated underline on hover */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--dwa-crimson);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* =========================================
   CINEMATIC HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: calc(100vh - 90px); /* Full screen minus header */
    min-height: 600px;
    display: flex;
    align-items: flex-end; /* Pushes content to the bottom */
    padding-bottom: 80px;
    overflow: hidden;
    background-color: var(--dwa-navy);
}

/* Background Image Layers */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Smooth, slow crossfade */
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

/* Dark gradient to make white text pop */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(28, 42, 67, 0.95) 0%, rgba(28, 42, 67, 0.3) 50%, transparent 100%);
    z-index: 2;
}

/* Content Anchoring */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px; /* Keeps text from stretching too wide on massive monitors */
    margin: 0 auto; /* Centers container */
    padding: 0 20px;
}

/* Typography Fading Effects */
.hero-text-wrapper {
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 1;
    transform: translateY(0);
}

.hero-text-wrapper.fade-out {
    opacity: 0;
    transform: translateY(15px); /* Drops text slightly as it fades out */
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.4rem;
    color: #E2E8F0;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Light Outline Button for Dark Backgrounds */
.btn-outline-light {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.btn-outline-light:hover {
    background-color: #FFFFFF;
    color: var(--dwa-navy);
}

/* Responsive check for smaller screens */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-actions { flex-direction: column; }
    .btn-outline-light, .btn-primary { width: 100%; text-align: center; }
}

/* =========================================
   NEWS & HERITAGE FEED
   ========================================= */
.news-feed {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.feed-header {
    text-align: center;
    margin-bottom: 50px;
}

.feed-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dwa-navy);
}

.news-grid {
    display: grid;
    /* Auto-fit creates responsive columns automatically */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.news-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #F0F0F0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(28, 42, 67, 0.08);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--dwa-crimson);
}

.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: var(--dwa-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dwa-navy);
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-content p {
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes the button to the bottom */
}

.card-content .btn-outline {
    align-self: flex-start;
    margin-top: auto;
}

/* Single Article View */
.single-post {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--dwa-crimson);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

/* =========================================
   GLOBAL FORM INPUTS
   ========================================= */
.form-input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dwa-navy);
    background-color: #FFFFFF;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--dwa-navy);
    box-shadow: 0 0 0 3px rgba(28, 42, 67, 0.1);
}

.form-input[readonly] {
    background-color: var(--dwa-light);
    color: var(--dwa-gray);
    cursor: not-allowed;
    border-color: #E5E7EB;
}

.bg-light {
    background-color: var(--dwa-light);
}

/* =========================================
   PREFERENCE CENTER / NEWSLETTER MANAGE
   ========================================= */
.page-wrapper {
    padding: 80px 20px;
    max-width: 700px; /* Kept narrow for better reading length */
    margin: 0 auto;
}

.preference-center h1 {
    font-family: var(--font-heading);
    color: var(--dwa-navy);
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.preference-center > p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.preference-form {
    background: #FFFFFF;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--dwa-navy);
}

/* Fieldset Resets */
fieldset {
    border: none;
    padding: 0;
    margin: 0 0 35px 0;
}

legend {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dwa-navy);
    margin-bottom: 20px;
    width: 100%;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 10px;
}

.form-divider {
    border: 0;
    height: 1px;
    background: #E5E7EB;
    margin: 35px 0;
}

/* Modern Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    cursor: pointer;
    font-size: 1.05rem;
    color: #333;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    margin-top: 3px;
    /* Native CSS way to color checkboxes */
    accent-color: var(--dwa-navy);
    cursor: pointer;
}

/* Danger / Unsubscribe State */
.checkbox-container.danger-text {
    color: var(--dwa-crimson);
}
.checkbox-container.danger-text input[type="checkbox"] {
    accent-color: var(--dwa-crimson);
}

/* Disabled State via JavaScript logic */
.checkbox-container input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.checkbox-container:has(input[type="checkbox"]:disabled) {
    color: var(--dwa-gray);
    cursor: not-allowed;
}

.disclaimer {
    background: var(--dwa-light);
    border-left: 4px solid var(--dwa-gray);
    padding: 15px 20px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin-top: 25px;
    border-radius: 0 4px 4px 0;
}

/* =========================================
   GLOBAL FOOTER
   ========================================= */
.site-footer {
    background-color: var(--dwa-navy);
    color: #FFFFFF;
    padding-top: 60px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    /* Responsive layout: 1 column on mobile, 4 on desktop */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .footer-logo {
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Forces logo to be white if you only have the color PNG */
}

.footer-brand p {
    color: #A0ABC0;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--dwa-crimson);
}

.footer-links h4 {
    font-family: var(--font-heading);
    color: var(--dwa-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Subtle gold underline beneath footer headings */
.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--dwa-gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #A0ABC0;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: #FFFFFF;
    padding-left: 5px; /* Nice micro-interaction on hover */
}

.footer-bottom {
    background-color: #141E30; /* Slightly darker than DWA Navy */
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #718096;
    font-size: 0.85rem;
    margin: 0;
}

/* =========================================
   LOGIN MODAL
   ========================================= */

/* Modal Image Fix */
.modal-logo {
    max-width: 180px; /* Constrains the width nicely */
    height: auto;     /* Maintains aspect ratio */
    margin: 0 auto 20px auto; /* Centers the image and adds bottom spacing */
    display: block;   /* Required for margin: auto to center an image */
}

/* =========================================
   UTILITIES
   ========================================= */
.text-center { text-align: center; }

/* =========================================
   HISTORY SECTION
   ========================================= */
.history-section {
    padding: 80px 0;
}

.history-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.history-text h2 {
    font-family: var(--font-heading);
    color: var(--dwa-navy);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.history-text p {
    font-size: 1.1rem;
    color: #4B5563;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Responsive check for history split */
@media (max-width: 768px) {
    .history-layout, .split-layout {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   OFFICERS SECTION
   ========================================= */
.officers-section {
    padding: 80px 20px;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dwa-navy);
    margin-bottom: 10px;
}

.officers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.officer-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.officer-card:hover {
    box-shadow: 0 10px 20px rgba(28, 42, 67, 0.08);
    transform: translateY(-5px);
}

.officer-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--dwa-light);
    margin: 0 auto 20px auto;
    border: 3px solid var(--dwa-gold);
    /* Add background-image via inline styles or future DB integration */
    background-image: url('../img/avatar-placeholder.png'); 
    background-size: cover;
    background-position: center;
}

.officer-card h4 {
    color: var(--dwa-navy);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.officer-title {
    display: block;
    color: var(--dwa-crimson);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.officer-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.officer-socials a {
    color: var(--dwa-gray);
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.officer-socials a:hover {
    color: var(--dwa-navy);
}

/* =========================================
   MEMBERSHIP SECTION
   ========================================= */
.membership-section {
    padding: 80px 20px;
    max-width: 900px; /* Keep form centered and readable */
    margin: 0 auto;
}

.membership-container {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(28, 42, 67, 0.08);
    border-top: 5px solid var(--dwa-navy);
    padding: 50px;
}

.screening-box {
    text-align: center;
    padding: 30px 0;
}

.screening-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 30px auto 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dwa-navy);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .membership-container { padding: 30px 20px; }
}

/* =========================================
   RECONNECT PAGE STYLES
   ========================================= */
.reconnect-header {
    padding: 80px 20px;
    margin-bottom: 60px;
}
.reconnect-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--dwa-navy);
    margin-bottom: 15px;
}
.reconnect-section {
    margin-bottom: 80px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dwa-navy);
    margin-bottom: 30px;
    text-align: center;
}

/* Spotlight Custom Layout */
.spotlight-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #E5E7EB;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: var(--transition);
}
.spotlight-card:hover {
    box-shadow: 0 10px 20px rgba(28, 42, 67, 0.08);
    transform: translateY(-5px);
}
.spotlight-img {
    background-size: cover;
    background-position: center;
    min-height: 300px;
}
.spotlight-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.badge {
    align-self: flex-start;
    background: var(--dwa-gold);
    color: var(--dwa-navy);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.quote {
    font-size: 1.25rem;
    font-style: italic;
    color: #4B5563;
    line-height: 1.6;
    margin: 15px 0;
}

/* Locked Teaser Overlay Styling */
.bg-card-glow {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--dwa-light) 100%);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}
.guilds-teaser-grid {
    position: relative;
    background: #FFFFFF;
    border-radius: 6px;
    padding: 20px;
    border: 1px dashed var(--dwa-gray);
}
.dummy-grid-nodes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    filter: blur(3px); /* Elegant blur effect to indicate lock state */
    pointer-events: none;
    user-select: none;
}
.node {
    background: var(--dwa-light);
    padding: 25px 15px;
    text-align: center;
    font-weight: 600;
    border-radius: 4px;
    color: var(--dwa-navy);
}
.teaser-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 42, 67, 0.15);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}
.lock-box {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    max-width: 280px;
}
.lock-box span { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.lock-box h4 { color: var(--dwa-navy); margin-bottom: 5px; }
.lock-box p { font-size: 0.85rem; color: var(--dwa-gray); }

.reconnect-box {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.reconnect-box h3 {
    font-family: var(--font-heading);
    color: var(--dwa-navy);
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .spotlight-card, .reconnect-split-grid { grid-template-columns: 1fr !important; }
    .spotlight-img { min-height: 250px; }
}

/* =========================================================================
   LINKLAY & THREADED TIMELINE UI LAYOUT
   ========================================================================= */
.reconnect-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--dwa-navy);
    margin-bottom: 12px;
}
.brand-badge {
    display: inline-block;
    background: var(--font-heading);
    color: var(--dwa-gold);
    background-color: var(--dwa-navy);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 4px;
}
.split-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
.guilds-metrics {
    display: flex;
    gap: 30px;
    margin: 25px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    padding: 15px 0;
}
.metric-node strong {
    font-size: 1.6rem;
    color: var(--dwa-navy);
    display: block;
}
.metric-node small {
    color: var(--dwa-gray);
    font-size: 0.85rem;
}
.monetization-note {
    font-size: 0.85rem;
    color: var(--dwa-crimson);
    background: rgba(166, 25, 46, 0.05);
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
}
.reconnect-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    margin-top: 50px;
}
.box-header-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}
.indicator-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
}
.box-desc {
    font-size: 0.9rem;
    color: var(--dwa-gray);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Safe Directory Display Blocks */
.missing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #F3F4F6;
}
.member-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dwa-light);
    color: var(--dwa-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.member-name {
    display: block;
    color: var(--dwa-navy);
    font-size: 0.95rem;
}
.member-location {
    font-size: 0.8rem;
    color: var(--dwa-gray);
}

/* Threaded Replies Comment Layout Elements */
.timeline-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 20px;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--dwa-gray);
    margin-bottom: 10px;
}
.feed-tag {
    font-weight: 700;
    color: var(--dwa-crimson);
    text-transform: uppercase;
}
.feed-body {
    font-size: 0.95rem;
    color: #374151;
    margin: 12px 0 20px 0;
    line-height: 1.5;
}
.thread-container {
    background: var(--dwa-light);
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}
.thread-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--dwa-gray);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.nested-reply {
    border-left: 2px solid #D1D5DB;
    padding-left: 12px;
    margin-bottom: 12px;
}
.nested-reply:last-child {
    margin-bottom: 0;
}
.reply-header {
    font-size: 0.85rem;
    color: var(--dwa-navy);
    margin-bottom: 3px;
}
.reply-origin {
    color: var(--dwa-gray);
    font-weight: 400;
}
.reply-time {
    float: right;
    font-size: 0.75rem;
    color: var(--dwa-gray);
}
.reply-text {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.4;
}
.card-footer-actions {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #E5E7EB;
}
.btn-text-link {
    background: none;
    border: none;
    color: var(--dwa-gray);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
}
.btn-text-link:hover {
    color: var(--dwa-navy);
    text-decoration: underline;
}
.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

/* Responsiveness adjustments */
@media (max-width: 960px) {
    .split-layout-grid, .reconnect-split-grid {
        grid-template-columns: 1fr;
    }
    .guilds-teaser-grid {
        order: -1;
    }
}

/* =========================================================================
   WIDE DASHBOARD ARCHITECTURE FOR RECONNECT
   ========================================================================= */
.wide-container {
    max-width: 1440px; /* Bumps maximum boundaries for wider screen allocation */
    margin: 0 auto;
    padding: 0 40px;   /* Extra breathing space on the edges */
}

/* Section 1: Two Columns Spotlights */
.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.spotlight-card {
    display: grid;
    grid-template-columns: 200px 1fr; /* Narrower image panel since cards are side-by-side */
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #E5E7EB;
    overflow: hidden;
}
.spotlight-img {
    background-size: cover;
    background-position: center;
    min-height: 100%;
}

/* Section 2: LinkLay Dashboard Parallel Routing Row */
.dashboard-row-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* LinkLay occupies larger portion */
    gap: 30px;
    align-items: stretch; /* Forces both boxes to equal height */
}
.central-workspace {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Keeps actions anchored nicely at base */
}
.side-panel {
    display: flex;
    flex-direction: column;
}
.missing-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Evenly spaces missing rows vertically */
}

/* Section 3: Ultra Wide Immersive Timeline Layout */
.full-width-timeline-wrapper {
    margin-top: 60px;
    border-top: 2px solid #F3F4F6;
    padding-top: 60px;
}
.timeline-section-header {
    margin-bottom: 40px;
}
.timeline-section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--dwa-navy);
    margin-bottom: 8px;
}
.timeline-section-header p {
    color: var(--dwa-gray);
    font-size: 1.05rem;
}
.wide-timeline-stream {
    width: 100%;
}
.wide-card {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(28, 42, 67, 0.04);
    margin-bottom: 35px;
    border: 1px solid #E5E7EB;
    border-left: 5px solid var(--dwa-navy); /* Solid accent color indicator bar */
}
.timeline-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--dwa-navy);
    margin: 5px 0 15px 0;
}
.feed-date-stamp {
    font-weight: 600;
    letter-spacing: 0.5px;
}
.replies-stack {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds clean spacing between separate comments inside thread */
}

/* Responsive Overrides for smaller tablets and mobile screens */
@media (max-width: 1024px) {
    .wide-container { padding: 0 20px; }
    .spotlight-grid, .dashboard-row-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .spotlight-card { grid-template-columns: 1fr !important; }
    .spotlight-img { min-height: 200px; }
}

/* =========================================================================
   EVENTS MANAGEMENT REGISTRATION & CALENDAR MODULES
   ========================================================================= */

/* Permanent Session Hero Banner Layout */
.session-permanent-banner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: linear-gradient(135deg, var(--dwa-navy) 0%, #111A2C 100%);
    color: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.banner-content {
    padding: 50px;
}
.banner-tag {
    color: var(--dwa-gold);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}
.session-permanent-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}
.session-permanent-banner p {
    color: #9CA3AF;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}
.banner-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.custom-banner-btn {
    background-color: var(--dwa-gold) !important;
    color: var(--dwa-navy) !important;
    font-weight: 700;
    border: none;
}
.custom-banner-btn:hover {
    background-color: #E2B237 !important;
}
.url-hint {
    font-size: 0.85rem;
    color: #9CA3AF;
}
.url-hint strong {
    color: var(--dwa-gold);
}
.banner-graphic-side {
    background: linear-gradient(45deg, rgba(166, 25, 46, 0.2) 0%, rgba(28, 42, 67, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.session-seal {
    font-size: 6rem;
    opacity: 0.25;
}

/* Parallel Dashboard Layout Grid splitting List from embedded engine */
.events-dashboard-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 40px;
    align-items: start;
}
.events-panel {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}
.panel-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #F3F4F6;
    padding-bottom: 15px;
}
.panel-header h3 {
    font-family: var(--font-heading);
    color: var(--dwa-navy);
    font-size: 1.4rem;
    margin-bottom: 4px;
}
.panel-subtitle {
    font-size: 0.9rem;
    color: var(--dwa-gray);
}

/* Event Brief List Cards */
.events-timeline-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.event-brief-card {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #E5E7EB;
}
.event-brief-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.card-date-block {
    background: var(--dwa-light);
    color: var(--dwa-navy);
    border-radius: 6px;
    min-width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E7EB;
}
.date-txt {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}
.month-txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dwa-gray);
}
.card-details-block {
    flex-grow: 1;
}
.card-details-block h4 {
    color: var(--dwa-navy);
    font-size: 1.1rem;
    margin: 5px 0;
}
.time-meta {
    font-size: 0.8rem;
    color: var(--dwa-gray);
    margin-bottom: 6px;
}
.event-desc {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.4;
}

/* Dynamic Categorization Badge Identifiers */
.event-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.badge-professional {
    background-color: rgba(28, 42, 67, 0.1);
    color: var(--dwa-navy);
}
.badge-deadline {
    background-color: rgba(166, 25, 46, 0.1);
    color: var(--dwa-crimson);
}
.badge-fraternal {
    background-color: #FEF3C7;
    color: #92400E;
}

/* Share an event layout prompt card at base of column 1 */
.share-event-promo {
    background: var(--dwa-light);
    border-radius: 6px;
    padding: 20px;
    margin-top: 30px;
    border-left: 3px solid var(--dwa-gold);
}
.share-event-promo h4 {
    color: var(--dwa-navy);
    margin-bottom: 6px;
}
.share-event-promo p {
    font-size: 0.85rem;
    color: var(--dwa-gray);
    line-height: 1.4;
}

/* Google Calendar Embed Container constraints */
.calendar-embed-container {
    background: #FFFFFF;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .session-permanent-banner, .events-dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    .banner-graphic-side {
        display: none; /* Strip decoration component on narrow screens */
    }
}

/* =========================================================================
   SUPPORT INQUIRY PORTAL & PHILANTHROPY GRID STYLES
   ========================================================================= */

/* Top Philanthropy Pillars Grid Layout Configuration */
.giving-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.giving-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.giving-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(28, 42, 67, 0.06);
}
.giving-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1;
}
.giving-card h3 {
    font-family: var(--font-heading);
    color: var(--dwa-navy);
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.giving-card p {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Featured Center Pillar Highlighting */
.highlighted-pillar {
    border: 2px solid var(--dwa-gold);
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(242, 199, 92, 0.03) 100%);
    position: relative;
    transform: scale(1.02); /* Makes it pop out slightly on desktop rows */
}
.highlighted-pillar::before {
    content: 'MOST NEEDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dwa-gold);
    color: var(--dwa-navy);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

/* FAQ Layout Tweaks */
.faq-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Responsive constraints breaking column systems down cleanly */
@media (max-width: 960px) {
    .support-split-layout {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .highlighted-pillar {
        transform: none; /* Strip scale shifts on narrow layouts to prevent overlap crashes */
    }
}

/* =========================================================================
   DWA HERITAGE FOUNDATION REDIRECT BANNER STYLES
   ========================================================================= */
.foundation-redirect-banner {
    position: relative;
    background-color: var(--dwa-navy);
    /* Suggestion: Use a high-quality masonic/architectural background texture if available */
    background-image: url('../img/foundation-bg-texture.jpg'); 
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 60px 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(28, 42, 67, 0.12);
    border-left: 6px solid var(--dwa-crimson); /* High-contrast structural highlight line */
}

/* Dark gradient mask to ensure text pops cleanly against any image texture behind it */
.foundation-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(28, 42, 67, 0.95) 0%, rgba(20, 30, 48, 0.8) 100%);
    z-index: 1;
}

.foundation-banner-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* Splitting messaging allocations from actions */
    gap: 40px;
    align-items: center;
}

.foundation-mini-tag {
    color: var(--dwa-gold);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.foundation-text-side h2 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 2.2rem;
    margin-bottom: 12px;
    line-height: 1.2;
}

.foundation-text-side p {
    color: #9CA3AF;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.foundation-action-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* Custom premium button variant specifically mapped to match gold branding cues */
.foundation-btn {
    background-color: var(--dwa-gold) !important;
    color: var(--dwa-navy) !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 28px;
    border: none;
    width: 100%;
    text-align: center;
    transition: var(--transition);
}

.foundation-btn:hover {
    background-color: #E2B237 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 199, 92, 0.2);
}

.foundation-url-text {
    font-size: 0.85rem;
    color: #9CA3AF;
    align-self: center;
}

.foundation-url-text strong {
    color: var(--dwa-gold);
}

/* Complete responsiveness layout collapse checkpoints */
@media (max-width: 1024px) {
    .foundation-banner-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 35px 25px;
    }
    .foundation-action-side {
        align-items: center;
        width: 100%;
    }
}

/* =========================================================================
   GLOBAL GEOGRAPHIC CHAPTER LOCATOR DASHBOARD STYLES
   ========================================================================= */
.locator-command-bar {
    background: var(--dwa-light);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 25px 35px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}
.locator-command-bar label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dwa-navy);
    margin-bottom: 8px;
}

/* Dashboard Panel Split Layout */
.locator-dashboard-grid {
    display: grid;
    grid-template-columns: 420px 1fr; /* Fixed directory panel width against adaptive view workspace */
    gap: 30px;
    height: 700px; /* Locked viewport row constraint height */
    align-items: stretch;
}
.locator-results-panel {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.results-meta-header {
    background: var(--dwa-light);
    border-bottom: 1px solid #E5E7EB;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dwa-gray);
}
.scrollable-results-stack {
    flex-grow: 1;
    overflow-y: auto; /* Adds dedicated clean vertical scroll lines */
    padding: 15px;
}

/* Mini Card Elements inside Directory List */
.mini-locator-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}
.mini-locator-card:hover {
    border-color: var(--dwa-navy);
    background-color: var(--dwa-light);
}
.mini-locator-card.card-selected {
    border-color: var(--dwa-crimson);
    background: linear-gradient(90deg, rgba(166, 25, 46, 0.02) 0%, transparent 100%);
    border-left: 4px solid var(--dwa-crimson);
}
.mini-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.mini-locator-card h4 {
    color: var(--dwa-navy);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.mini-card-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dwa-gray);
    background: var(--dwa-light);
    padding: 2px 6px;
    border-radius: 4px;
}
.mini-card-geo {
    font-size: 0.85rem;
    color: var(--dwa-gray);
}

/* Right-hand Workspace View Area Panel */
.locator-detail-panel {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow-y: auto;
}
.detail-empty-state {
    text-align: center;
    padding: 100px 20px;
    color: var(--dwa-gray);
}
.compass-icon { font-size: 4rem; margin-bottom: 15px; opacity: 0.3; }
.detail-badge {
    display: inline-block;
    background-color: rgba(166, 25, 46, 0.08);
    color: var(--dwa-crimson);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.detail-active-view h2 {
    font-family: var(--font-heading);
    color: var(--dwa-navy);
    font-size: 2.2rem;
    margin: 10px 0 35px 0;
    border-bottom: 2px solid var(--dwa-light);
    padding-bottom: 15px;
}
.detail-section h4 {
    font-family: var(--font-heading);
    color: var(--dwa-gray);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.detail-section p {
    font-size: 1.1rem;
    color: var(--dwa-navy);
    line-height: 1.6;
}
.leadership-row {
    font-size: 1.1rem;
    color: var(--dwa-navy);
}

/* Responsiveness overrides collapsing dashboard panels on mobile rows */
@media (max-width: 850px) {
    .locator-command-bar { grid-template-columns: 1fr; gap: 15px; padding: 20px; }
    .locator-dashboard-grid { grid-template-columns: 1fr !important; height: auto; }
    .locator-detail-panel { min-height: 400px; padding: 30px 20px; }
}

/* =========================================================================
   PRIVACY POLICY RESPONSIVE ADJUSTMENTS
   ========================================================================= */
@media (max-width: 960px) {
    .privacy-layout {
        grid-template-columns: 1fr !important; /* Stack columns vertically */
        gap: 30px !important;
    }
    .privacy-sidebar {
        position: relative !important;
        top: 0 !important;
        background: var(--dwa-light);
        padding: 20px;
        border-radius: 6px;
        border: 1px solid #E5E7EB;
    }
    .privacy-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 20px;
    }
    .privacy-content {
        padding: 30px 20px !important;
    }
}
/* =========================================================================
   DYNAMIC DONATION WORKSPACE BUTTON PILLS
   ========================================================================= */
.amt-pill {
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    color: var(--dwa-navy);
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.amt-pill:hover {
    border-color: var(--dwa-navy);
    background-color: var(--dwa-light);
}
.amt-pill.data-selected {
    background-color: var(--dwa-navy) !important;
    color: #FFFFFF !important;
    border-color: var(--dwa-navy) !important;
    box-shadow: 0 4px 10px rgba(28, 42, 67, 0.15);
}
.donation-step-title {
    font-family: var(--font-heading);
    color: var(--dwa-navy);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* =========================================================================
   FIXED NAV BAR MULTILINGUAL SELECTOR DROPDOWN
   ========================================================================= */
.lang-dropdown-wrapper {
    position: relative;
    display: inline-flex; /* Changed to inline-flex to help align with surrounding flat tags */
    align-items: center;  /* Centers the button vertically within the main-nav flexbox */
    margin-left: 20px;    
    height: 100%;         /* Keeps it bound tightly within the layout track */
}

.lang-dropdown-trigger {
    background: transparent;
    border: 1px solid rgba(28, 42, 67, 0.2);
    color: var(--dwa-navy);
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    /* Force baseline text alignment with standard anchor links */
    line-height: normal; 
    margin: 0;
    transition: var(--transition);
}

.lang-dropdown-trigger:hover {
    border-color: var(--dwa-navy);
    background-color: var(--dwa-light);
}

/* The actual menu drop-down container */
.lang-dropdown-menu {
    position: absolute;
    /* CRITICAL FIXES FOR THE DISAPPEARING GAP ISSUE: */
    top: 100%; 
    right: 0;
    margin-top: 0; /* Changed from 5px to 0 to eliminate the invisible dead-zone gap */
    
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(28, 42, 67, 0.1);
    padding: 6px 0;
    min-width: 150px;
    z-index: 1000;
    display: none; 
}

/* BRIDGE THE GAP HACK: 
  Adds an invisible pseudo-element shield above the menu. This ensures that even if 
  there is a tiny visual gap, the mouse remains technically hovering inside the wrapper.
*/
.lang-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

/* Open the dropdown menu automatically on hover states */
.lang-dropdown-wrapper:hover .lang-dropdown-menu {
    display: block;
}

/* Dropdown link styling item vectors */
.lang-dropdown-menu a {
    display: block;
    padding: 10px 16px; /* Slightly padded for easier target clicking on mobile/trackpads */
    color: var(--dwa-gray) !important;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    text-align: left;
    transition: var(--transition);
}

.lang-dropdown-menu a:hover {
    background-color: var(--dwa-light);
    color: var(--dwa-navy) !important;
}

/* Visual markers highlighting the current active selection string */
.lang-dropdown-menu a.lang-active {
    color: var(--dwa-crimson) !important;
    font-weight: 700;
    background-color: rgba(166, 25, 46, 0.03);
    border-left: 3px solid var(--dwa-crimson);
}