/* Phelps Co style.css - Generated by Ninja.ai */
/* dark color #012154 from MOgen logo */
/* #ae161c red from the logo */

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

body {
    font-family: 'Inter', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4; /* 1.6 original */
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}

p.source, p.update {
	 text-align:right ! important;
	 font-size:smaller ! important;
	 font-style:italic ! important;
	 }
	 
p.tiny { font-size: 12px; }

/* Header Styles - Caribbean shore water lt teal #95d7d4 #f9c2a3 peach */
header {
    background: linear-gradient(135deg, #95d7d4 0%, #f9c2a3 100%);
    color: #032763; /* was white */
    padding: 0.5rem 0; /* Reduced from 1rem 0 */
    box-shadow: 0 2px 10px #1a1a1a; /* was rgba(0,0,0,0.1) */
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px; /* was 0 20px */
    display: flex;
    flex-direction: column; /* Changed to stack vertically */
    gap: 0.5rem; /* Reduced from 1rem */
}

.header-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1; /* Takes up available space */
}

.logo {
    font-weight: bold;
    text-shadow: 2px 2px 4px #666666;
    color: white;
    line-height: 1; /* Tighten line height */
}

.county-text {
    font-family: 'Smokum', serif;
    font-size: 3rem;
    letter-spacing: .2rem;
	color: #012154;
    font-weight: bold;
    line-height: 1; /* Tighten line height */
    margin: 0; /* Remove any default margins */
}

/* Dropdown Navigation Styles */
.header-nav {
    align-self: stretch;
    margin-top: 0;
    position: relative;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 0; /* Remove gap for dropdowns */
    justify-content: center;
    margin: 0;
    padding: 0.25rem 0;
}

.header-nav li {
    position: relative;
}

