/* Content Hero Section (Formerly Meeting Hero) */
.content-hero {
    background-size: cover;
    background-position: center;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .content-hero {
        height: 150px;
    }
}

.content-hero .content-container {
    position: relative;
    z-index: 2;
}

.content-hero h1 {
    font-family: var(--font-fancyhdr);
    font-size: var(--hdr1-size) ;
	font-weight: 400;
    line-height: 2rem;
    color: var(--color-header);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.content-hero .lead {
    font-size: var(--hdr3-size);
    color: #bbbbbb;
    max-width: 600px;
    margin: 0 auto;
}

.content-info {
    background-color: var(--color-bkgd-med);
}

.content-info h1 {
    font-family: var(--font-fancyhdr);
    font-size: var(--hdr1-size) ;
	font-weight: 400;
    line-height: 2rem;
    color: var(--color-header);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
	margin: 1rem 0 1rem 0;
	text-align: center;
}

.content-details-card {
    background-color: var(--color-bkgd-lt);
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--color-hilite);
    transition: transform 0.3s ease;
}

.content-details-card h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-hilite);
    border-radius: 2px;
}

/* Newsletter archive styles */
.year-navigation {
    margin: 25px 0;
    text-align: center;
}

.year-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 15px 0;
    width: 100%;
}

.year-button {
    display: inline-block;
    min-width: 55px;
    padding: 10px 15px;
	margin: 5px;
    background-color: #3a3a3a;
    color: var(--color-body);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.year-button:hover {
    background-color: var(--color-hilite);
    color: var(--color-bright);
}

.year-button.active {
    background-color: var(--color-hilite);
    color: var(--color-bright);
    font-weight: bold;
}

.nav-btn:hover {
    background-color: var(--color-header);
    color: var(--color-bkgd-lt);
}

.nav-btn {
    display: inline-block;
    min-width: 90px;
	padding: 10px 15px;
    margin: 5px 10px;
    background-color: var(--color-hilite);
    color: var(--color-header);
	font-weight : bold;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.prev-btn {
    border-radius: 20px 5px 5px 20px;
}


.next-btn {
    border-radius: 5px 20px 20px 5px;
}


.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.newsletter-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 6px;
    background-color: #3a3a3a;
    color: var(--color-bright);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 60px;
}

.newsletter-item:hover {
    background-color: var(--color-hilite);
    transform: translateY(-3px);
}

.no-newsletters-message {
    text-align: center;
    padding: 30px;
    color: var(--color-body);
    font-style: italic;
    grid-column: 1 / -1;
}

/* Location Details Section */
.location-details {
    padding: 5px 0;
    background-color: #171717;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23333' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.location-details h2 {
    color: var(--color-header);
    font-family: var(--font-fancyhdr);
    font-size: var(--hdr2-size);
    margin-bottom: 25px;
    text-align: left;
}

.location-directions {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.location-directions li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: var(--color-body);
    font-size: var(--body-size);
}

.location-directions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-header);
    font-weight: bold;
    font-size: var(--hdr4-size);
	top: -4px
}

.location-image {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid var(--color-bkgd-lt);
}

.location-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* What to Expect Section */
.what-to-expect {
    padding: 0px 0;
    background-color: var(--color-bkgd-med);
}

.expectation-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.expectation-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background-color: var(--color-bkgd-lt);
    border-radius: 8px;
}

