/*
Theme Name: Crypto Beginner Blueprint
Theme URI: https://cryptobeginnerblueprint.com
Author: Weblish
Author URI: https://weblish.com
Description: A modern, clean WordPress theme for Crypto Beginner Blueprint — a beginner-first crypto education platform. Features a step-by-step blueprint approach to help everyday people understand and start using crypto safely.
Version: 1774889776
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flash
Tags: blog, education, custom-menu, featured-images, one-column, two-columns, three-columns, grid-layout, custom-logo, editor-style, responsive-layout

Crypto Beginner Blueprint WordPress Theme
*/

/* Site Logo Dimensions */
.site-logo {
    max-height: 90px;
    width: auto;
    height: auto;
}

/* Navbar logo invert so it is visible on dark background */
.navbar-2 .site-logo {
    filter: invert(1);
}

.brand,
.brand.w-nav-brand {
    width: auto;
    max-width: 280px;
}

.logo-link {
    width: auto !important;
    max-width: 280px;
}

.logo-link .site-logo {
    max-height: 90px;
    width: auto;
    height: auto;
}

.loading-logo-image {
    max-width: 150px;
    width: auto;
    height: auto;
}

@media screen and (max-width: 479px) {
    .brand,
    .brand.w-nav-brand {
        max-width: 200px;
    }
}

/* Fix blog detail content layout: override webflow flex row to vertical column */
.blog-content {
    display: block;
    cursor: auto;
    overflow: visible;
}

/* Additional WordPress-specific styles */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress alignment classes */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* WordPress block editor styles */
.wp-block-image {
    margin-bottom: 1em;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Comment styles */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 10px;
}

.comment-content {
    margin-top: 15px;
}

.reply {
    margin-top: 10px;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    color: #0f1923;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #f7931a;
    color: #fff;
    border-color: #f7931a;
}

.pagination .current {
    background: #f7931a;
    color: #fff;
    border-color: #f7931a;
}

/* Footer grid responsive fix - 3 columns on desktop, stack on mobile */
.footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
}

@media screen and (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        grid-row-gap: 40px;
    }
}

/* Contact Page - Clean Form Layout */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.contact-page-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

.contact-hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

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

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.2s ease;
}

.contact-info-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-info-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
    color: #0f1923;
}

.contact-info-card-text {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.contact-page-right {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.contact-form-header {
    margin-bottom: 32px;
}

.contact-form-subtitle {
    margin-top: 10px;
    margin-bottom: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form-clean {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0;
}

.required-mark {
    color: #ef4444;
}

.contact-form-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    color: #1f2937;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.contact-form-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

.contact-form-textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    color: #1f2937;
    background: #fff;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.contact-form-textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.contact-form-consent {
    padding-top: 4px;
}

.contact-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0;
}

.contact-consent-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #000;
    cursor: pointer;
}

.contact-consent-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.contact-form-submit {
    padding-top: 4px;
}

.contact-submit-btn {
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.contact-success-message {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-size: 14px;
    margin-top: 16px;
}

.contact-error-message {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: 14px;
    margin-top: 16px;
}

@media screen and (max-width: 991px) {
    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 600px;
    }

    .contact-page-right {
        padding: 32px;
    }
}

@media screen and (max-width: 479px) {
    .contact-page-wrapper {
        gap: 30px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-page-right {
        padding: 24px;
        border-radius: 8px;
    }

    .contact-hero-img {
        height: 220px;
    }
}

/* WordPress admin bar adjustment */
body.admin-bar .navbar-2 {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar-2 {
        top: 46px;
    }
}
