/**
 * Pages Styles
 * Styles for page templates (submit, contact, FAQ, 404, search, blog)
 */

/* ============================================
   Page Header - Shared styles
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #6b4ac5 0%, #8b6ae0 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.page-description {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ============================================
   Form Styles - Shared
   ============================================ */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-label .required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 74, 197, 0.1);
}

.form-control-file {
    width: 100%;
    padding: 10px;
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    cursor: pointer;
}

.form-help {
    display: block;
    margin-top: 6px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check-input {
    margin-top: 4px;
    cursor: pointer;
}

.form-check-label {
    font-size: 0.9375rem;
    color: var(--color-text);
    cursor: pointer;
}

.form-actions {
    margin-top: 32px;
}

.form-message {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 0.9375rem;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* ============================================
   Submit Page
   ============================================ */
.submit-form-section {
    padding: 60px 0;
}

.submit-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.submit-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.sidebar-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.benefits-list,
.guidelines-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
}

.benefits-list li svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.guidelines-list li {
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9375rem;
    position: relative;
}

.guidelines-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.submit-form-main {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.info-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.info-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.info-link:hover {
    text-decoration: underline;
}

.info-address {
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-background);
    color: var(--color-text);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.contact-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-header p {
    color: var(--color-text-light);
}

.map-section {
    margin-top: 60px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FAQ Page
   ============================================ */
.faq-section {
    padding: 60px 0;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

.faq-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.faq-nav h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.faq-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.faq-nav-list li {
    margin-bottom: 4px;
}

.faq-nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

.faq-nav-link:hover {
    background: var(--color-background);
    color: var(--color-text);
}

.faq-nav-link.active {
    background: var(--color-primary);
    color: white;
}

.faq-cta {
    padding: 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    color: white;
    text-align: center;
}

.faq-cta h4 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.faq-cta p {
    font-size: 0.9375rem;
    margin-bottom: 16px;
    opacity: 0.95;
}

.faq-category {
    margin-bottom: 60px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-text);
    padding-bottom: 16px;
    border-bottom: 3px solid var(--color-primary);
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--color-background);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 24px 20px 24px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer a {
    color: var(--color-primary);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-cta-section {
    background: var(--color-background);
    padding: 80px 0;
}

.cta-box {
    background: white;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.cta-box p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   404 Page
   ============================================ */
.error-404-section {
    padding: 80px 0;
}

.error-404-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.error-404-illustration {
    margin-bottom: 40px;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.error-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.error-404-search {
    margin-bottom: 60px;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 74, 197, 0.1);
}

.search-input-group svg {
    flex-shrink: 0;
    color: var(--color-text-light);
}

.search-input-group .search-input {
    flex: 1;
    border: none;
    padding: 0;
    font-size: 1rem;
}

.search-input-group .search-input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.error-404-links h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-text);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(107, 74, 197, 0.15);
}

.quick-link-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.quick-link-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.quick-link-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.popular-tools-section {
    background: var(--color-background);
    padding: 80px 0;
}

/* ============================================
   Search Page
   ============================================ */
.search-header {
    background: linear-gradient(135deg, #6b4ac5 0%, #8b6ae0 100%);
    color: white;
    padding: 60px 0;
}

.search-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.search-title span {
    color: var(--color-secondary);
}

.search-count {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.search-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.search-form-large .search-input-group {
    background: white;
    color: var(--color-text);
}

.search-filters {
    background: white;
    padding: 20px 0;
    border-bottom: 2px solid var(--color-background);
    position: sticky;
    top: 80px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-results-section {
    padding: 60px 0;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-result-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.result-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--color-background);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

.result-type-badge svg {
    width: 14px;
    height: 14px;
}

.result-content {
    display: flex;
    gap: 20px;
}

.result-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-background);
}

.result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-info {
    flex: 1;
}

.result-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-title a {
    color: var(--color-text);
    text-decoration: none;
}

.result-title a:hover {
    color: var(--color-primary);
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.result-category {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.result-category:hover {
    text-decoration: underline;
}

.result-separator {
    color: #d1d5db;
}

.result-pricing {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.result-pricing.free {
    background: #d1fae5;
    color: #065f46;
}

.result-pricing.freemium {
    background: #dbeafe;
    color: #1e40af;
}

.result-pricing.paid {
    background: #fef3c7;
    color: #92400e;
}

.result-excerpt {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.result-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.result-link:hover {
    text-decoration: underline;
}

.search-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.no-search-results {
    padding: 80px 0;
}

.no-results-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.no-results-icon {
    margin-bottom: 32px;
    color: var(--color-text-light);
}

.no-results-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.no-results-content p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.search-suggestions {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
    display: inline-block;
}

.search-suggestions li {
    padding: 8px 0;
    color: var(--color-text-light);
    padding-left: 24px;
    position: relative;
}

.search-suggestions li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.no-results-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.search-categories-section {
    background: var(--color-background);
    padding: 80px 0;
}

/* ============================================
   Blog Single Post
   ============================================ */
.single-post .post-header {
    padding: 60px 0 40px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.post-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.post-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.post-category:hover {
    background: var(--color-secondary);
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--color-text);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-meta img {
    border-radius: 50%;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.author-name {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
}

.author-name:hover {
    color: var(--color-primary);
}

.meta-separator {
    color: var(--color-text-light);
}

.post-date {
    color: var(--color-text-light);
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.post-featured-image {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 32px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content-wrapper {
    padding: 60px 0;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.post-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text);
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 32px 0 16px;
    font-weight: 700;
    color: var(--color-text);
}

.post-content h2 {
    font-size: 1.875rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.post-content ul,
.post-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-tags {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.post-tags h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.post-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-background);
    color: var(--color-text);
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
}

.post-tag:hover {
    background: var(--color-primary);
    color: white;
}

.author-bio {
    margin-top: 60px;
    padding: 32px;
    background: var(--color-background);
    border-radius: 12px;
    display: flex;
    gap: 24px;
}

.author-avatar img {
    border-radius: 50%;
}

.author-details h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.author-details p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.post-navigation {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.nav-previous,
.nav-next {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-next {
    text-align: right;
}

.nav-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-next .nav-link {
    justify-content: flex-end;
}

.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.sidebar-widget h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
}

.share-widget .share-buttons {
    display: grid;
    gap: 12px;
}

.share-widget .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.copy {
    background: var(--color-text);
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.recent-post-item:hover {
    background: var(--color-background);
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-background);
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.recent-post-info time {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 8px;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.categories-list a:hover {
    background: var(--color-background);
    color: var(--color-primary);
}

.categories-list .count {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.related-posts-section {
    background: var(--color-background);
    padding: 80px 0;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.post-card-image {
    display: block;
    position: relative;
    padding-bottom: 60%;
    background: var(--color-background);
    overflow: hidden;
}

.post-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-content {
    padding: 24px;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.post-card-category {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.post-card-category:hover {
    text-decoration: underline;
}

.post-card-meta time {
    color: var(--color-text-light);
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.post-card-title a {
    color: var(--color-text);
    text-decoration: none;
}

.post-card-title a:hover {
    color: var(--color-primary);
}

.post-card-excerpt {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.read-more-link:hover {
    text-decoration: underline;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .submit-wrapper,
    .contact-wrapper,
    .faq-wrapper {
        grid-template-columns: 1fr;
    }
    
    .submit-sidebar,
    .faq-sidebar {
        position: static;
    }
    
    .post-layout {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 24px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .nav-next .nav-link {
        justify-content: flex-start;
    }
    
    .result-content {
        flex-direction: column;
    }
    
    .result-thumbnail {
        width: 100%;
        padding-bottom: 60%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .submit-form-main,
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .post-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   Generic Page Template Styles
   ============================================ */
.page-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-top: 16px;
    opacity: 0.95;
}

.page-featured-image {
    margin-top: 32px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-content {
    padding: 60px 0;
}

.page-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.page-article {
    background: white;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.entry-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

.entry-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 48px;
    margin-bottom: 24px;
}

.entry-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 36px;
    margin-bottom: 20px;
}

.entry-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-top: 28px;
    margin-bottom: 16px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.entry-content li {
    margin-bottom: 12px;
}

.entry-content a {
    color: #667eea;
    text-decoration: underline;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: #5568d3;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.entry-content blockquote {
    border-left: 4px solid #667eea;
    padding: 16px 24px;
    margin: 24px 0;
    background: #f9fafb;
    font-style: italic;
    color: #6b7280;
}

.entry-content code {
    background: #1f2937;
    color: #10b981;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.entry-content pre {
    background: #1f2937;
    color: #10b981;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

.entry-content pre code {
    background: none;
    padding: 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.entry-content table th,
.entry-content table td {
    padding: 12px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.entry-content table th {
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.page-links {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.page-links a {
    display: inline-block;
    padding: 8px 16px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-right: 8px;
    transition: background 0.2s;
}

.page-links a:hover {
    background: #5568d3;
}

.entry-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.edit-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.edit-link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-excerpt {
        font-size: 1rem;
    }

    .page-content {
        padding: 40px 0;
    }

    .page-article {
        padding: 32px 24px;
    }

    .entry-content {
        font-size: 1rem;
    }

    .entry-content h2 {
        font-size: 1.75rem;
        margin-top: 32px;
    }

    .entry-content h3 {
        font-size: 1.375rem;
        margin-top: 28px;
    }
}