.header-nav a {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: #012154;
    text-decoration: none;
    padding: 0.5rem 1.5rem; /* Increased padding for better click area */
    border-radius: 0; /* Remove border radius for cleaner dropdown look */
    transition: all 0.3s ease;
    font-size: 1.1rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, #95d7d4 0%, #f9c2a3 100%);
    color: white !important;
    transform: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Dropdown arrow */
.arrow {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
    border: 1px solid #e9ecef;
}

.dropdown-content a {
    color: #333 !important;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 0;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #012154 !important;
    transform: none;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* Header Search Box Styling - replaces .header-actions */
/* Reduces the coding needed for Freefind search */
.header-search {
    margin-left: auto !important; /* This forces it to the right */
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.header-search table {
    width: 100% !important;
    font-family: 'Inter', Arial, Helvetica, sans-serif !important;
    margin: 0 !important;
}

.header-search td {
    font-family: 'Inter', Arial, Helvetica, sans-serif !important;
    font-size: 0.75rem !important;
    padding: 0.1rem !important;
}

.header-search a {
    color: #012154 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.75rem !important;
}

.header-search a:hover {
    color: #f9c2a3 !important;
}

.header-search input[type="text"] {
    border: 1px solid #95d7d4;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    width: 150px;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    transition: border-color 0.3s ease;
}

.header-search input[type="text"]:focus {
    outline: none;
    border-color: #f9c2a3;
    box-shadow: 0 0 3px rgba(249, 194, 163, 0.5);
}

.header-search input[type="submit"] {
    background: linear-gradient(135deg, #95d7d4 0%, #f9c2a3 100%);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    margin-left: 0.25rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-search input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-search .freefind-credit {
    color: #666 !important;
    font-size: 0.65rem !important;
    text-align: center;
}

.header-search .freefind-credit a {
    color: #888 !important;
    font-size: 0.65rem !important;
}

/* Responsive adjustments for header search */
@media (max-width: 768px) {
    .header-search {
        margin-top: 0.5rem;
        width: 100%;
        justify-content: center;
    }
    
    .header-search input[type="text"] {
        width: 100px;
    }
}

/* Main Content Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Right-side sidebar layout */
.container-right-sidebar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Main content takes up most space, sidebar on right */
.main-content-left {
    flex: 1; /* Takes remaining space */
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px #1a1a1a;
    overflow: hidden;
    order: 1; /* Ensures main content comes first */
}

/* Right sidebar */
.right-sidebar {
    flex: 0 0 280px; /* Fixed width for sidebar */
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px #1a1a1a;
    height: fit-content;
    position: sticky;
    top: 100px;
    order: 2; /* Ensures sidebar comes second (right side) */
}

/* Responsive - sidebar moves below on mobile */
@media (max-width: 768px) {
    .container-right-sidebar {
        flex-direction: column;
    }
    
    .right-sidebar {
        flex: none;
        position: static;
        order: 2;
    }
}

/* Small Left Column (Sidebar) */
.left-column {
    flex: 0 0 280px; /* Fixed width for small sidebar */
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px #1a1a1a; /* was rgba(0,0,0,0.1) */
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    /* background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); */
    background-color: #88c0d0;
    color: white;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    text-align: center;
    font-weight: bold;
}

.sidebar-content {
    padding: 1.25rem;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h2 {  /* was h3 */
    color: #2c3e50;
    font-family: 'Smokum', serif;
	letter-spacing: 0.1em;
	font-size: 2rem;
    margin-top: .75rem;
	margin-bottom: 1rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid #e9ecef;
}

.sidebar-menu {
    list-style: none;
    font-size: 0.9rem; /* Smaller text for menu items */
    line-height: 1.4; /* Tighter line spacing */
}

.sidebar-menu li {
    margin: 0.3rem 0; /* Reduced margin between items */
}

.sidebar-menu a {
    color: #012154; /* was #555 */
    text-decoration: none;
    padding: 0.25rem;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1.1em;
	font-weight: 400;
}

.sidebar-menu a:hover {
    background: linear-gradient(135deg, #f9c2a3 0%, #fdd5b8 100%);
    color: #012154;
    padding-left: 1rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    border-radius: 8px;
}

.sidebar-content p {
    font-size: 0.9rem; /* Smaller paragraph text */
    line-height: 1.4;
}

/* Footer logo section adjustments */
.footer-section.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* Space between logo and note */
}

.footer-section.logo-section span {
    font-size: 0.75rem; /* Small print */
    color: #666;
    text-align: center;
    font-style: italic;
    margin-top: 0.5rem;
}

.widget {
    background-color: #d1eee9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.widget h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.widget p {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
}

/* Large Right Column (Main Content) */
.right-column {
    flex: 1; /* Takes remaining space */
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px #1a1a1a; /* was rgba(0,0,0,0.1) */
    overflow: hidden;
}

/* was linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); */
.main-header { 
    background: linear-gradient(135deg, #f9c2a3 0%, #95d7d4 100%);
    color: white;
    text-shadow: 2px 2px 4px #666666;
    padding: 1rem; /* was 2rem */
    text-align: center;
}
.main-header p { 
    font-size: smaller !;
    margin: 0.25rem 0 0 0 !important; /* Small top margin only */
    padding: 0 !important;
}

.main-header h1 {
    font-family: 'Smokum', serif;
    font-size: 3rem; /* was 2.5rem */
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px #4d4d4d; /* was rgba(0,0,0,0.3) */
}

.main-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #000; /* added LP */
}

.main-content {
    padding: 2rem;
}

.content-section {
    margin-bottom: 3rem;
}

.content-constrained {
    max-width: 800px; /* Prevents content from being too wide */
    margin: 0 auto; /* Centers the content */
    padding: 2rem;
}

.content-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-left: 4px solid #88c0d0;
    padding-left: 1rem;
}

.content-section h3 {
    color: #34495e;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.7;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #95d7d4 0%, #f9c2a3 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.highlight-box h3 {
    margin-bottom: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px #0d0d0d; /* was rgba(0,0,0,0.05) */
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px #1a1a1a; /* was rgba(0,0,0,0.1) */
}

/* County Table */
.county-table {
    border: none;
    width: 100%;
    line-height: 1rem !important;
}

.county-table td {
    padding: 5px 10px 5px 0;
    border: none;
    vertical-align: top;
}

.county-table td.co { 	
    border-bottom: 2px solid #331B3F !important;
}

.county-table a { 
    text-decoration: none !important; 
}

/* Footer Styles */
footer {
    background-color: white;
    color: #333;
    padding: 1.5rem 0 0.5rem;
    margin-top: auto;
    border-top: 2px solid #95d7d4;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.footer-section {
    background-color: #f8f9fa;
    border-left: 1px solid #95d7d4;
    border-right: 1px solid #95d7d4;
    border-bottom: 1px solid #95d7d4;
    border-radius: 0 0 8px 8px;
    padding: 0.75rem;
    position: relative;
}

/* Compact ASCII decoration */  
.footer-section::before {
    content: "~\2022~\2022~\2665~\2022~\2022~";
    position: absolute;
    top: -10px; /* Moved up a bit more */
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: #f9c2a3;
    padding: 0 0.5rem;
    font-size: 18px;
    line-height: 1;
}

.footer-section h3 {
	font-family: 'Smokum', serif;
	letter-spacing: 0.2em;
    margin: 0.25rem 0 0.5rem 0;
    color: #012154;
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.1;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.3;
}

.footer-section ul li {
    margin-bottom: 0.25rem;
}

.footer-section a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.1rem 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.footer-section a:hover {
    color: #012154;
    background-color: #FFDBB8;
    padding-left: 0.25rem;
}

/* Keep contact names on same line */
.footer-section.contact-section a {
    display: inline;
    margin-right: 1rem;
    padding: 0.1rem 0.25rem;
}

.footer-section.contact-section li {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

/* Logo section - no box */
.footer-section.logo-section {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    gap: 1rem; /* Space between logo and note */
}

.footer-section.logo-section::before {
    display: none;
}

.footer-section.logo-section img {
    max-width: none; /* Remove size restriction */
    width: auto;
    height: auto;
    max-height: 120px; /* Optional: prevent it from being too tall */
}

.footer-section.logo-section span {
    font-size: 0.75rem; /* Small print */
    color: #666;
    text-align: center;
    font-style: italic;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.2;
}

.footer-bottom a {
    color: #012154;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #f9c2a3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .left-column {
        flex: 0 0 250px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.5rem; /* Keep compact spacing on mobile */
    }

    .header-top {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .county-text {
        font-size: 2rem; /* Smaller on mobile */
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
        margin-left: 1rem;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }

    .header-actions {
        margin-top: 0.5rem;
    }

    .container {
        flex-direction: column;
        gap: 1rem;
    }

    .left-column {
        flex: none;
        position: static;
    }

    .main-content {
        padding: 1.5rem;
    }

    .main-header h1 {
        font-size: 2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .main-content {
        padding: 1rem;
    }

    .sidebar-content {
        padding: 1rem;
    }

    .county-text {
        font-size: 1.5rem; /* Even smaller on very small screens */
    }
}
