/**
Theme Name: MakeYourMark
Author: tsheeley
**/

/* All Pages */
.spacer {
	margin-right: 5px;
}

.red-top-banner {
    min-height: 12vh;
    max-height: 35vh;
    background-color: #bf1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-wrap {
    padding: 0 2rem 0 0;
    width: 100%
}

.white-text {
    color: #fff;
}

.red-highlight {
    color: #bf1000;
}

.itallic {
    font-style: italic;
}

.greybar {
    display: flex;
    height: 2px;
    background-color: #333;
    width: 100%;
}

.medium-font {
    font-style: italic !important;
    font-size: 2.2rem !important;
    font-weight: 500 !important;
}

body {
    font-family: 'EB Garamond', serif;
    font-weight: 400; /* Regular */
}

h1 {
    font-family: 'EB Garamond', serif;
    font-weight: 700; /* Bold */
}

h2 {
    font-family: 'EB Garamond', serif;
    font-weight: 600; /* Semi-bold */
}

p {
    font-family: 'EB Garamond', serif;
    font-weight: 500; /* Medium */
}


/* Top Bar Section */

@media screen and (min-width: 769px){
    .top-bar {
        justify-content: end !important;
    }

    .hamburger_button {
        display: none;
    
    }
    .small-screen-app  {
        display: none !important;
    }
    
}

@media screen and (max-width: 768px) {
    .top-bar {
        display: flex;
        justify-content: space-between;
        height: 100%
    }

    .hamburger_button {
        display: flex;
        align-items: center;
    }
    
    .small-screen-dsp {
        display: none !important;
    }
}

.top-bar {
    height: 1.2rem;
    background-color: #bf1000;
    width: 100%;
    display: flex;
    height: 100%
}

.buttonicon-container {
    display: flex;
    justify-content: space-around;
    padding: 5px;
}

.top-bar-menu-buttonicon {
    display: flex;
    align-items: center;
    gap: 10px;  /* Space between the icon and the button */
}


.gold-btn {
    justify-content: right;
    background-color: #ac7b35;
    color: #fff;
    border-radius: 30px;
    border-style: none;
    padding-left: 15px; 
    padding-right: 15px;
    width: auto;
    height: 30px; 
    margin: 10px;
    font-family: 'EB Garamond', serif;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
}

.clear-button {
    background: transparent; /* Clear background */
    border: none; /* No border */
    font-family: 'EB Garamond', serif; /* EB Garamond font */
    font-weight: 700; /* Bold text */
    font-size: 1.1rem; /* Font size, adjust as needed */
    padding: 5px 10px; /* Padding around the text */
    text-decoration: none; /* Removes underline if it's a link */
    cursor: pointer; /* Cursor indicates clickable button */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effects */
    color: #fff; /* White text color */
}

.clear-button:hover {
    background-color: #ac7b35; /* Color shifts on hover */
    color: #ffffff; /* Text color changes to white on hover */
}

/* Header Section Styles */

.header {
    background-color: #fff; /* Adjust as needed */
  }

.header .logo {
    justify-content: start;
    width: 14vw;
    margin-top: 5px;
}

.mobile-menu-class {
    display: none;
}

@media (max-width: 768px) {
    .header .logo {
        width: 55vw;
        justify-content: center;
    }

    .header-row {
        display: flex;
        flex-direction: column;
    }

    .logo-center {
        display: flex;
        justify-content: center;
    }

    .mobile-menu-class {
        display: block;
    }

    .main-nav {
        display: none !important;
    
    }

}

@media (max-width: 480px) {
    .header .logo {
        width: 55vw;
        justify-content: center;
    }

    .header-row {
        display: flex;
        flex-direction: column;
    }

    .logo-center {
        display: flex;
        justify-content: center;
    }

    .small-screen-width {
        display: none;
    }

    .nav-menu a {
        font-size: .8rem; /* Set font size */
        padding: 5px; /* Add padding to menu items */
    }

    .mobile-menu-class {
        display: block;
    }

    .main-nav {
        display: none !important;
    
    }

}


  .red-btn {
    background-color: #bf1000;
    height: 30%;
    width: 200px;
    border-style: none;
    color: #fff
  }

/* Styling for the red button */
.red-btn2 {
    padding: 10px 20px;
    font-size: 20px;
    color: white;
    background-color: #bf1000;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.gray {
	background-color: lightgray;
	height: 100%;
}
/* Optional: Hover effect */
.red-btn2:hover {
    background-color: #a00000;
}

.red-button-box {
	justify-content: center;
	align-items: center;
	display: flex;
}

 /* Style the main navigation menu */
.nav-menu {
    list-style-type: none; /* Remove default list styles */
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline-block; /* Display menu items horizontally */
    margin-right: 20px; /* Adjust spacing between menu items */
}

.nav-menu li:last-child {
    margin-right: 0; /* Remove margin from the last menu item */
}

.nav-menu a {
    text-decoration: none; /* Remove underline from links */
    color: #333; /* Set link color */
    font-weight: bold; /* Set font weight */
    font-size: 1.1rem; /* Set font size */
    padding: 10px; /* Add padding to menu items */
}

.nav-menu a:hover {
    color: #bf1000; /* Change link color on hover */
}

.nav-menu .dropdown-toggle {
    display: none;
}


/* Dropdown Menu Styles */
.dropdown-menu {
    display: none; /* Hide dropdown menu by default */
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 15px;
}

.nav-item:hover .dropdown-menu {
    display: block; /* Display dropdown menu on hover */
}

/* Style the mobile navigation menu */
.mobile-menu-class {
    position: fixed;
    top: 55px; 
    left: 0; 
    width: 250px; 
    transform: translateX(-100%); /* Ensures the menu starts off-screen */
    transition: transform 0.3s ease; /* Smooth transition for sliding*/
    height: 100%; /* Adjust as needed */
    background-color: #fff; /* Menu background */
    z-index: 1000; /* Ensures the menu is above other content */
}


