/* Historical Society Color Overrides */
:root {
    --primary-color: #21743C;
    --primary-hover: #1A5C30;
    --secondary-color: #F7F2E5;
    --accent-color: #21743C;
    --background-light: #F7F2E5;
    --text-on-primary: #FFFFFF;
    --text-on-secondary: #333333;
}

/* Navigation Overrides */
.historical-navbar {
    background-color: var(--primary-color);
}

.historical-navbar .nav-brand img {
    height: 50px;
    width: auto;
}

.historical-navbar .nav-menu a {
    color: var(--text-on-primary);
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.historical-navbar .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-on-primary);
    transition: width 0.3s ease;
}

.historical-navbar .nav-menu a:hover {
    color: var(--text-on-primary);
}

.historical-navbar .nav-menu a:hover::after {
    width: 100%;
}

.historical-navbar .back-to-main {
    background-color: rgba(247, 242, 229, 0.2);
    color: var(--text-on-primary);
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.historical-navbar .back-to-main:hover {
    background-color: rgba(247, 242, 229, 0.3);
}

/* Mobile Menu */
.historical-navbar .mobile-menu-toggle span {
    background-color: var(--text-on-primary);
}

/* Mobile Menu Colors */
.historical-navbar .nav-menu.active {
    background-color: var(--primary-color);
}

.historical-navbar .nav-menu.active a {
    color: var(--text-on-primary);
}

/* Hero Section Overrides */
.historical-hero {
    position: relative;
    background-image: url('../images/town/historic-church-entrance.jpg');
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

.historical-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content h1 {
    color: var(--text-on-primary);
}

.hero-tagline {
    color: var(--secondary-color);
}

.hero-description {
    color: var(--text-on-primary);
}

/* CTA Button Override */
.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 30px;
}

.cta-button:hover {
    background-color: #FFFFFF;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 116, 60, 0.3);
}

/* Section Backgrounds */
.about-section {
    background-color: #FAFAFA;
    padding: 80px 0;
}

.heritage-centre-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.collections-section {
    background-color: #FAFAFA;
    padding: 80px 0;
}

.timeline-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.stories-section {
    background-color: #FAFAFA;
    padding: 80px 0;
}

.events-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.get-involved-section {
    background-color: #FAFAFA;
    padding: 80px 0;
}

.resources-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.contact-section {
    background-color: #FAFAFA;
    padding: 80px 0;
}

/* About Section Specific Styles */
.about-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 50px;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
}


/* Value Cards */
.value-card {
    background-color: #FFFFFF;
    border: none;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1 1 300px;
    max-width: 320px;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(33, 116, 60, 0.15);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-card h4::before {
    content: '';
    width: 45px;
    height: 45px;
    background-color: rgba(33, 116, 60, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.value-card:nth-child(1) h4::before {
    content: '📚';
}

.value-card:nth-child(2) h4::before {
    content: '🎓';
}

.value-card:nth-child(3) h4::before {
    content: '🔍';
}

.value-card:nth-child(4) h4::before {
    content: '🤝';
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin-left: 57px;
}

/* Section Headings - Consistent Styling */
section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Heritage Centre Info */
.heritage-centre-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.centre-details {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.centre-details h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
}

.opening-hours, .contact-info, .location-info {
    margin-bottom: 25px;
}

.opening-hours h4, .contact-info h4, .location-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.centre-highlights {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.centre-highlights h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
}

.centre-highlights ul {
    list-style: none;
    padding: 0;
}

.centre-highlights li {
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
    position: relative;
    padding-left: 30px;
    color: #555;
    line-height: 1.6;
}

.centre-highlights li:last-child {
    border-bottom: none;
}

.centre-highlights li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Collection Cards */
.collections-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.collection-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
    flex: 1 1 300px;
    max-width: 350px;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(33, 116, 60, 0.15);
}

.collection-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.collection-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.collection-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.collection-card li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 20px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 20px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Stories Section */
.featured-story-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: center;
}

.featured-story-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.featured-story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-story-image:hover img {
    transform: scale(1.05);
}

.featured-story-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.featured-story-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.story-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.story-link:hover {
    color: var(--primary-hover);
    transform: translateX(5px);
}

/* Story Categories */
.story-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
    justify-content: center;
}

.story-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex: 1 1 350px;
    max-width: 400px;
}

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

.story-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .story-card-image img {
    transform: scale(1.1);
}

.story-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.story-card-content {
    padding: 30px;
}

