/*
Theme Name: MyNotaryFinder
Theme URI: https://mynotaryfinder.com
Author: MyNotaryFinder
Author URI: https://mynotaryfinder.com
Description: A modern directory theme for notary public services
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mynotaryfinder
*/

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #0000ff;
    --primary-dark: #0000cc;
    --primary-light: #3333ff;
    --secondary-color: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #e9ecef;
    --gray-medium: #dee2e6;
    --gray-dark: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9fafb;
    font-size: 16px;
}

body.menu-open {
    overflow: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER ===== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #0000ff;
    text-decoration: none;
}

/* ===== NAVIGATION ===== */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-weight: 700;
    text-decoration: none;
    color: #1f2937;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #1f2937;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===== HERO SECTION ===== */
.hero-section,
.hero {
    position: relative;
    height: 600px;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%230000ff" opacity="0.1" width="1200" height="600"/><path fill="%230000ff" opacity="0.05" d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 255, 0.6);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content,
.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    max-width: 800px;
    color: #ffffff;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description,
.hero-subtitle {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-weight: 400;
    margin-bottom: 32px;
}

/* ===== HERO SEARCH FORM ===== */
.hero-search-form,
.search-form {
    max-width: 700px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    margin-bottom: 32px;
}

.hero-search-wrapper {
    display: flex;
    gap: 12px;
    background: #ffffff;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-location-field {
    position: relative;
    flex: 1;
}

.hero-location-field input {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    color: #1f2937;
    background: #ffffff;
}

.hero-location-field input:focus {
    outline: none;
}

.hero-location-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
}

.hero-location-dropdown.active {
    display: block;
    animation: slideDown 0.2s ease-out;
}

.hero-location-dropdown::-webkit-scrollbar {
    width: 8px;
}

.hero-location-dropdown::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 0 12px 12px 0;
}