.mobile-menu-class li {
    display: block; /* Stack menu items vertically */
    margin-right: 0; /* Remove right margin */
    border-bottom: 1px solid #eee; /* Adds a light line between menu items */
}

.mobile-menu-class li:last-child {
    border-bottom: none; /* Remove border from the last menu item */
}

.mobile-menu-class a {
    text-decoration: none; /* Remove underline from links */
    color: #333; /* Set link color */
    font-weight: bold; /* Set font weight */
    font-size: 1rem; /* Set font size, slightly smaller for mobile */
    padding: 15px; /* Add more padding for easier touch */
    display: block; /* Makes the whole area clickable */
}

.mobile-menu-class a:hover {
    color: #bf1000; /* Change link color on hover */
    background-color: #f9f9f9; /* Optional: change background on hover for better visibility */
}

.mobile-menu-class .dropdown-toggle {
    display: block; /* Show the dropdown toggle in mobile menu */
    float: right; /* Position it to the right of the menu item */
    padding: 0 10px; /* Padding for touch area */
}


/* Hero Section */
.hero {
    position: relative;
    overflow: hidden; /* Ensure content doesn't overflow outside the hero section */
    background-color: #bf1000;
}

.image-hero {
    display: block;
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-height: 70vh; /* Maximum height */
}

.hero-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    max-width: 1350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1; /* Ensure content appears above the image */
    color: #fff; /* Adjust text color as needed */
    width: 90%; /* Ensures padding within the area */
    padding: 10px; /* Padding to prevent text from touching the edges */
}

.hero-content h1 {
    font-size: 5vw; /* Adjust font size as needed */
    margin-bottom: 20px; /* Adjust spacing between heading and paragraph as needed */
}

.hero-content p {
    font-size: 2.5vw; /* Adjust font size as needed */
}

/* Media Queries for Responsive Adjustments */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 3vw; /* Adjust font size as needed */
    }

    .hero-content p {
        font-size: 1.8vw; /* Adjust font size as needed */
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block; /* Only show on mobile, manage with media queries */
        background: none;
        border: none;
        cursor: pointer;
        padding: 15px;
    }
    
    .hamburger-box,
    .hamburger-inner {
        width: 30px; height: 2px;
        background-color: #bf1000;
        position: relative;
        display: block;
    }
    
    .hamburger-inner {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .hamburger-inner::before,
    .hamburger-inner::after {
        content: '';
        background-color: #bf1000;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        transition: all 0.3s;
    }
    
    .hamburger-inner::before { top: -10px; }
    .hamburger-inner::after { top: 10px; }
}

@media (max-width: 480px) {
    .content .h-1 {
        font-size: 1.6rem !important;
    }

    .content .h-2 {
        font-size: 2rem !important;
    }

    .hero-content p {
        font-size: 3vw; /* Adjust font size as needed */
    }
    
}



@media screen and (max-width: 768px) {
    .image-hero {
        min-height: 30vh;
    }
    
    .toggle-nav {
        padding: 15px;
        margin: 15px;
        display: inline-block !important;
        color: #fff; /* Overriding earlier color declaration */
        transition: color linear 0.15s;
    }

    .toggle-nav:hover, .toggle-nav.active {
        text-decoration: none;
        color: #8D7F68;
    }

    .menu.main {
        display: inline-block;
        position: relative;
        background: #fff;
    }

    .menu.main ul {
        display: none;
        position: absolute;
        top: 80%;
        left: 0;
        padding-left: 15px;
        background: #fff;
    }

    .menu.main li {
        display: block;
        float: none;
    }

    .hamburger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 15px;
    }

    .hamburger-box {
        width: 30px;
        height: 15px; /* Height adjusted to contain the parts of the icon */
        position: relative;
        display: inline-block;
    }

    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
        background-color: #fff;
        position: absolute;
        width: 100%;
        height: 2px;
        transition: transform 0.3s ease, background-color 0.3s ease;
        display: block;
        content: "";
    }

    .hamburger-inner {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger-inner::before {
        top: -10px;
        transform-origin: left center;
    }

    .hamburger-inner::after {
        top: 10px;
        transform-origin: left center;
    }

    /* Transformations when hamburger is active */
    .hamburger.is-active .hamburger-inner {
        background-color: transparent; /* Hide center line */
    }

    .hamburger.is-active .hamburger-inner::before {
        transform: translateY(0px) rotate(45deg);
    }

    .hamburger.is-active .hamburger-inner::after {
        transform: translateY(0px) rotate(-45deg);
    }

    .flex-container {
        flex-direction: column;
    }

    .child-1, .child-2 {
        width: 100vw !important;
        height: auto !important;
    }
    
    .content .p-1 {
        font-size: 1.2rem !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
        padding-top: 5px ;
    }

    .content .h-1,
    .content .h-2 {
        font-size: 2.5rem;
    }
	
	.block-img {
		height: 40vh !important; 
	}

}


/* Dual Block Body Section */

.dual-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.child-1, .child-2 {
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 410px;

}

.child-1 {
    width: 50vw;
    height: 50vh;
    display: flex;
    
}

.child-2 {
    width: 50vw;
    height: 50vh;
}

.flex-container {
    display: flex;
    flex-wrap: wrap; /* Optional: to wrap items to the next line if needed */
}

.child-1, .child-2 {
    flex: 1 1 50%; /* Adjusts the width of the divs to 50% each */
    min-width: 300px; /* Minimum width to maintain the layout on smaller screens */
    height: 100%; /* Ensures the height is maintained */
}


.child-1 .content,
.child-2 .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 10px
}

.content p {
    font-size: 1.5rem;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 10px;
}

.block-img {
        display: flex;
        max-width: auto;
        height: auto;
        object-fit: contain;
        border: #bf1000;
        border-width: 8px;
        border-style: solid;
        border-radius: 10px;
        margin-bottom: 10px;
		box-shadow: 0px 0px 10px rgba(0, 0, 0, 1); /* Subtle shadow for depth */
		margin: 20px auto; /* Center align and add space around the text */
}