.story-card-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.story-card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.story-count {
    display: inline-block;
    background-color: rgba(33, 116, 60, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Recent Stories */
.recent-stories {
    background-color: #FFFFFF;
    padding: 50px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.recent-stories h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

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

.recent-story-item {
    padding: 25px;
    background-color: #FAFAFA;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.recent-story-item:hover {
    background-color: #F5F5F5;
    transform: translateX(5px);
}

.story-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.recent-story-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.recent-story-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.submit-story {
    background: linear-gradient(135deg, rgba(33, 116, 60, 0.05) 0%, rgba(247, 242, 229, 0.5) 100%);
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.submit-story::before {
    content: '📖';
    position: absolute;
    top: -40px;
    right: -40px;
    font-size: 150px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.submit-story h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.submit-story p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Event Cards */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(33, 116, 60, 0.15);
}

.event-date {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    font-weight: bold;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-details {
    padding: 20px;
    flex: 1;
}

.event-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-time {
    color: #666;
    font-size: 0.9em;
    display: block;
    margin-top: 10px;
}

/* Get Involved Cards */
.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.involvement-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.involvement-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.involvement-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 20px 0;
}

.involvement-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.involvement-card li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.resource-card ul {
    list-style: none;
    padding: 0;
}

.resource-card li {
    padding: 8px 0;
    border-bottom: 1px solid #E5DFD2;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    background-color: #FFFFFF;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-info p strong {
    color: #333;
    font-weight: 600;
    display: inline-block;
    min-width: 140px;
    position: relative;
}

/* Add icons to contact info */
.contact-info p:nth-of-type(1) strong::before {
    content: '📍';
    position: absolute;
    left: -25px;
    top: 0;
}

.contact-info p:nth-of-type(2) strong::before {
    content: '📞';
    position: absolute;
    left: -25px;
    top: 0;
}

.contact-info p:nth-of-type(3) strong::before {
    content: '✉️';
    position: absolute;
    left: -25px;
    top: 0;
}

.contact-info p:nth-of-type(4) strong::before {
    content: '🕐';
    position: absolute;
    left: -25px;
    top: 0;
}

/* Opening Hours Styling */
.contact-info p:nth-of-type(4) {
    margin-bottom: 5px;
}

.contact-info p:nth-of-type(5) {
    margin-left: 140px;
    margin-top: 0;
}

.social-links {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #F0F0F0;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1877F2;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.facebook-link:hover {
    background-color: #1664D8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.facebook-link svg {
    width: 24px;
    height: 24px;
}

/* Contact Form */
.contact-form {
    background-color: #FFFFFF;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #DDD;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 116, 60, 0.3);
}

/* Form Submit Button */
.contact-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-top: 15px;
    max-width: 380px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    font-size: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    outline: none;
    border-radius: 6px 0 0 6px;
}

.newsletter-form input::placeholder {
    color: #666;
}

.newsletter-form input:focus {
    background-color: #FFFFFF;
}

.newsletter-form button {
    background-color: #333333;
    color: white;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 0 6px 6px 0;
}

.newsletter-form button:hover {
    background-color: #1a1a1a;
    color: white;
    transform: translateX(-1px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(247, 242, 229, 0.2);
}

.footer-bottom a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Social Icon Link in Footer */
.social-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.social-icon-link svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .heritage-centre-info,
    .contact-content,
    .featured-story-wrapper {
        grid-template-columns: 1fr;
    }
    
    .centre-details {
        padding: 1.5rem;
    }
    
    .centre-details h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .opening-hours h4,
    .contact-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .opening-hours p,
    .contact-info p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-info p strong::before {
        display: none;
    }
    
    .featured-story-image {
        height: 250px;
    }
    
    .featured-story-image img {
        height: 100%;
    }
    
    .timeline:before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-bottom: 3rem;
        padding: 0;
        align-items: center;
    }
    
    .timeline-year {
        position: relative;
        left: auto;
        transform: none;
        margin-bottom: 1rem;
        min-width: auto;
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
        z-index: 2;
        background-color: var(--primary-color);
    }
    
    .timeline-content {
        width: 90%;
        margin: 0 auto !important;
        padding: 1.5rem;
        position: relative;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0 auto !important;
    }
    
    .timeline-content h3 {
        font-size: 1.25rem;
        margin-top: 0;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
    }
    
    .timeline::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 16px;
        height: 16px;
        background-color: var(--primary-color);
        border-radius: 50%;
        border: 3px solid white;
        box-shadow: 0 0 0 1px var(--primary-color);
    }
    
    /* Alternative: Year as inline tag 
    .timeline-year {
        display: inline-block;
        margin-bottom: 0.5rem;
        margin-right: 0;
        font-size: 0.85rem;
        padding: 0.25rem 0.75rem;
        background-color: var(--primary-color);
        color: white;
        border-radius: 15px;
    }
    
    .timeline-content {
        width: 85%;
        padding-top: 2rem;
    }
    
    .timeline-content::before {
        top: 50%;
        transform: translate(-50%, -50%);
    }
    */
    
    .collections-grid,
    .story-categories,
    .involvement-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-stories {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .recent-stories h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .recent-stories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .recent-story-item {
        padding: 1rem;
        transform: none !important;
    }
    
    .recent-story-item:hover {
        transform: none !important;
    }
    
    .recent-story-item h4 {
        font-size: 1.1rem;
    }
    
    .recent-story-item p {
        font-size: 0.9rem;
    }
    
    .social-links {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .facebook-link {
        padding: 0.65rem 1rem;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    .facebook-link svg {
        width: 18px;
        height: 18px;
    }
    
    .facebook-link span {
        font-size: 0.875rem;
        font-weight: 500;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 300px;
        margin: 15px auto 0;
    }
}

/* Cookie Banner Theming */
.historical-cookie-banner {
  background: var(--primary-color);
}

.historical-cookie-banner .cookie-link {
  color: var(--secondary-color);
  opacity: 0.9;
}

.historical-cookie-banner .cookie-link:hover {
  opacity: 1;
}

.historical-cookie-banner .cookie-accept {
  background: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 600;
}

.historical-cookie-banner .cookie-accept:hover {
  background: #F0E9D5;
  transform: translateY(-1px);
}