.hero-location-dropdown::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.hero-location-dropdown::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.hero-location-option {
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 15px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.hero-location-option:last-child {
    border-bottom: none;
}

.hero-location-option:hover,
.hero-location-option.highlighted {
    background: #f3f4f6;
}

.hero-location-option.highlighted {
    background: #eff6ff;
    border-left: 3px solid #0000ff;
}

.location-icon {
    display: none;
    font-size: 18px;
    flex-shrink: 0;
}

.location-text {
    flex: 1;
    color: black;
    font-weight: 700;
    text-align: left;
}

.result-count {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 400;
    margin-left: 4px;
}

.hero-location-loading {
    padding: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    animation: pulse 1.5s ease-in-out infinite;
}

.hero-search-button {
    padding: 16px 32px;
    background: #0000ff;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-search-button:hover {
    background: #0000cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 255, 0.3);
}

.hero-search-button svg {
    width: 20px;
    height: 20px;
}

/* ===== SECTIONS ===== */
.states-section,
.blog-section {
    padding: 80px 0;
    background: #ffffff;
}

.content-section {
    padding: 80px 0;
    background: #f9fafb;
}

.listing-main .content-section {
    background-color: #ffffff;
    padding: 25px;
}

.search-section {
    padding: 50px 0;
    background-color: var(--secondary-color);
}

.site-main {
    padding: 40px 0;
    background: white;
}

.site-main .container {
    max-width: 800px;
}

.contain

.main-content {
    padding: 40px 0;
}

.blog-archive {
    padding: 3rem 0;
}

.blog-archive .page-title {
    margin-bottom: 0;
}


/* ===== SECTION TITLES ===== */
.section-title,
.page-title {
    font-size: 2rem;
    color: black;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.content-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 32px;
}

/* ===== CONTENT ===== */
.content-wrapper {
    margin: 0 auto;
}

.content-body {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

.content-body p {
    margin-bottom: 24px;
}

.content-body h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-body strong {
    color: #0000ff;
    font-weight: 600;
}

/* ===== BLOG SECTION ===== */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all-link {
    color: #0000ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #0000cc;
}

.blog-grid,
.blog-gridd {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-gridd {
    gap: 20px;
    margin-top: 40px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
}

.blog-card-category {
    display: inline-block;
    padding: 6px 12px;
    background: #eff6ff;
    color: #0000ff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.blog-card-date {
    font-size: 14px;
    color: #9ca3af;
}

.blog-card-read-more {
    font-size: 14px;
    color: #0000ff;
    font-weight: 600;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    background: #ffffff;
    padding: 16px 0;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumbs a {
    color: #0000ff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 8px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: #ffffff;
    padding: 48px 0;
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 50px;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 16px;
}

.page-description {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 800px;
}

.listing-count {
    font-size: 16px;
    color: #1f2937;
    font-weight: 700;
    margin-top: 16px;
}

.back-link {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ===== LISTINGS ===== */
.listing-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin: 40px 0px;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.listing-main {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.listing-main .content-section {
    background-color: #ffffff;
    padding: 40px;
}

.listing-header {
    padding: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.listing-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 5px;
    line-height: 1.2;
}

.listing-header .address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #000000;
    font-size: 15px;
}

.listing-header .address svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.listing-header .address .address-link {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.listing-header .address .address-link:hover {
    color: #0000ff;
    text-decoration: underline;
}

.listing-cardd {
    background: #ffffff;
    border: 1px solid #e5e7ebcc;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.listing-cardd:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.listing-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.listing-contentt {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.listing-contentt .listing-status,
.status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.listing-title {
    font-size: 20px;
    font-weight: 900;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    list-style: none;
}

.listing-rating .stars {
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 0;
}

.listing-rating .rating-value {
    font-size: 16px;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
}

.rating-section {
    margin-bottom: 5px;
}

.stars,
.rating-section .stars {
    color: #fbbf24;
    letter-spacing: 0px;
    font-size: 28px;
    padding-bottom: 3px;
}

.rating-section .stars {
    font-size: 28px;
    letter-spacing: 2px;
}

.rating-value,
.rating-text {
    color: #000000;
    font-weight: 700;
    font-size: 18px;
}

.rating-text {
    font-size: 16px;
}

.review-count {
    color: #000000;
    font-size: 16px;
}

.listing-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 14px;
    color: #161616;
    width: 80%;
}

.listing-address span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-address svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.listing-status,
.status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
}

.status {
    gap: 8px;
    margin-bottom: 16px;
}

.status strong {
    color: #1f2937;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}

.status .status-dot {
    width: 10px;
    height: 10px;
}

.status-dot.closed {
    background: #ef4444;
}

.current-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.current-status.open {
    background-color: var(--success-color);
    color: var(--white);
}

.current-status.closed {
    background-color: var(--danger-color);
    color: var(--white);
}

/* ===== LISTING DETAILS ===== */
.notary-details-grid {
    display: grid;
    gap: 30px;
}

.content-section {
    padding: 32px;
    border-bottom: 1px solid #e5e7eb;
}

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

.content-section h2 {
    font-size: 24px;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 16px;
}

.content-section p {
    color: #1f2937;
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.work-time,
.rating,
.place-topics,
.contact-info,
.attributes,
.address-section,
.map-link,
.website-link,
.notary-description {
    margin-bottom: 25px;
    border-radius: 6px;
}

.work-time h4,
.rating h4,
.place-topics h4,
.contact-info h4,
.attributes h4,
.address-section h4,
.map-link h4,
.website-link h4,
.notary-description h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.work-hours,
.rating ul,
.place-topics ul,
.contact-info ul,
.attributes ul {
    list-style: none;
    padding-left: 0;
}

.work-hours li,
.rating li,
.place-topics li,
.contact-info li,
.attributes li {
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-light);
}

.work-hours li:last-child,
.rating li:last-child,
.place-topics li:last-child,
.contact-info li:last-child,
.attributes li:last-child {
    border-bottom: none;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 12px 0;
    color: #1f2937;
}

.hours-table td:first-child {
    font-weight: 700;
    width: 120px;
}

.hours-table td:last-child {
    color: #6b7280;
}

.hours-table tr.today {
    background: #f0f9ff;
}

.hours-table tr.today td {
    padding-left: 12px;
    padding-right: 12px;
}

/* ===== SIDEBAR ===== */
.listing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: #0000ff;
    flex-shrink: 0;
}

.contact-item a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 700;
    word-break: break-all;
}

.contact-item a:hover {
    color: #0000ff;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 16px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.attributes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.attribute-category h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.attribute-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.attribute-category ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1f2937;
}

.attribute-category ul li svg {
    width: 16px;
    height: 16px;
    color: #10b981;
    flex-shrink: 0;
}

/* ===== CITIES ===== */
.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 48px;
}

.city-card {
    background: #0000ff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 0;
    padding: 14px 18px;
}

.city-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.city-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0 !important;
}

.city-count {
    font-size: 14px;
    color: white;
    font-weight: 400;
}

/* ===== RELATED CONTENT ===== */
.related-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    background-color: white;
}

.related-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.related-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.related-content {
    padding: 16px;
}

.related-content .listing-address {
    margin: 8px 0;
}

.related-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1f2937;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.related-rating .stars {
    font-size: 14px;
    color: #fbbf24;
    letter-spacing: 1px;
}

.related-content .address {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    margin-top: 8px;
}

.related-content .address svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.related-post-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-post-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.related-post-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 24px;
}