.ghpbio {
    line-height: 1.6; /* Space out lines for better readability */
    color: #000; /* Dark grey text color */
    font-size: 1.1em; /* Slightly larger font size */
    max-width: 900px; /* Limit the width for better readability */
    margin: 20px auto; /* Center align and add space around the text */
    padding: 20px; /* Add padding around the text */
    background-color: #f9f9f9; /* Light grey background for contrast */
/*     border-left: 5px solid #bf1000; Red border for emphasis */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.post-item {
    background-color: lightgray;
	max-width: 30vw;
	padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(40% - 20px); /* Two posts per row with gap */
    display: flex;
    flex-direction: column;
    text-align: center;
	margin-bottom: 20px;
}

/* Featured image */
.post-thumbnail img {
    max-width: 40%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Post title */
.post-item h2 {
    font-size: 1.1rem;
    margin: 10px 0;
}

/* Excerpt styling */
.post-item p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.child-2 .post-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between the posts */
    justify-content: space-between;
}

.blog-header {
    text-align: center;
    font-size: 2rem;
    margin: 20px;
    color: #ac7b35; /* Adjust the color if needed */
}
/* Responsive design */
@media (max-width: 768px) {
    .post-item {
        flex: 1 1 100%; /* Stack the posts on smaller screens */
		padding: 5px;
		max-width: 90vw;
		margin: 0 auto;
    }
}

/* District Map Section */

.map-container .district-map {
    width: 100%;
    height: auto;
    max-width: 600px; 
    display: block;
    margin: 0 auto;
}

.district-links {
    display: flex;
    justify-content: center; /* Centers the list container in the parent */
    padding: 20px; /* Adds some padding around the container */
}

.district-link-listitem {
    display: flex; /* Enables flexbox */
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    list-style: none; /* Removes bullet points from the list */
    padding: 0; /* Removes padding */
    margin: 0; /* Removes margin */
    max-width: 960px; /* Maximum width of the list */
    justify-content: space-around; /* Distributes space around items */
}

.district-link-listitem li {
    flex: 1 1 30%; /* Grow and shrink at a rate of 1, basis of 30% */
    margin: 5px; /* Adds margin around each item */
    background-color: #bf1000; /* Red background color */
    text-align: center; /* Centers the text within each link */
    padding: 15px 0; /* Adds padding inside each list item for better button height */
    border-radius: 5px; /* Rounded corners for the button */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.district-link-listitem li a {
    text-decoration: none; /* Removes underline from links */
    color: white; /* White text color */
    font-weight: bold; /* Makes the font bold */
    display: block; /* Makes the link fill the entire list item for better click area */
}

.district-link-listitem li:hover {
    background-color: #9f0e00; /* Darker red on hover for better user interaction */
}

@media (max-width: 768px) {
    .district-link-listitem li {
        flex: 1 1 100%; /* Each link takes full width on smaller screens */
    }
}



/* Footer Styles  */
.footer-nav {
    background-color: #343a40; /* Dark grey background */
    color: #fff; /* White text color */
    padding: 20px 0; /* Top and bottom padding */
}

.footer-container {
    display: flex; /* Enables flexbox layout */
    justify-content: space-between; /* Space between logo and links */
    align-items: center; /* Align items vertically */
    max-width: 1200px; /* Max width of the footer content */
    margin: 0 auto; /* Centering the footer container */
    padding: 0 15px; /* Padding on the sides for some breathing room */
}

.footer-logo {
    flex: 1; /* Allows the logo to take up space flexibly */
}

.footer-logo-img {
    width: 350px; /* Fixed width for the logo */
    height: auto; /* Maintain aspect ratio */
}

.link-columns {
    flex: 2; /* Allows the links section to take up more space */
    padding-left: 20px; /* Padding between logo and links */
}

.footer-nav h3 {
    margin-bottom: 10px; /* Space below the heading */
    color: #ac7b35; /* Gold color for headings for a distinguished look */
}

.footer-nav ul {
    list-style: none; /* Removes default list styling */
    padding: 0; /* Removes padding */
}

/* York Rite Finder */
.yr-locator-page {
    --yr-red: #8f1207;
    --yr-red-soft: #bf1000;
    --yr-gold: #ac7b35;
    --yr-cream: #f6efe3;
    --yr-ink: #2f2923;
    --yr-muted: #6f6559;
    --yr-council: #4d385f;
    --yr-commandery: #1e5c37;
    background:
        radial-gradient(circle at top left, rgba(172, 123, 53, 0.18), transparent 32%),
        linear-gradient(180deg, #fcf9f4 0%, #f5ecdd 100%);
    padding: 3rem 1.5rem 4.5rem;
}

.yr-locator-hero,
.yr-results-section,
.yr-secondary-section {
    max-width: 1220px;
    margin: 0 auto 1.75rem;
}

.yr-locator-hero {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
    align-items: stretch;
}

.yr-locator-copy,
.yr-locator-panel,
.yr-feedback,
.yr-match-card,
.yr-story-card,
.yr-browse-card {
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(47, 41, 35, 0.1);
}

.yr-locator-copy {
    background:
        linear-gradient(140deg, rgba(143, 18, 7, 0.94), rgba(191, 16, 0, 0.85)),
        url('../images/triangle_texture.png');
    background-size: cover;
    color: #fff7ef;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.yr-locator-copy::after {
    content: '';
    position: absolute;
    inset: auto -8% -24% auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
}

.yr-section-kicker,
.yr-match-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 700;
}

.yr-section-kicker {
    color: rgba(255, 244, 232, 0.82);
    margin-bottom: 0.85rem;
}

.yr-locator-copy h2,
.yr-section-heading h2,
.yr-feedback h3,
.yr-match-card h3,
.yr-helper-card h3,
.yr-story-card h3,
.yr-browse-card h3 {
    color: var(--yr-red);
}

.yr-locator-copy h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    max-width: 12ch;
}

.yr-locator-copy p {
    color: rgba(255, 246, 236, 0.92);
    font-size: 1.2rem;
    line-height: 1.55;
    max-width: 34rem;
}

.yr-locator-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
    margin-top: 2rem;
}