.emoji-icon {
    color: inherit;
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expectation-item div {
    flex-grow: 1;
}

.award-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.award-card {
    display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
    width: 185px;
    height: 108px; 
    perspective: 1000px;
    background:url(../image/nameplate.jpg) no-repeat center center;
    overflow:hidden;
    padding:5px;
}

.award-card p {
	font-family: var(--font-serif);
    color: var(--color-dark);
	font-size: var(--body-sm-size);
	text-align: center;
	padding: 0;
}


@media (max-width: 480px) {
    .award-card {
        width: 100%;
        max-width: 145px;
        height: 62px; /* Even smaller on very small screens */
    }
}



/* Content Listing Section (Formerly Upcoming Meetings) */
.content-listing {
    padding: 0px 0;
    background-color: #171717;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23333' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900;
    margin: 0 auto;
}

.content-card {
    display: flex;
    background-color: var(--color-bkgd-lt);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-item-info {
    padding: 20px 25px;
    flex-grow: 1;
}

.content-item-info h3 {
    color: var(--color-header);
    font-family: var(--font-fancyhdr);
    font-size: var(--hdr3-size);
    margin-bottom: 12px;
}

.content-item-info p {
    color: var(--color-body);
    font-size: var(--body-size);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Custom Grid System to Replace Bootstrap */
.content-container {
    width: 100%;
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.content-row {
    display: flex;
    flex-wrap: wrap;
	justify-content : center;
    margin-right: -15px;
    margin-left: -15px;
}

.content-col {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 10px
}

.content-col-full {
    flex: 0 0 100%;
    max-width: 100%;
}

.content-col-half {
    flex: 0 0 50%;
    max-width: 50%;
}

.content-col-two-thirds {
    flex: 0 0 66.66666667%;
    max-width: 66.66666667%;
}

.content-col-three-fourths {
    flex: 0 0 75%;
    max-width: 75%;
}


/* Utility Classes */
.content-text-center {
    text-align: center;
}

.content-align-center {
    display: flex;
    align-items: stretch;
}

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

.content-mt-medium {
    margin-top: 15px;
}

.content-mt-large {
    margin-top: 30px;
}

.content-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.content-rounded {
    border-radius: 8px;
}

@media (max-width: 768px) {

    .content-col-two-thirds {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
	
@media (max-width: 924px) {

	.content-col-three-fourths {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .content-col-half {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .newsletter-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .content-card {
        flex-direction: column;
    }
    
    
    .location-details h2,
    .attending-info h2 {
        text-align: center;
    }
    
    .location-image {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .content-hero h1 {
        font-size: var(--hdr1-size);
    }
    
    .content-hero .lead {
        font-size: var(--hdr4-size);
    }
    
    .content-details-card {
        margin-bottom: 30px;
    }
    
    .expectation-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .emoji-icon {
        margin-bottom: 10px;
        font-size: var(--emoji-size);
    }
    
    .attendance-info h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .attendance-info h3,
    .attendance-info p {
        text-align: center;
    }
    
    .newsletter-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Events Section Styling */
.events-section {
    padding: 20px 0;
    background-color: var(--color-bkgd-med);
	background-image: url('../image/experience.jpg');
	
}

.events-section h2 {
    color: var(--color-header);
    font-family: var(--font-fancyhdr);
    font-size: var(--hdr2-size);;
    margin-bottom: 30px;
    text-align: center;
}

.events-section h3 {
    color: var(--color-header);
    font-family: var(--font-bodytext);
    font-size: var(--hdr3-size);
    margin: 40px 0 20px 0;
    text-align: center;
}

.event-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.event-card {
	display: grid;
	grid-template-areas:
		"date title"
		"date place"
		"date comment";
	grid-template-columns: 1fr 4fr;
	gap: 5px;
    background-color: var(--color-bkgd-lt);
    border-radius: 8px;
    padding: 10px;
    width: 95%;
	min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--color-hilite);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card .event-title {
    grid-area: title;
	color: var(--color-header);
    font-family: var(--font-bodytext);
    font-size: var(--hdr3-size);
    text-align: center;
}
.event-card .event-title a {
    color: var(--color-header);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.event-card .event-title a:hover {
    color: var(--color-bright);
    text-decoration: underline;
}


.event-card .event-date {
    grid-area: date;
    color: var(--color-bright);
    font-size: var(--hdr4-size);
    font-weight: 600;
	margin: 8px 0;
}

.event-card .event-place {
    grid-area: place;
    color: var(--color-header);
    font-size: var(--body-sm-size);
}

.event-card .event-place a {
    color: var(--color-header);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.event-card .event-place a:hover {
    color: var(--color-bright);
    text-decoration: underline;
}

.event-card .event-comment {
    grid-area: comment;
	color: var(--color-body);
    font-size: var(--body-sm-size);
    line-height: 1.5;
}

@media (max-width: 767px) {
    .event-card {
        width: calc(50% - 20px);
    }
}

/* Form response styling */
.form-response {
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.form-response.success {
    background-color: rgba(76, 175, 80, 0.2);
    border-left: 4px solid #4CAF50;
    color: #2e7d32;
}

.form-response.error {
    background-color: rgba(244, 67, 54, 0.2);
    border-left: 4px solid #F44336;
    color: var(--color-error);
}

/* Add styles for validation error messages */
.error-message {
    color: var(--color-error);
    font-size: var(--tiny-size);
    margin-top: 2px;
    display: block;
    font-weight: 500;
	padding-top: 0px;
	height: 0.75rem;
}

/* Add styles for input fields with error */
input.error, textarea.error {
    border: 2px solid var(--color-error);
    box-shadow: 0 0 5px rgba(198, 40, 40, 0.3);
}

/* Officer Profile Styles */
.officer-profile {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.officer-info {
    flex: 1;
}
.officer-image {
    margin-left: 20px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .officer-profile {
        flex-direction: column-reverse;
    }
    .officer-image {
        margin-left: 0;
        margin-bottom: 15px;
        align-self: center;
    }
}
