/* Content Styles for WordPress Theme - WP Wayfinder */

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.entry-content h1 {
    font-size: 2.5rem;
}

.entry-content h2 {
    font-size: 2rem;
}

.entry-content h3 {
    font-size: 1.75rem;
}

.entry-content h4 {
    font-size: 1.5rem;
}

.entry-content h5 {
    font-size: 1.25rem;
}

.entry-content h6 {
    font-size: 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--color-gray-700);
}

.entry-content a {
    color: #ff6501;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.entry-content a:hover {
    opacity: 0.8;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--color-gray-700);
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

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

.entry-content blockquote {
    margin: 2rem 0;
    padding: 2rem 2.5rem;
    border-left: 3px solid #ff650130;
    background-color: #fafafa;
    border-radius: 1rem;
    font-style: italic;
    color: var(--color-gray-700);
}

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

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.entry-content .alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
    max-width: 50%;
}

.entry-content .alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    max-width: 50%;
}

.entry-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.entry-content .alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content .alignfull {
    max-width: 100%;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.entry-content pre {
    background-color: var(--color-gray-800);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
}

.entry-content code {
    font-family: var(--font-mono);
    background-color: var(--color-gray-200);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

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

.entry-content table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
    padding: 1rem 1.25rem;
    border: 1px solid #e8e8e8;
    text-align: left;
}

.entry-content table th {
    background-color: #fafafa;
    font-weight: 600;
    color: var(--color-gray-800);
}

.entry-content hr {
    margin: 3rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, #f5bd1e20, #ff650120, #ed1c2420, #ff159220);
}

.entry-content .wp-block-image img {
    display: block;
}

.entry-content .wp-block-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    text-align: center;
}

.entry-content .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.entry-content .wp-block-columns {
    display: grid;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.entry-content .wp-block-columns.has-2-columns {
    grid-template-columns: repeat(2, 1fr);
}

.entry-content .wp-block-columns.has-3-columns {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .entry-content .wp-block-columns {
        grid-template-columns: 1fr;
    }
}

.entry-content .wp-block-button__link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
}

.entry-content .wp-block-button__link:hover {
    opacity: 0.9;
}

.entry-content .wp-block-button.is-style-gradient .wp-block-button__link {
    background-image: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
    background-size: 200% 200%;
    color: white;
    animation: effectGradient 5s ease-in-out infinite;
}

.entry-content .wp-block-quote {
    margin: 2rem 0;
    padding: 2rem 2.5rem;
    border-left: 3px solid #ff650130;
    background-color: #fafafa;
    border-radius: 1rem;
}

.entry-content .wp-block-pullquote {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 2px solid #ff650120;
    border-bottom: 2px solid #ff650120;
    margin: 3rem 0;
}

.entry-content .wp-block-pullquote blockquote {
    border: none;
    background: none;
    font-size: 1.5rem;
    font-style: italic;
}

.entry-content .wp-block-separator {
    margin: 3rem auto;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, #f5bd1e20, #ff650120, #ed1c2420, #ff159220);
}

.entry-content .wp-block-media-text {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.entry-content .wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 50%;
}

@media (max-width: 768px) {
    .entry-content .wp-block-media-text {
        grid-template-columns: 1fr;
    }
}

.entry-content .wp-block-cover {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.entry-content .wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
    color: white;
}

.entry-content .wp-block-embed {
    margin-bottom: 1.5rem;
}

.entry-content .wp-block-embed iframe,
.entry-content .wp-block-embed embed,
.entry-content .wp-block-embed object {
    max-width: 100%;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gallery-item {
    display: block;
}

.gallery-item img {
    width: 100%;
    height: auto;
}

/* Category filter pills */
.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing) * 2.5) calc(var(--spacing) * 5);
    min-height: 44px;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-4xl, 2rem);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-600);
    background-color: var(--color-white);
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.category-pill:hover {
    border-color: #ff6501;
    color: #ff6501;
}

.category-pill--active {
    background-image: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
    background-size: 200% 200%;
    animation: effectGradient 5s ease-in-out infinite;
    color: white;
    border-color: transparent;
}

.category-pill--active:hover {
    opacity: 0.9;
    color: white;
}

/* Breadcrumbs */
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs a {
    text-decoration: none;
    color: inherit;
}

.breadcrumbs a:hover {
    color: #ff6501;
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 2rem;
    background-color: white;
    min-height: 100px;
    transition: all 0.3s ease;
}

.post-nav-link:hover {
    border-color: #9ca3af;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-item {
    margin-bottom: 1.5rem;
}

.comment-body {
    padding: 2rem;
    border: 1px solid #e5e5e5;
    border-radius: 2rem;
    background-color: white;
    transition: border-color 0.3s ease;
}

.comment-body:hover {
    border-color: #d1d5db;
}

.comment-author-avatar {
    flex-shrink: 0;
}

.comment-content {
    margin-left: 66px;
}

.comment-reply {
    margin-left: 66px;
    margin-top: 1.5rem;
}

.comment-list .children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1.5rem;
}

.comment-list .children .children {
    padding-left: 2rem;
}

@media (max-width: 768px) {
    .comment-list .children {
        padding-left: 1rem;
    }

    .comment-content,
    .comment-reply {
        margin-left: 58px;
    }
}