.yr-stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.yr-stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.yr-stat span {
    color: rgba(255, 246, 236, 0.88);
    display: block;
    margin-top: 0.35rem;
}

.yr-locator-panel {
    background: rgba(255, 251, 245, 0.96);
    border: 1px solid rgba(172, 123, 53, 0.28);
    padding: 1.4rem;
}

.yr-search-form {
    background: linear-gradient(180deg, #fffdf9 0%, #f6eee2 100%);
    border: 1px solid rgba(172, 123, 53, 0.18);
    border-radius: 20px;
    padding: 1.4rem;
}

.yr-search-label {
    color: var(--yr-red);
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.yr-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.yr-search-input {
    border: 1px solid rgba(51, 51, 51, 0.18);
    border-radius: 999px;
    color: var(--yr-ink);
    font-size: 1.08rem;
    padding: 1rem 1.2rem;
    width: 100%;
}

.yr-search-input:focus {
    border-color: var(--yr-gold);
    box-shadow: 0 0 0 4px rgba(172, 123, 53, 0.16);
    outline: none;
}

.yr-search-button {
    min-width: 210px;
    padding: 0.95rem 1.25rem;
}

.yr-search-note {
    color: var(--yr-muted);
    font-size: 1rem;
    margin: 0.85rem 0 0;
}

.yr-helper-grid,
.yr-story-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1rem;
}

.yr-helper-card,
.yr-story-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(172, 123, 53, 0.18);
    border-radius: 18px;
    padding: 1.25rem;
}

.yr-helper-card p,
.yr-story-card p,
.yr-feedback p,
.yr-match-description,
.yr-empty-copy,
.yr-browse-card p,
.yr-detail-list,
.yr-contact-block p {
    color: var(--yr-muted);
    margin-bottom: 0;
}

.yr-feedback {
    background: #fffaf2;
    border: 1px solid rgba(172, 123, 53, 0.25);
    margin: 0 auto 1.75rem;
    max-width: 1220px;
    padding: 1.2rem 1.4rem;
}

.yr-feedback--error {
    background: #fff4ef;
    border-color: rgba(143, 18, 7, 0.18);
}

.yr-feedback--success {
    background: #fffaf0;
}

.yr-section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.yr-section-heading .yr-section-kicker {
    color: var(--yr-gold);
    margin-bottom: 0.35rem;
}

.yr-section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: 0;
}

.yr-match-grid,
.yr-browse-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yr-match-card,
.yr-browse-card {
    background: linear-gradient(180deg, #fffefb 0%, #f7efe2 100%);
    border: 1px solid rgba(172, 123, 53, 0.18);
    padding: 1.5rem;
}

.yr-match-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.yr-match-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: var(--yr-red-soft);
}

.yr-match-card--chapter::before,
.yr-badge--chapter,
.yr-map-link--chapter {
    background-color: var(--yr-red-soft);
}

.yr-match-card--council::before,
.yr-badge--council,
.yr-map-link--council {
    background-color: var(--yr-council);
}

.yr-match-card--commandery::before,
.yr-badge--commandery,
.yr-map-link--commandery {
    background-color: var(--yr-commandery);
}

.yr-match-card-top,
.yr-card-topline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.yr-match-kicker {
    color: var(--yr-gold);
}

.yr-match-type,
.yr-badge,
.yr-meta {
    border-radius: 999px;
    display: inline-flex;
    line-height: 1;
    padding: 0.45rem 0.82rem;
}

.yr-match-type {
    background: rgba(172, 123, 53, 0.12);
    color: #7e5723;
    font-size: 0.9rem;
    font-weight: 700;
}