.related-post-title {
    font-size: 20px;
    font-weight: 800;
    color: black;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-title a {
    color: black;
}

.related-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.related-post-date {
    font-size: 14px;
    color: #9ca3af;
}

/* ===== SINGLE POST STYLES ===== */
.entry-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.entry-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
}

.entry-meta a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.entry-meta a:hover {
    color: #2563eb;
}

.entry-meta > * {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.entry-meta > *::before {
    content: "•";
    color: #d1d5db;
}

.entry-meta > *:first-child::before {
    content: "";
}

.post-thumbnail {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.02);
}

.entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #111827;
    margin-bottom: 3rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 2.5rem 0 1rem 0;
    color: #111827;
    line-height: 1.3;
}

.entry-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #111827;
    line-height: 1.4;
}

.entry-content h4 {
    font-size: 19px;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    color: #111827;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

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

.entry-content a {
    color: #3b82f6;
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.3);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.entry-content a:hover {
    color: #2563eb;
    text-decoration-color: #2563eb;
}

.entry-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-left: 4px solid #3b82f6;
    background: #f9fafb;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b5563;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.entry-content code {
    background: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #ef4444;
    font-family: 'Courier New', monospace;
}

.entry-content pre {
    background: #1f2937;
    color: #e5e7eb;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.entry-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.page-links {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.page-links > span:first-child {
    font-weight: 600;
    color: #111827;
    margin-right: 0.5rem;
}

.page-links a,
.page-links > span:not(:first-child) {
    padding: 0.4rem 0.8rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
}

.page-links a:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.entry-footer {
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 3rem;
}

