/*
Theme Name: NoorNames Child
Template: generatepress
Version: 1.0
*/
.site-branding-container .site-logo {
    margin-right: 0.5rem;
}

.site-branding-container .main-title {
    font-size: 1.25rem;
}

.inside-header {
    padding-top: 5px;
    padding-bottom: 5px;
}

.home .site.grid-container {
    max-width: 100%;
    padding:0;
    width: 100%;
}

.home .site-content, .post-type-archive-baby_names .site-content, .archive .site-content, .page-template-template-popular-names .site-content {
    flex-direction: column;
}

.container {
    width: 1420px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
  }

  .container.grid-container {
    width: 1420px;
    padding: 0;
  }

.hero {
    background: linear-gradient(to right, #10b981, #0d9488);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    width: 700px;
    max-width: 100%;
    margin: 0 auto 2rem;
}

.search-box {
    width: 600px;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    position: relative;
}

input.search-input {
    width: 100%;
    padding: 1rem 4rem 1rem 1.5rem;
    border-radius: 9999px;
    font-size: 1rem;
    color: #111827;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    outline: none;
    max-width: 100%;
    border: 2px solid transparent;
}

input.search-input:focus {
    border-color: rgb(110 231 183);
}

button.search-button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #059669;
    padding: 0.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.search-button:hover {
    background-color: rgb(4 120 87);
}

button.search-button svg {
    width: 24px;
    height: 24px;
    display: block;
}

.category-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-links a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: white;
    font-weight: 500;
    backdrop-filter: blur(4px);
    transition: background 0.3s;
}

.category-links a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ad-banner {
    background-color: #e5e7eb;
    text-align: center;
    padding: 1rem;
    margin: 2rem auto;
    max-width: calc(100% - 80px);
    width: 1340px;
    border-radius: 0.5rem;
    color: #6b7280;
}

.name-categories {
    background-color: white;
    padding: 3rem 0;
}

.name-categories h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.category-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.category-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-left: 1rem;
    margin-bottom: 0;
}

.category-desc {
    color: #4b5563;
    margin-bottom: 1rem;
}

.category-link {
    color: #059669;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.category-link:hover {
    color: #047857;
}

.category-link svg {
    margin-left: 0.25rem;
}

.home .section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #1f2937;
}

/* Alphabet Links */
.alphabet-section {
    background-color: #f9fafb;
    padding: 3rem 0;
}

.alphabet-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.alphabet-links a {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.alphabet-links a:hover {
    background-color: #10b981;
    color: white;
}

/* Featured Names Grid */
.featured-section {
    background-color: white;
    padding: 3rem 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .featured-container {
        display: flex;
        gap: 2rem;
    }

    .featured-grid {
        flex: 3;
        grid-template-columns: repeat(3, 1fr);
    }

    .ad-box {
        flex: 1;
    }
}

.name-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.name-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.name-card-content {
    padding: 1.25rem;
}

.name-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.name-card h3:hover {
    color: #10b981;
}

.name-card p {
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.name-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
}

.btn-view-more {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #10b981;
    color: white;
    font-weight: 500;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-top: 2rem;
    text-align: center;
}

.btn-view-more:hover {
    background-color: #059669;
}

.ad-box {
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.blog-section {
    padding: 60px 20px;
    background-color: #f9fafb;
}

.blog-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

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

.blog-image img {
    display: block;
    width: 100%;
    object-fit: cover;
	max-height: 280px;
}

.image-placeholder {
    height: 192px;
    background-color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.blog-content {
    padding: 24px;
}

.blog-title {
    color: #1f2937;
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.blog-title:hover {
    color: #059669;
}

.blog-description {
    color: #4b5563;
    margin-bottom: 16px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.blog-date {
    color: #6b7280;
}

.read-more {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    color: #047857;
}

.view-all {
    text-align: center;
    margin-top: 32px;
}

.view-all-button {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #059669;
    border-radius: 8px;
    color: #059669;
    background-color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.view-all-button:hover {
    background-color: #f0fdf4;
}

.single .section-title {
    font-size: 24px;
}

.details-table th {
    text-align: left;
}

.faq-item {
    border: 1px solid #eee;
    margin: 0 0 20px;
}

.faq-question {
    font-size: 19px;
    padding: 10px 20px;
    margin: 0;
	cursor: pointer;
}

.faq-answer {
    font-size: 16px;
    padding: 20px 20px;
    border-top: 1px solid #eee;
	margin:0;
}

.faq-answer p:last-child {
    margin: 0;
}

.widget-area h2 {
    font-size: 24px;
}

.voice-button {
	background: #666d69;
    border-radius: 5px;
    margin-bottom: 20px;
}
.voice-button:hover {
	background: #454545;
}

.nav-links {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.nav-links .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background: #f0f0f0;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
}

.nav-links .page-numbers.current {
    background: var(--accent);
    color: #fff;
	padding: 8px 12px;
}

.nav-links .page-numbers:hover {
    background: var(--contrast);
    color: #fff;
}

.related-baby-names {
    margin-top: 25px;
}

.related-baby-names h3 {
    margin-bottom: 20px;
}

.related-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
	margin:0;
}

.related-list li {
    background: white;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}