.yr-badge {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.yr-meta {
    background: rgba(172, 123, 53, 0.14);
    color: #7e5723;
    font-size: 0.9rem;
}

.yr-match-card h3,
.yr-browse-card h3 {
    font-size: 2rem;
    line-height: 1.05;
    margin: 0.7rem 0 0.4rem;
}

.yr-match-distance,
.yr-browse-distance {
    color: var(--yr-red);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.8rem 0 1rem;
}

.yr-detail-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.yr-detail-list li {
    border-bottom: 1px solid rgba(172, 123, 53, 0.12);
    padding: 0.55rem 0;
}

.yr-detail-list li:last-child {
    border-bottom: none;
}

.yr-match-address,
.yr-browse-card address {
    color: var(--yr-ink);
    font-size: 1.04rem;
    font-style: normal;
    line-height: 1.45;
}

.yr-contact-block {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(172, 123, 53, 0.15);
    border-radius: 16px;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
}

.yr-contact-block h4 {
    color: var(--yr-red);
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.yr-contact-block a {
    color: var(--yr-red);
    text-decoration: none;
}

.yr-contact-block a:hover {
    text-decoration: underline;
}

.yr-card-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.yr-map-link {
    align-self: flex-start;
    margin-top: auto;
}

.yr-map-link--chapter:hover {
    background-color: #a00000;
}

.yr-map-link--council:hover {
    background-color: #3f2d4d;
}

.yr-map-link--commandery:hover {
    background-color: #18492c;
}

.yr-browse-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.yr-browse-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.yr-meeting {
    color: #5c5348;
    font-size: 1rem;
}

@media (max-width: 980px) {
    .yr-locator-hero,
    .yr-match-grid {
        grid-template-columns: 1fr;
    }

    .yr-search-row {
        grid-template-columns: 1fr;
    }

    .yr-search-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .yr-locator-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .yr-locator-copy,
    .yr-locator-panel,
    .yr-feedback,
    .yr-match-card,
    .yr-browse-card,
    .yr-story-card,
    .yr-helper-card {
        border-radius: 18px;
    }

    .yr-locator-copy {
        padding: 1.75rem;
    }

    .yr-locator-stats {
        grid-template-columns: 1fr;
    }

    .yr-section-heading {
        align-items: start;
        flex-direction: column;
    }
}

.footer-nav li {
    padding: 5px 0; /* Padding for list items */
}

.footer-nav a {
    color: #ffffff; /* White text color for links */
    text-decoration: none; /* No underline */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.footer-nav a:hover {
    color: #bf1000; /* Change link color on hover */
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack the elements vertically on small screens */
        align-items: flex-start; /* Align items to the start */
    }

    .footer-logo {
        margin-bottom: 20px; /* Space between the logo and links section */
    }

    .link-columns {
        padding-left: 0; /* Remove padding on smaller screens */
    }
}



/* About Section */

/* Card container */

/* Flex container setup */
.flex-container-card {
    display: flex;
    flex-wrap: wrap; /* Allow the cards to wrap */
    justify-content: space-around; /* Space the cards nicely */
    padding: 0 15px; /* Padding on the sides */
}

/* Card container */
.card {
    flex: 1 1 300px; /* Flex basis at 300px, grow and shrink */
    margin: 10px; /* Margin around cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.2s;
}

/* Card body */
.card-body {
    padding: 20px;
}

/* Card title */
.card-title {
    color: #bf1000;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Card text */
.card-text {
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Small text */
.card-text small {
    color: #666;
}

/* Hover effect */
.card:hover {
    transform: translateY(-5px);
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
    .flex-container {
        justify-content: center; /* Center cards on small screens */
    }

    .card {
        flex: 1 1 100%; /* Take full width on small screens */
        max-width: 500px; /* Optional: set a max width for very large screens */
    }
}


/* Blog Post Page Styling */

/* General styles for the blog posts container */
.blog-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.blog-posts article {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-posts article:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    margin-bottom: 15px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-header {
    margin-bottom: 10px;
}

.entry-title {
    font-size: 1.5em;
    margin: 0;
}

.entry-title a {
    text-decoration: none;
    color: #bf1000;
    transition: color 0.2s;
}

.entry-title a:hover {
    color: #a50e00;
}

.entry-content {
    margin-bottom: 10px;
    font-size: 1em;
    color: #555;
}

.entry-footer {
    font-size: 0.9em;
    color: #999;
}

.post-date {
    display: block;
    margin-top: 10px;
}




/* District Data Styling */

.district-data_container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.district-name_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.district-data {
    color: #bf1000;
    margin-bottom: 10px;
    margin-top: 10px;
    text-transform: capitalize;
    text-align: center;
}

.wh-district-data {
    color: #fff;    
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 10px; 
    text-align: center;
}

.bk-district-data {
    color: black;
    margin-bottom: 10px;
    text-transform: capitalize;
    text-align: center;
}

.county-data {
    color: #ac7b35;
    margin-bottom: 10px;
    text-align: center; /* Center align the text */
}

.mapcard {
    background-color: #fff; /* White background for the cards */
    border: 1px solid #ddd; /* Subtle border for the cards */
    border-radius: 8px; /* Rounded corners for the cards */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Soft shadow for depth */
    margin-bottom: 20px; /* Spacing between cards */
    transition: box-shadow 0.3s ease-in-out;
}

.mapcard-body:hover {
    box-shadow: 0 6px 12px rgba(255,0,0,0.5); /* Enhanced shadow on hover */
}

.mapcard-body {
    padding: 15px;
}

.mapcard-title {
    color: #bf1000; /* Bright orange for headings in cards */
    font-size: 20px;
    margin-bottom: 10px;
    font-size: 1.8rem; /* Adjust font size as needed */
}

.mapcard-img-top {
    width: 100%; /* Full width of the container */
    height: 200px; /* Fixed height for all iframes */
    border-bottom: 1px solid #ddd; /* Line separating the map from the text */
}

.mapcard-text address {
    font-style: normal; /* More readable than the default italic */
    color: #333; /* Darker grey for contrast */
    font-size: 1rem;    
}

.mapcard-text p {
    color: #333; /* Dark color for readability */
    font-size: 1.1rem; /* Adjust font size as needed */
}

@media (max-width: 768px) {
    .ghp-leadership-img {
        width: 55% !important;
        border-radius: 10px !important;
        border: 0.5rem solid #ac7b35 !important;;
    }
    
}

.ghp-leadership-img {
    width: 20%;
    height: auto;
    border-radius: 10px;
    border: 1rem solid #ac7b35;
    margin-bottom: 20px;
}

.ghp-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* about section */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.degree-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.degree-card h2 {
    color: #ac7b35;
    font-size: 24px;
    margin-bottom: 10px;
}

.degree-card p {
    margin: 10px 0;
}

.conclusion {
    font-weight: bold;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.1);
    padding: 20px;
}

/* Join Section  */

.join-page {
    background:
        linear-gradient(180deg, rgba(191, 16, 0, 0.06) 0%, rgba(191, 16, 0, 0) 24%),
        linear-gradient(135deg, #f8f2ea 0%, #ffffff 45%, #f7f7f7 100%);
    padding: 3.5rem 0 5rem;
}

.join-shell {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.join-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 2rem;
    align-items: center;
    padding: 2.25rem;
    background: linear-gradient(135deg, #fffaf4 0%, #ffffff 100%);
    border: 1px solid rgba(172, 123, 53, 0.2);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(80, 42, 16, 0.12);
}

.join-eyebrow {
    margin: 0 0 0.75rem;
    color: #ac7b35;
    text-transform: uppercase;
    letter-spacing: 0.18rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.join-hero-title {
    margin: 0 0 1rem;
    color: #222;
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    line-height: 1.05;
}

.join-hero-text {
    margin: 0 0 1rem;
    color: #4b4742;
    font-size: 1.35rem;
    line-height: 1.6;
}

.join-hero-image-wrap {
    position: relative;
}

.join-hero-image-wrap::before {
    content: "";
    position: absolute;
    inset: auto -1rem -1rem auto;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(191, 16, 0, 0.15) 0%, rgba(191, 16, 0, 0) 72%);
    z-index: 0;
}

.join-hero-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    height: auto;
}

.join-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.join-intro-panel,
.join-cta-panel {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 16px 44px rgba(60, 42, 24, 0.08);
}

.join-intro-accent {
    background: linear-gradient(135deg, rgba(172, 123, 53, 0.12) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.join-intro-panel h3,
.join-body-card h3,
.join-cta-panel h3 {
    margin: 0 0 1rem;
    color: #23201c;
    font-size: 2rem;
}

.join-intro-panel p,
.join-body-card p,
.join-cta-panel p,
.join-list li {
    color: #4f4a44;
    font-size: 1.25rem;
    line-height: 1.6;
}

.join-list {
    margin: 0;
    padding-left: 1.3rem;
}

.join-list li + li {
    margin-top: 0.55rem;
}

.join-bodies {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.join-body-card {
    padding: 1.9rem;
    border-radius: 26px;
    border-top: 5px solid transparent;
    background: #fff;
    box-shadow: 0 18px 50px rgba(61, 42, 21, 0.1);
}

.join-body-label {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.join-body-lodge {
    border-top-color: #bf1000;
}

.join-body-lodge .join-body-label,
.join-body-lodge h3,
.join-body-lodge h4 {
    color: #8f1205;
}

.join-body-chapter {
    border-top-color: #bf1000;
}

.join-body-chapter .join-body-label,
.join-body-chapter h3,
.join-body-chapter h4 {
    color: #bf1000;
}

.join-body-council {
    border-top-color: #5a328f;
}

.join-body-council .join-body-label,
.join-body-council h3,
.join-body-council h4 {
    color: #5a328f;
}

.join-body-commandery {
    border-top-color: #1f7b4d;
}

.join-body-commandery .join-body-label,
.join-body-commandery h3,
.join-body-commandery h4 {
    color: #1f7b4d;
}

.join-subsection + .join-subsection {
    margin-top: 1.1rem;
}

.join-subsection h4 {
    margin: 0 0 0.45rem;
    font-size: 1.45rem;
}

.join-cta-panel {
    margin-top: 2rem;
    background: linear-gradient(135deg, #2c241c 0%, #463321 100%);
}

.join-cta-panel h3,
.join-cta-panel .join-eyebrow,
.join-cta-panel .join-list li,
.join-cta-panel a {
    color: #fff;
}

.join-cta-panel a {
    text-decoration: underline;
    text-underline-offset: 0.16rem;
}

.join-map-section {
    margin-top: 2rem;
}

.join-map-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 1.5rem;
}

.join-map-text {
    margin: 0;
    color: #4f4a44;
    font-size: 1.2rem;
    line-height: 1.6;
}

.join-map-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 28px;
    padding: 1.75rem 1.25rem 1.25rem;
    box-shadow: 0 18px 50px rgba(61, 42, 21, 0.1);
}

.join-map-container {
    margin-bottom: 1rem;
}

.join-district-links {
    padding: 0.5rem 0 0;
}

@media (max-width: 900px) {
    .join-hero-card,
    .join-intro-grid,
    .join-bodies {
        grid-template-columns: 1fr;
    }

    .join-hero-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .join-page {
        padding: 2rem 0 3rem;
    }

    .join-shell {
        width: min(100% - 1.25rem, 1120px);
    }

    .join-hero-title {
        font-size: 2.2rem;
    }

    .join-hero-text,
    .join-intro-panel p,
    .join-body-card p,
    .join-cta-panel p,
    .join-list li {
        font-size: 1.1rem;
    }

    .join-intro-panel h3,
    .join-body-card h3,
    .join-cta-panel h3 {
        font-size: 1.65rem;
    }
}



/* Post Styling */

.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.post {
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}

.post-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.post-content {
    font-size: 1.2em;
    color: #555;
}

.post-thumbnail-caption {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
    text-align: center;
    font-style: italic;
}


/* Charities Section */

.raf_red-top-banner {
    background-color: #bf1000;
    padding: 20px;
    text-align: center;
    color: white;
}

.raf_container {
    margin-top: 30px;
	max-width: 85vw;
	margin: 0 auto; 
}

.raf_charity-buttons {
    margin: 20px 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.raf_charity-buttons .raf_btn {
    margin: 10px;
    padding: 15px 20px;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    background-color: #ac7b35;
    color: white;
    display: inline-block;
    flex: 1 1 200px; /* Ensure buttons take equal space and have a minimum width */
    max-width: 200px; /* Ensure buttons don't stretch too much */
}

.raf_card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px 0;
    padding: 20px;
    text-align: center;
    position: relative;
    display: none; /* Hide cards by default */
}

.raf_card h4 {
    margin-top: 0;
}

.raf_card p {
    margin: 0 auto; 
	width: 75vw;
}

.raf_back-to-top {
    text-align: right;
}

.raf_back-to-top .raf_btn {
    padding: 10px 15px;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    background-color: #ac7b35;
    color: white;
    display: inline-block;
}

.raf_logo {
    display: flex;
    margin: 0 auto;
    max-width: 550px;
	padding-bottom: 25px;
    height: auto;
}

.raf_img {
	display: flex;
	margin: 0 auto;
	max-width: 200px; 
	padding-bottom: 15px; 
	height: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .raf_container {
        padding: 10px;
    }

    .raf_charity-buttons .raf_btn {
        padding: 10px 15px;
        font-size: 14px;
        margin: 5px;
    }

    .raf_back-to-top .raf_btn {
        padding: 8px 12px;
        font-size: 12px;
    }
	
	.raf_logo {
		width: 60vw;
		height: auto; 
	}
}

.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #bf1000;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #a00000;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 30px;
}

/* Main content area styling */
.content-area {
    flex: 2;
}

/* Sidebar styling */
.sidebar {
    flex: 1;
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
}

/* Post article styling */
.post {
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

/* Featured image container (if needed) */
.post-thumbnail {
    margin-bottom: 20px;
}

/* Post title styling */
.post-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

/* Post meta information */
.post-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
}

/* Post content styling */
.post-content {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
}

/* Author Box Styling */
.author-box {
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 5px solid #bf1000;
    margin-top: 40px;
    border-radius: 5px;
}
.author-box h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Related Posts Section */
.related-posts {
    margin-top: 40px;
}
.related-posts h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #bf1000;
}
.related-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}
.related-posts li {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}
.related-posts li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}
.related-posts li a:hover {
    color: #bf1000;
}
.related-posts li img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
}

.leadership-container {
	display: flex;
	flex-direction: column;
}

.ghp-message {
    background-color: #fff;
    border-left: 5px solid #ac7b35;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.gold-text {
    color: #ac7b35;
}

.child-full {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: block;
}

/* =========================
   Grand Chapter Values
   ========================= */

.values-section {
    padding: 40px 20px;
    background: #f2f2f2;
}

.values-header {
    max-width: 1100px;
    margin: 0 auto 25px auto;
    text-align: center;
}

.values-title {
    font-size: 2.4rem;
    font-style: italic;
    margin-bottom: 10px;
}

.values-intro {
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Grid */
.values-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Card */
.value-card {
    position: relative;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Overlay */
.value-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
}

/* Text */
.value-text {
    position: absolute;
    bottom: 14px;
    left: 16px;
    right: 16px;
    color: #fff;
    z-index: 2;
}

.value-text h3 {
    margin: 0 0 6px 0;
    font-size: 1.6rem;
    font-style: italic;
}

.value-text p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

/* Hover */
.value-card:hover {
    text-decoration: none;
}
/* Background images â€“ hard coded */
.bg-fellowship {
    background-image: url('/wp-content/uploads/2026/02/Fellowship.png');
}

.bg-knowledge {
    background-image: url('/wp-content/uploads/2026/02/Knowledge.png');
}

.bg-ritual {
    background-image: url('/wp-content/uploads/2026/02/Ritual.png');
}

.bg-masonry-expanded {
    background-image: url('/wp-content/uploads/2026/02/Masonry_Expanded.png');
}

.bg-history {
    background-image: url('/wp-content/uploads/2026/02/History.png');
}

.bg-growth {
    background-image: url('/wp-content/uploads/2026/02/Growth.png');
}
/* Responsive */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .value-card {
        height: 220px;
    }
}

/* 2026 Grand York Rite Sessions Announcement Banner */

.yrss-announcement-banner {
    background: linear-gradient(135deg, #8f1207 0%, #bf1000 50%, #a00000 100%);
    padding: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.yrss-announcement-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.yrss-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.yrss-banner-text {
    flex: 1;
    color: #fff;
}

.yrss-banner-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.yrss-banner-title i {
    font-size: 2rem;
    color: #ffd700;
}

.yrss-banner-subtitle {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.yrss-banner-action {
    flex-shrink: 0;
}

.yrss-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #ac7b35;
    color: #fff;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
}

.yrss-download-btn:hover {
    background-color: #fff;
    color: #bf1000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.yrss-download-btn:active {
    transform: translateY(0);
}

.yrss-download-btn i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .yrss-announcement-banner {
        padding: 1.2rem;
    }

    .yrss-banner-content {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .yrss-banner-title {
        font-size: 1.5rem;
        justify-content: center;
    }

    .yrss-banner-subtitle {
        font-size: 1rem;
    }

    .yrss-download-btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .yrss-announcement-banner {
        padding: 1rem;
    }

    .yrss-banner-title {
        font-size: 1.3rem;
    }

    .yrss-banner-title i {
        font-size: 1.6rem;
    }

    .yrss-banner-subtitle {
        font-size: 0.95rem;
    }

    .yrss-download-btn {
        padding: 0.75rem 1.2rem;
        font-size: 0.95rem;
    }

    .yrss-download-btn i {
        font-size: 1rem;
    }
}

/* ================================================
   2026 Grand Session Information Hub Styles
   ================================================ */

/* Hero Section */
.gs-hero {
    background: linear-gradient(135deg, #8f1207 0%, #bf1000 50%, #a00000 100%);
    background-attachment: fixed;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.gs-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.gs-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.gs-hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 500;
}

.gs-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #ac7b35;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: 2px solid transparent;
}

.gs-cta-button:hover {
    background-color: #fff;
    color: #bf1000;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.gs-cta-button i {
    font-size: 1.2rem;
}

/* Main Container */
.gs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
.gs-section {
    padding: 4rem 2rem;
    border-bottom: 1px solid rgba(191, 16, 0, 0.1);
}

.gs-section:last-child {
    border-bottom: none;
}

.gs-section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gs-section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #bf1000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.gs-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Quick Facts Grid */
.gs-quick-facts {
    background: linear-gradient(180deg, rgba(191, 16, 0, 0.02) 0%, rgba(172, 123, 53, 0.02) 100%);
}

.gs-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.gs-fact-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #bf1000;
}

.gs-fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(191, 16, 0, 0.12);
}

.gs-fact-icon {
    font-size: 2.5rem;
    color: #ac7b35;
    margin-bottom: 1rem;
}

.gs-fact-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.gs-fact-card p {
    color: #666;
    margin: 0.3rem 0;
    line-height: 1.5;
}

.gs-fact-subtitle {
    font-size: 0.9rem;
    color: #999 !important;
    font-weight: 400;
}

/* Location Section */
.gs-location-section {
    background: linear-gradient(180deg, #f9f7f3 0%, transparent 100%);
}

.gs-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.gs-location-info h3 {
    font-size: 1.8rem;
    color: #bf1000;
    margin-bottom: 1rem;
}

.gs-location-info address {
    font-style: normal;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    border-left: 4px solid #ac7b35;
    padding-left: 1rem;
}

.gs-location-info a {
    color: #bf1000;
    text-decoration: none;
}

.gs-location-info a:hover {
    text-decoration: underline;
}

.gs-hotel-details {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(172, 123, 53, 0.2);
}

.gs-hotel-details h4 {
    color: #ac7b35;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.gs-hotel-details p {
    margin: 0.5rem 0;
    color: #666;
}

.gs-note {
    font-size: 0.9rem;
    color: #999 !important;
}

.gs-hotel-booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #ac7b35;
    color: #fff;
    padding: 0.8rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
}

.gs-hotel-booking-btn:hover {
    background-color: #bf1000;
    transform: translateX(3px);
    text-decoration: none;
    color: #fff;
}

.gs-map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gs-map-container iframe {
    border: none;
}

/* Schedule Section */
.gs-schedule-section {
    background: linear-gradient(180deg, transparent 0%, rgba(172, 123, 53, 0.02) 100%);
}

.gs-day-schedule {
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gs-day-header {
    padding: 1.5rem 2rem;
    color: #fff;
}

.gs-day-header h3 {
    margin: 0 0 0.3rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gs-day-header h3 i {
    font-size: 0.8rem;
}

.gs-day-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.gs-day-wednesday {
    background: linear-gradient(135deg, #8B5FBF 0%, #6B4697 100%);
}

.gs-day-thursday {
    background: linear-gradient(135deg, #bf1000 0%, #8f1207 100%);
}

.gs-day-friday {
    background: linear-gradient(135deg, #2d7a3e 0%, #1e5c37 100%);
}

.gs-timeline {
    padding: 2rem;
}

.gs-timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gs-timeline-item:last-child {
    border-bottom: none;
}

.gs-timeline-special .gs-event,
.gs-timeline-featured .gs-event {
    background: rgba(191, 16, 0, 0.08);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border-left: 3px solid #bf1000;
}

.gs-timeline-featured .gs-event {
    background: rgba(172, 123, 53, 0.12);
    border-left-color: #ac7b35;
}

.gs-time {
    font-weight: 700;
    color: #bf1000;
    font-size: 0.95rem;
}

.gs-event {
    color: #333;
    line-height: 1.5;
    font-size: 1rem;
}

.gs-event small {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.3rem;
}

/* Meals Section */
.gs-meals-section {
    background: linear-gradient(180deg, rgba(191, 16, 0, 0.02) 0%, rgba(172, 123, 53, 0.02) 100%);
}

.gs-meal-order-container {
    max-width: 600px;
    margin: 0 auto;
}

.gs-payment-option-centered {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    border-top: 4px solid #bf1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.gs-payment-option-centered h3 {
    color: #bf1000;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.gs-payment-option-centered p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.gs-payment-icon {
    font-size: 2.5rem;
    color: #ac7b35;
    margin-bottom: 1rem;
}

.gs-payment-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #bf1000;
    color: #fff;
    padding: 0.7rem 1.3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.gs-payment-link:hover {
    background-color: #8f1207;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.gs-payment-link-large {
    padding: 1rem 1.8rem;
    font-size: 1.05rem;
}

/* FAQ Section */
.gs-faq-section {
    background: linear-gradient(180deg, transparent 0%, rgba(191, 16, 0, 0.02) 100%);
}

.gs-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gs-faq-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ac7b35;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gs-faq-item h4 {
    color: #bf1000;
    margin-top: 0;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
}

.gs-faq-item h4 i {
    font-size: 0.9rem;
    color: #ac7b35;
}

.gs-faq-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.gs-faq-item a {
    color: #bf1000;
    text-decoration: none;
}

.gs-faq-item a:hover {
    text-decoration: underline;
}

/* Contact Section */
.gs-contact-section {
    background: linear-gradient(180deg, rgba(172, 123, 53, 0.03) 0%, rgba(191, 16, 0, 0.02) 100%);
}

.gs-contact-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #ac7b35;
}

.gs-contact-info h3 {
    font-size: 1.8rem;
    color: #bf1000;
    margin-top: 0;
}

.gs-contact-title {
    color: #ac7b35;
    font-weight: 700;
    margin: -0.5rem 0 1.5rem;
}

.gs-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gs-contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.gs-contact-item i {
    font-size: 1.5rem;
    color: #ac7b35;
    margin-top: 0.2rem;
}

.gs-contact-item div {
    flex: 1;
}

.gs-contact-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.3rem;
}

.gs-contact-item a {
    color: #bf1000;
    text-decoration: none;
}

.gs-contact-item a:hover {
    text-decoration: underline;
}

.gs-contact-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gs-download-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #bf1000 0%, #8f1207 100%);
    color: #fff;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(191, 16, 0, 0.3);
    border: 2px solid transparent;
    text-align: center;
}

.gs-download-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(191, 16, 0, 0.4);
}

.gs-download-btn-large i {
    font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gs-meals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gs-meal-featured {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .gs-hero {
        padding: 3rem 1.5rem;
    }

    .gs-section {
        padding: 2.5rem 1.5rem;
    }

    .gs-location-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gs-contact-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .gs-facts-grid {
        grid-template-columns: 1fr;
    }

    .gs-meals-grid {
        grid-template-columns: 1fr;
    }

    .gs-meal-featured {
        max-width: 100%;
    }

    .gs-payment-grid {
        grid-template-columns: 1fr;
    }

    .gs-faq-grid {
        grid-template-columns: 1fr;
    }

    .gs-timeline-item {
        grid-template-columns: 100px 1fr;
        gap: 1rem;
    }

    .gs-time {
        font-size: 0.85rem;
    }

    .gs-event {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .gs-hero-title {
        font-size: 1.8rem;
    }

    .gs-hero-subtitle {
        font-size: 1rem;
    }

    .gs-cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .gs-section {
        padding: 1.5rem 1rem;
    }

    .gs-section-header {
        margin-bottom: 2rem;
    }

    .gs-section-header h2 {
        font-size: 1.5rem;
    }

    .gs-facts-grid {
        gap: 1rem;
    }

    .gs-fact-card {
        padding: 1.2rem;
    }

    .gs-timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 0.8rem;
        padding: 0.8rem 0;
    }

    .gs-time {
        font-size: 0.75rem;
    }

    .gs-event {
        font-size: 0.9rem;
    }

    .gs-meal-body {
        padding: 1rem;
    }

    .gs-contact-card {
        padding: 1rem;
    }

    .gs-contact-info h3 {
        font-size: 1.3rem;
    }

    .gs-download-btn-large {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}