@media (max-width: 768px) {
    .entry-content h1 {
        font-size: 2rem;
    }

    .entry-content h2 {
        font-size: 1.75rem;
    }

    .entry-content h3 {
        font-size: 1.5rem;
    }

    .entry-content h4 {
        font-size: 1.25rem;
    }

    .entry-content .alignleft,
    .entry-content .alignright {
        float: none;
        margin: 0 auto 1rem;
        max-width: 100%;
    }
}

.preference-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.preference-modal {
    background: white;
    border-radius: 1.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preference-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preference-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.preference-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.preference-modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.preference-modal-body {
    padding: 2rem;
}

.preference-modal-field {
    margin-bottom: 1.5rem;
}

.preference-modal-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.preference-modal-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    background-color: white;
    color: #111827;
    cursor: pointer;
    transition: all 0.2s;
}

.preference-modal-select:hover {
    border-color: #9ca3af;
}

.preference-modal-select:focus {
    outline: none;
    border-color: #ff6501;
    box-shadow: 0 0 0 3px rgba(255, 101, 1, 0.1);
}

.preference-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.preference-modal-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.preference-modal-button-cancel {
    background-color: #f3f4f6;
    color: #374151;
}

.preference-modal-button-cancel:hover {
    background-color: #e5e7eb;
}

.preference-modal-button-apply {
    background-image: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
    background-size: 200% 200%;
    color: white;
}

.preference-modal-button-apply:hover {
    opacity: 0.9;
}

.preference-modal-button-apply:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.preference-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    gap: 1rem;
}

.preference-modal-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid #f3f4f6;
    border-top-color: #ff6501;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.preference-modal-loading-text {
    font-size: 1rem;
    color: #6b7280;
    text-align: center;
}

@media (max-width: 640px) {
    .preference-modal {
        max-width: calc(100vw - 2rem);
        margin: 1rem;
    }

    .preference-modal-header,
    .preference-modal-body,
    .preference-modal-footer {
        padding: 1.25rem 1.5rem;
    }

    .preference-modal-title {
        font-size: 1.25rem;
    }
}

.gender-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.gender-modal-overlay.hidden {
    display: none;
}

.gender-modal {
    background: white;
    border-radius: 1.5rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

.gender-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gender-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gender-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.gender-modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.gender-modal-body {
    padding: 2rem;
}

@media (max-width: 640px) {
    .gender-modal {
        max-width: calc(100vw - 2rem);
        margin: 1rem;
    }

    .gender-modal-header,
    .gender-modal-body {
        padding: 1.25rem 1.5rem;
    }

    .gender-modal-title {
        font-size: 1.25rem;
    }
}

.password-criteria {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.password-criterion {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.password-criterion .criterion-icon {
    font-size: 0.33rem;
    margin-left: 1.5rem;
    transition: color 0.2s ease;
}

.password-criterion.valid {
    color: #10b981;
}

.password-criterion.valid .criterion-icon {
    color: #10b981;
}

.password-criterion.invalid {
    color: #ef4444;
}

.password-criterion.invalid .criterion-icon {
    color: #ef4444;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

button:disabled:hover {
    opacity: 0.5;
}

.password-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle-btn:hover {
    color: #374151;
}

.password-toggle-btn:focus {
    outline: none;
    color: #ff6501;
}

.password-eye-icon {
    display: block;
}

.password-eye-icon.hidden {
    display: none;
}

.scan-results-link {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: opacity 0.2s;
    padding: 0.5rem 0;
    display: inline-block;
}

.scan-results-link:hover {
    opacity: 0.8;
}

.scan-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.scan-modal {
    background: white;
    border-radius: 1.5rem;
    max-width: 95vw;
    width: 100%;
    max-height: 95vh;
    min-height: 80vh;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    animation: scanModalSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes scanModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scan-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.scan-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.scan-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.scan-modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.scan-modal-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 0;
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scan-modal-body::-webkit-scrollbar {
    display: none;
}

.scan-update-notice {
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, #f5bd1e10, #ff650110, #ed1c2410, #ff159210);
    border-bottom: 2px solid #ff6501;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: slideDown 0.3s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scan-update-message {
    margin: 0;
    text-align: center;
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
}

.scan-update-button {
    margin: 1rem auto 0;
    max-width: 300px;
    width: 100%;
    text-align: center;
    display: block
}

.volumental-widget-container {
    flex: 1 1 auto;
    height: 750px;
    padding-bottom: 1.2rem;
    width: 100%;
    display: block;
    overflow: hidden;
}

@media (max-width: 640px) {
    .volumental-widget-container-onboarding {
        height: 650px;
    }
}

#volumental-identifier {
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: block;
}

@media (max-width: 640px) {
    .scan-modal {
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
        min-height: 100vh;
    }

    .scan-modal-header {
        padding: 1rem 1.5rem;
    }

    .scan-modal-title {
        font-size: 1.25rem;
    }

    .scan-update-notice {
        padding: 1rem 1.5rem;
    }

    .scan-update-message {
        font-size: 0.875rem;
    }

    .scan-update-button {
        width: 100%;
    }
}