.post-categories,
.post-tags {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.post-categories > span,
.post-tags > span {
    font-weight: 600;
    color: #6b7280;
    font-size: 14px;
    margin-right: 0.25rem;
}

.post-categories a {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.post-categories a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.post-tags a {
    padding: 0.4rem 0.9rem;
    background: #f3f4f6;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.post-tags a:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.nav-previous,
.nav-next {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    border: 1px solid #e5e7eb;
}

.nav-previous:hover,
.nav-next:hover {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.nav-subtitle {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.nav-title {
    display: block;
    font-size: 16px;
    color: #111827;
    font-weight: 600;
    line-height: 1.4;
}

.nav-previous .nav-title::before {
    content: "← ";
    color: #3b82f6;
}

.nav-next .nav-title::after {
    content: " →";
    color: #3b82f6;
}

.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e5e7eb;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
}

/* ===== FORMS ===== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    display: block;
    width: 100%;
    background: #0000ff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-primary:hover {
    background: #0000dd;
}

.btn-secondary {
    display: block;
    width: 100%;
    background: transparent;
    color: #0000ff;
    border: 2px solid #0000ff;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.btn-secondary:hover {
    background: #f0f9ff;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 700;
    background: #ffffff;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #0000ff;
    color: #ffffff;
    border-color: #0000ff;
}

.pagination .current {
    background: #0000ff;
    color: #ffffff;
    border-color: #0000ff;
}

.pagination .dots {
    border: none;
    background: transparent;
    padding: 10px 8px;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

.no-posts,
.no-child-terms {
    text-align: center;
    padding: 40px 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===== RESPONSIVE: TABLET (768px) ===== */
@media (min-width: 768px) {
    .notary-details-grid {
        grid-template-columns: 2fr 1fr;
    }

    .listing-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 32px;
        margin: 20px 0px;
    }

    .site-main {
        padding: 30px 0;
    }

    .entry-title {
        font-size: 42px;
    }

    .entry-content {
        font-size: 17px;
    }

    .entry-content h2 {
        font-size: 32px;
    }

    .entry-content h3 {
        font-size: 26px;
    }

    .nav-links {
        grid-template-columns: 1fr 1fr;
    }

    .nav-next {
        text-align: right;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 360px;
        height: 100vh;
        background: #fff;
        z-index: 1100;
        padding: 80px 30px 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: block;
    }

    .main-navigation.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
        font-size: 18px;
    }

    .menu-close {
        display: block;
    }

    .hero-section,
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-search-wrapper {
        flex-direction: column;
        gap: 12px;
        border-radius: 16px;
    }

    .hero-location-field input {
        border-radius: 12px;
    }

    .hero-location-dropdown {
        max-height: 250px;
        border-radius: 8px;
    }
    
    .hero-location-option {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .location-icon {
        font-size: 16px;
    }

    .hero-search-button {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
    }

    .states-section,
    .content-section,
    .blog-section {
        padding: 48px 0;
    }

    .content-title {
        font-size: 28px;
    }

    .content-body {
        font-size: 16px;
    }

    .content-body h3 {
        font-size: 22px;
    }

    .blog-grid,
    .blog-gridd {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .blog-gridd {
        gap: 20px;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .listing-grid {
        grid-template-columns: 1fr;
        margin: 20px 0px;
    }

    .listing-header h1 {
        font-size: 28px;
    }

    .featured-image {
        height: 250px;
    }

    .content-section {
        padding: 24px;
    }

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

    .map-container {
        height: 250px;
    }

    .page-header {
        padding: 32px 0;
    }

    .page-header h1 {
        font-size: 40px;
        font-weight: 800;
    }

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

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

    .listing-content {
        padding: 16px;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* ===== RESPONSIVE: LARGE TABLET (1024px) ===== */
@media (max-width: 1024px) {
    .blog-grid,
    .blog-gridd {
        grid-template-columns: repeat(2, 1fr);
    }

    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== RESPONSIVE: MOBILE (480px) ===== */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .hero-section,
    .hero {
        padding: 50px 0px;
        min-height: 550px;
        height: 450px;
    }

    .hero-section .container {
        padding: 0px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-description {
        font-size: 17px;
    }

    .blog-grid,
    .blog-gridd {
        grid-template-columns: repeat(1, 1fr);
        gap: 32px;
    }

    .blog-gridd {
        gap: 20px;
    }

    .listing-header {
        padding: 24px;
    }

    .listing-header h1 {
        font-size: 24px;
    }

    .content-section {
        padding: 30px 5px;
    }

    .sidebar-card {
        padding: 20px;
    }

    .main-content {
        padding: 20px 0;
    }

    .listing-main .content-section {
        background-color: #ffffff;
        padding: 25px;
    }

    .related-posts-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .child-taxonomies-grid,
    .posts-grid,
    .listings-grid,
    .articles-grid,
    .states-grid,
    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .listing-grid {
        grid-template-columns: 1fr;
        margin: 0px 0px 40px 0;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .entry-meta,
    .post-navigation,
    .comments-area,
    .entry-footer {
        display: none;
    }
}