  .social-feed-section {
     background-color: #003767;
     position: relative;
     min-height: 600px;
}
 .social-feed-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 4px;
     background-color: #79bde8;
}
/* Header Styles */
 .feed-title {
     color: white;
     font-weight: 700;
     font-size: 2.2rem;
     text-transform: uppercase;
     letter-spacing: 1px;
}
/* Header Button */
 .btn-social-media {
     background-color: #79bde8;
     border: 2px solid #79bde8;
     color: #003767;
     font-weight: 600;
     padding: 0.6rem 1.2rem;
     text-decoration: none;
     display: inline-flex;
     align-items: center;
     transition: all 0.3s ease;
     font-size: 0.95rem;
}
 .btn-social-media:hover {
     background-color: white;
     border-color: white;
     color: #003767;
     text-decoration: none;
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Scrollable Container */
 .posts-scroll-wrapper {
     position: relative;
}
 .posts-scroll-container {
     height: 600px;
     overflow-y: auto;
     overflow-x: hidden;
     /* Room so the hover lift and focus ring aren't clipped */
     padding: 10px 14px 24px 6px;
     scroll-behavior: smooth;
     scrollbar-width: thin;
     scrollbar-color: #79bde8 transparent;
}
/* Custom Scrollbar */
 .posts-scroll-container::-webkit-scrollbar {
     width: 8px;
}
 .posts-scroll-container::-webkit-scrollbar-track {
     background: rgba(121, 189, 232, 0.12);
     border-radius: 4px;
}
 .posts-scroll-container::-webkit-scrollbar-thumb {
     background: #79bde8;
     border-radius: 4px;
}
 .posts-scroll-container::-webkit-scrollbar-thumb:hover {
     background: #a9d5f1;
}
 .posts-scroll-container:focus {
     outline: none;
}
 .posts-scroll-container:focus-visible {
     outline: 2px solid #79bde8;
     outline-offset: 4px;
     border-radius: 16px;
}
/* Posts Grid */
 .posts-grid {
     display: grid;
     /* minmax(0, ...) keeps wide images from stretching a column */
     grid-template-columns: repeat(4, minmax(0, 1fr));
     gap: 1.5rem;
}
/* Post Card */
 .social-post-card {
     position: relative;
     display: flex;
     flex-direction: column;
     height: 100%;
     background: #fff;
     border-radius: 16px;
     overflow: hidden;
     box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .social-post-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
/* Whole-card link, sits on top of everything */
 .post-link,
 .post-link:hover {
     position: absolute;
     inset: 0;
     z-index: 3;
     border-bottom: none;
     border-radius: 16px;
}
 .post-link:focus {
     outline: none;
}
 .post-link:focus-visible {
     outline: 3px solid #79bde8;
     outline-offset: -3px;
}
 .post-link-label {
     position: absolute;
     width: 1px;
     height: 1px;
     overflow: hidden;
     clip: rect(0, 0, 0, 0);
     white-space: nowrap;
}
/* Post Image: square tile. feed.js adds .is-contain when the image's shape is far
   from square, so flyers and wide event covers show whole over a blurred copy */
 .post-image-container {
     position: relative;
     aspect-ratio: 1 / 1;
     overflow: hidden;
     background-color: #e6eff7;
}
 .post-image-container::before {
     content: '';
     position: absolute;
     inset: -30px;
     background-image: var(--post-bg);
     background-size: cover;
     background-position: center;
     filter: blur(22px) brightness(0.85);
     opacity: 0;
     transition: opacity 0.4s ease;
}
 .post-image-container.is-contain::before {
     opacity: 1;
}
 .post-image {
     position: relative;
     z-index: 1;
     display: block;
     width: 100%;
     height: 100%;
     object-fit: cover;
     opacity: 0;
     transition: opacity 0.4s ease, transform 0.5s ease;
}
 .post-image-container.is-contain .post-image {
     object-fit: contain;
}
 .post-image.loaded {
     opacity: 1;
}
 .social-post-card:hover .post-image.loaded {
     transform: scale(1.04);
}
/* Image Placeholder (while loading) */
 .image-placeholder {
     position: absolute;
     inset: 0;
     z-index: 2;
     display: flex;
     align-items: center;
     justify-content: center;
     color: rgba(0, 55, 103, 0.2);
     font-size: 2.25rem;
     transition: opacity 0.3s ease;
}
 .image-placeholder.hidden {
     opacity: 0;
     pointer-events: none;
}
/* Image Fallback (no image, or it failed to load) */
 .image-fallback {
     position: absolute;
     inset: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     background-color: #e6eff7;
     color: rgba(0, 55, 103, 0.3);
     font-size: 2.5rem;
}
/* Post Content */
 .post-content {
     display: flex;
     flex-direction: column;
     flex: 1;
     gap: 14px;
     padding: 18px 18px 16px;
}
 .post-message {
     margin: 0;
     color: #1c2b3a;
     font-size: 14.5px;
     line-height: 1.5;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     -webkit-box-orient: vertical;
     overflow: hidden;
}
/* Post Footer */
 .post-footer {
     display: flex;
     align-items: center;
     gap: 10px;
     margin-top: auto;
     padding-top: 14px;
     border-top: 1px solid rgba(0, 55, 103, 0.1);
}
 .post-source-icon {
     flex-shrink: 0;
     width: 28px;
     height: 28px;
     border-radius: 50%;
     background-color: #003767;
     color: #fff;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 12px;
}
 .post-meta {
     display: flex;
     flex-direction: column;
     gap: 2px;
     min-width: 0;
     line-height: 1.2;
}
 .post-source {
     font-size: 13px;
     font-weight: 700;
     color: #003767;
}
 .post-date {
     font-size: 12px;
     color: #5c6b7a;
}
 .post-arrow {
     flex-shrink: 0;
     margin-left: auto;
     width: 34px;
     height: 34px;
     border-radius: 50%;
     border: 1.5px solid rgba(0, 55, 103, 0.2);
     color: #003767;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 13px;
     transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
/* Arrow points up-right, the usual "opens elsewhere" cue */
 .post-arrow i {
     transform: rotate(-45deg);
}
 .social-post-card:hover .post-arrow {
     background-color: #003767;
     border-color: #003767;
     color: #fff;
}
/* Scroll Indicator */
 .scroll-indicator {
     position: absolute;
     bottom: 14px;
     left: 50%;
     transform: translateX(-50%);
     background: #79bde8;
     color: #003767;
     padding: 0.5rem 1.1rem;
     border-radius: 999px;
     font-size: 0.8rem;
     font-weight: 700;
     display: flex;
     align-items: center;
     gap: 0.5rem;
     box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
     transition: opacity 0.3s ease;
     pointer-events: none;
     z-index: 10;
}
 .scroll-indicator.hidden {
     opacity: 0;
}
 .scroll-indicator i {
     animation: bounce 2s infinite;
}
 @keyframes bounce {
     0%, 20%, 50%, 80%, 100% {
         transform: translateY(0);
    }
     40% {
         transform: translateY(-5px);
    }
     60% {
         transform: translateY(-3px);
    }
}
/* Bottom Facebook Button */
 .btn-facebook-bottom {
     background-color: #79bde8;
     border: 2px solid #79bde8;
     color: #003767;
     padding: 0.8rem 2rem;
     font-weight: 600;
     font-size: 1.1rem;
     transition: all 0.3s ease;
     text-decoration: none;
     display: inline-flex;
     align-items: center;
}
 .btn-facebook-bottom:hover {
     background-color: white;
     border-color: white;
     color: #003767;
     transform: translateY(-3px);
     box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
     text-decoration: none;
}
/* No Posts Message */
 .no-posts-message {
     padding: 4rem 2rem;
}
 .no-posts-message i {
     color: #79bde8;
}
/* Disabled State */
 .btn.disabled {
     opacity: 0.6;
     pointer-events: none;
}
/* Responsive Design */
 @media (max-width: 1200px) {
     .posts-grid {
         grid-template-columns: repeat(3, minmax(0, 1fr));
         gap: 1.25rem;
    }
}
 @media (max-width: 992px) {
     .posts-grid {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 1.25rem;
    }
     .feed-title {
         font-size: 2rem;
         text-align: center;
    }
}
 @media (max-width: 768px) {
     .feed-title {
         font-size: 1.8rem;
         text-align: center;
         margin-bottom: 1rem;
    }
     .btn-facebook-bottom {
         padding: 0.6rem 1.5rem;
         font-size: 1rem;
    }
}
/* Phones: one swipeable row instead of a scroll box inside the page */
 @media (max-width: 576px) {
     .social-feed-section {
         padding: 2rem 0;
    }
     .feed-title {
         font-size: 1.6rem;
    }
     .posts-scroll-container {
         height: auto;
         overflow-x: auto;
         overflow-y: hidden;
         scroll-snap-type: x mandatory;
         scroll-padding-left: 6px;
         padding: 10px 6px 18px;
    }
     .posts-grid {
         grid-template-columns: none;
         grid-auto-flow: column;
         grid-auto-columns: 82%;
         gap: 14px;
    }
     .post-item {
         scroll-snap-align: start;
    }
     .scroll-indicator {
         display: none;
    }
}
