/* I Ching Oracle - Article Post Template */
/* For use on single blog posts only */

/* Article Container */
.iching-article-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
}

/* Paper Texture Background (only for single posts) */
body.single .iching-paper-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e8e0ce;
    z-index: -2;
}

body.single .iching-paper-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, rgba(180, 160, 120, 0.08) 0px, rgba(180, 160, 120, 0.08) 2px, transparent 2px, transparent 8px),
        repeating-linear-gradient(135deg, rgba(140, 110, 70, 0.05) 0px, rgba(140, 110, 70, 0.05) 1px, transparent 1px, transparent 6px);
    pointer-events: none;
}

/* Content Wrapper */
.iching-content-wrapper {
    background: rgba(250, 245, 235, 0.92);
    backdrop-filter: blur(2px);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 215, 0, 0.15);
    position: relative;
    transition: box-shadow 0.3s ease;
}

.iching-content-wrapper:hover {
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(218, 165, 32, 0.3);
}

/* Article Header */
.iching-article-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(140, 110, 70, 0.3);
    position: relative;
}

.iching-article-header::after {
    content: '\262F';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(250, 245, 235, 0.92);
    padding: 0 1rem;
    color: #b8963e;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Header Font Fix - Match Homepage */
.iching-article-header .iching-article-category,
.iching-article-header .iching-article-title,
.iching-article-header .iching-article-meta,
.iching-article-body,
.iching-article-body h1,
.iching-article-body h2,
.iching-article-body h3,
.iching-article-body p,
.iching-article-body li,
.iching-author-info,
.iching-nav-link,
.iching-tag,
.iching-comments-section {
    font-family: inherit;
}

/* Force specific font weight on header elements */
.iching-article-title {
    font-weight: 600 !important;
}

.iching-article-category {
    font-weight: 600 !important;
}

.iching-article-meta span {
    font-weight: 600 !important;
}

.iching-author-info h4 {
    font-weight: 600 !important;
}

/* Category Tag */
.iching-article-category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #b8963e;
    background: rgba(184, 150, 62, 0.12);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

/* Title */
.iching-article-title {
    font-size: 2.8rem;
    font-weight: 500;
    color: #2c2419;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

/* Meta Info */
.iching-article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #7a6a52;
    margin-top: 1rem;
}

.iching-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.iching-article-meta span::before {
    content: '\268C';
    color: #b8963e;
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Featured Image */
.iching-featured-image {
    margin: 2rem 0 2rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.iching-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.iching-featured-image:hover img {
    transform: scale(1.02);
}

.iching-image-caption {
    text-align: center;
    font-size: 0.75rem;
    color: #8a7a64;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Pull Quote - to be used inside posts */
.iching-pull-quote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(184, 150, 62, 0.08);
    border-left: 4px solid #b8963e;
    border-radius: 0 20px 20px 0;
    font-size: 1.25rem;
    font-style: italic;
    color: #4a3a2a;
    position: relative;
}

.iching-pull-quote::before {
    content: '\300C';
    font-size: 3rem;
    position: absolute;
    left: 0.5rem;
    top: -0.5rem;
    color: #b8963e;
    opacity: 0.4;
    font-family: serif;
}

/* Body Text */
.iching-article-body {
    font-size: 1.1rem;
    color: #3a2a1a;
    line-height: 1.7;
}

.iching-article-body p {
    margin-bottom: 1.5rem;
}

.iching-article-body h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 2rem 0 1rem 0;
    color: #2c2419;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(140, 110, 70, 0.3);
}

.iching-article-body h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 1.5rem 0 0.8rem 0;
    color: #3a2a1a;
}

.iching-article-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 2rem;
    background: rgba(196, 180, 154, 0.3);
    border-radius: 16px;
    font-style: italic;
    border-left: 3px solid #b8963e;
}

.iching-article-body ul, 
.iching-article-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.iching-article-body li {
    margin-bottom: 0.5rem;
}

/* Hexagram Divider */
.iching-hexagram-divider {
    text-align: center;
    margin: 2rem 0;
    font-size: 1.2rem;
    letter-spacing: 8px;
    color: #b8963e;
    opacity: 0.6;
}

/* Tags */
.iching-article-tags {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(140, 110, 70, 0.4);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.iching-tag {
    display: inline-block;
    background: rgba(184, 150, 62, 0.12);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    color: #7a5a3a;
    text-decoration: none;
    transition: all 0.2s ease;
}

.iching-tag:hover {
    background: #b8963e;
    color: #f5e6c8;
}

/* Author Bio */
.iching-author-bio {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(196, 180, 154, 0.3);
    border-radius: 20px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.iching-author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #b8963e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #f5e6c8;
    flex-shrink: 0;
    overflow: hidden;
}

.iching-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iching-author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #2c2419;
}

.iching-author-info p {
    font-size: 0.85rem;
    color: #6a5a42;
    margin-bottom: 0;
}

/* Navigation */
.iching-article-nav {
    margin-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.iching-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(184, 150, 62, 0.12);
    border-radius: 40px;
    color: #5a4a32;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.iching-nav-link:hover {
    background: #b8963e;
    color: #f5e6c8;
}

.iching-nav-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(184, 150, 62, 0.08);
}

.iching-nav-link.disabled:hover {
    background: rgba(184, 150, 62, 0.08);
    color: #5a4a32;
    transform: none;
}

/* Comments Section */
.iching-comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(140, 110, 70, 0.3);
}

.iching-comments-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.iching-comments-title::before {
    content: '\2686';
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Corner Decorations */
.iching-corner-decoration {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

.iching-corner-decoration-left {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {
    .iching-article-container {
        padding: 1rem;
    }
    .iching-content-wrapper {
        padding: 1.8rem;
    }
    .iching-article-title {
        font-size: 2rem;
    }
    .iching-article-body {
        font-size: 1rem;
    }
    .iching-author-bio {
        flex-direction: column;
        text-align: center;
    }
    .iching-article-nav {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== ARCHIVE / CATEGORY PAGES ===== */

.iching-archive-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
}

.iching-archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.iching-archive-title {
    font-size: 2.8rem;
    font-weight: 500;
    color: #2c2419;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.iching-archive-description {
    font-size: 1.1rem;
    color: #6a5a42;
    max-width: 700px;
    margin: 0.5rem auto 1.5rem;
    font-style: italic;
}

.iching-archive-divider {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 8px;
    color: #b8963e;
    opacity: 0.6;
    margin-top: 1rem;
}

/* Archive Grid - Base */
.iching-archive-grid {
    display: grid;
    gap: 2rem;
}

/* No Images - 2 columns (wider cards for text) */
.iching-grid-no-images {
    grid-template-columns: repeat(2, 1fr);
}

/* With Images - 3 columns */
.iching-grid-with-images {
    grid-template-columns: repeat(3, 1fr);
}

/* Archive Card - Base */
.iching-archive-card {
    background: rgba(250, 245, 235, 0.7);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(140, 110, 70, 0.15);
}

.iching-archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(184, 150, 62, 0.3);
}

.iching-card-link {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Card with Image */
.iching-card-with-image .iching-card-link {
    padding: 0 0 1.5rem 0;
}

.iching-card-image {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    margin-bottom: 1rem;
}

.iching-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.iching-card-with-image:hover .iching-card-image img {
    transform: scale(1.03);
}

.iching-card-image-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(196, 180, 154, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #b8963e;
    opacity: 0.5;
    border-radius: 20px 20px 0 0;
}

/* Card Content */
.iching-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2419;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.iching-card-with-image .iching-card-title {
    padding: 0 1.5rem;
}

.iching-card-meta {
    font-size: 0.75rem;
    color: #8a7a64;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.iching-card-with-image .iching-card-meta {
    padding: 0 1.5rem;
}

.iching-card-excerpt {
    font-size: 0.95rem;
    color: #5a4a32;
    line-height: 1.6;
    flex: 1;
}

.iching-card-read-more {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #b8963e;
    transition: all 0.2s ease;
    letter-spacing: 1px;
}

.iching-card-with-image .iching-card-read-more {
    padding: 0 1.5rem;
}

.iching-archive-card:hover .iching-card-read-more {
    color: #8a6a2e;
    transform: translateX(4px);
}

/* Pagination */
.iching-archive-pagination {
    margin-top: 3rem;
    text-align: center;
}

.iching-archive-pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 30px;
    color: #5a4a32;
    text-decoration: none;
    transition: all 0.2s ease;
    background: rgba(184, 150, 62, 0.08);
}

.iching-archive-pagination .page-numbers:hover {
    background: #b8963e;
    color: #f5e6c8;
}

.iching-archive-pagination .page-numbers.current {
    background: #b8963e;
    color: #f5e6c8;
}

/* Responsive */
@media (max-width: 968px) {
    .iching-grid-no-images,
    .iching-grid-with-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .iching-archive-container {
        padding: 1.5rem 1rem;
    }
    .iching-archive-title {
        font-size: 2rem;
    }
    .iching-grid-no-images,
    .iching-grid-with-images {
        grid-template-columns: 1fr;
    }
    .iching-archive-grid {
        gap: 1.5rem;
    }
}

/* FORCE OVERRIDE ASTRA - CATEGORY GRID */
body.category .iching-archive-grid {
    display: grid !important;
    gap: 2rem !important;
}

body.category .iching-grid-no-images {
    grid-template-columns: repeat(2, 1fr) !important;
}

body.category .iching-archive-card {
    background: rgba(250, 245, 235, 0.7) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1px solid rgba(140, 110, 70, 0.15) !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

body.category .iching-card-link {
    display: flex !important;
    flex-direction: column !important;
    padding: 1.5rem !important;
    text-decoration: none !important;
    color: inherit !important;
    height: 100% !important;
}

body.category .iching-card-title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #2c2419 !important;
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.3 !important;
}

body.category .iching-card-meta {
    font-size: 0.75rem !important;
    color: #8a7a64 !important;
    margin-bottom: 0.8rem !important;
    display: flex !important;
    gap: 0.5rem !important;
    align-items: center !important;
}

body.category .iching-card-excerpt {
    font-size: 0.95rem !important;
    color: #5a4a32 !important;
    line-height: 1.6 !important;
    flex: 1 !important;
}

body.category .iching-card-read-more {
    display: inline-block !important;
    margin-top: 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #b8963e !important;
    letter-spacing: 1px !important;
}

body.category .iching-archive-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 3rem 2rem !important;
    position: relative !important;
}

body.category .iching-archive-header {
    text-align: center !important;
    margin-bottom: 3rem !important;
}

body.category .iching-archive-title {
    font-size: 2.8rem !important;
    font-weight: 500 !important;
    color: #2c2419 !important;
    margin-bottom: 0.5rem !important;
}

body.category .iching-archive-divider {
    text-align: center !important;
    font-size: 1.2rem !important;
    letter-spacing: 8px !important;
    color: #b8963e !important;
    opacity: 0.6 !important;
    margin-top: 1rem !important;
}

/* Responsive */
@media (max-width: 968px) {
    body.category .iching-grid-no-images {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    body.category .iching-grid-no-images {
        grid-template-columns: 1fr !important;
    }
}

/* Force paper background on category pages */
body.category .iching-paper-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #e8e0ce !important;
    z-index: -2 !important;
}

body.category .iching-paper-bg::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(180, 160, 120, 0.08) 0px, rgba(180, 160, 120, 0.08) 2px, transparent 2px, transparent 8px),
        repeating-linear-gradient(135deg, rgba(140, 110, 70, 0.05) 0px, rgba(140, 110, 70, 0.05) 1px, transparent 1px, transparent 6px) !important;
    pointer-events: none !important;
}

/* Also make sure the content wrapper matches single post */
body.category .iching-content-wrapper {
    background: rgba(250, 245, 235, 0.92) !important;
    backdrop-filter: blur(2px) !important;
    border-radius: 28px !important;
    padding: 3rem 2.5rem !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 215, 0, 0.15) !important;
    position: relative !important;
    transition: box-shadow 0.3s ease !important;
}

body.category .iching-content-wrapper:hover {
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(218, 165, 32, 0.3) !important;
}

/* Corner decorations for category pages */
body.category .iching-corner-decoration-left {
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    font-size: 2rem !important;
    opacity: 0.2 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

body.category .iching-corner-decoration {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    font-size: 2rem !important;
    opacity: 0.2 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* ===== PAGE TEMPLATE ===== */

.iching-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
}

.iching-page-wrapper {
    background: rgba(250, 245, 235, 0.92);
    backdrop-filter: blur(2px);
    border-radius: 28px;
    padding: 3.5rem 3.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 215, 0, 0.15);
    position: relative;
    transition: box-shadow 0.3s ease;
}

.iching-page-wrapper:hover {
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(218, 165, 32, 0.3);
}

.iching-page-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(140, 110, 70, 0.3);
    position: relative;
}

.iching-page-header::after {
    content: '\262F';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(250, 245, 235, 0.92);
    padding: 0 1rem;
    color: #b8963e;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.iching-page-title {
    font-size: 2.8rem;
    font-weight: 500;
    color: #2c2419;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.iching-page-divider {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 8px;
    color: #b8963e;
    opacity: 0.6;
    margin-top: 0.5rem;
}

.iching-page-image {
    margin: 1.5rem 0 2rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.iching-page-image img {
    width: 100%;
    height: auto;
    display: block;
}

.iching-page-content {
    font-size: 1.1rem;
    color: #3a2a1a;
    line-height: 1.8;
}

.iching-page-content p {
    margin-bottom: 1.5rem;
}

.iching-page-content h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 2rem 0 1rem 0;
    color: #2c2419;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(140, 110, 70, 0.3);
}

.iching-page-content h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 1.5rem 0 0.8rem 0;
    color: #3a2a1a;
}

.iching-page-content ul,
.iching-page-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.iching-page-content li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .iching-page-container {
        padding: 1rem;
    }
    .iching-page-wrapper {
        padding: 1.8rem;
    }
    .iching-page-title {
        font-size: 2rem;
    }
    .iching-page-content {
        font-size: 1rem;
    }
}
/* Override Astra container on single posts */
body.single .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure your article container fills the space */
body.single .iching-article-container {
    max-width: 100% !important;
    padding: 3rem 2rem !important;
    margin: 0 auto !important;
}

/* Optionally limit the inner wrapper to your desired width */
body.single .iching-content-wrapper {
    max-width: 1000px !important; /* Adjust to your preference */
    margin: 0 auto !important;
}
/* Override Astra container on pages */
body.page .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Page container - full width with paper background */
body.page .iching-page-container {
    max-width: 100% !important;
    padding: 3rem 2rem !important;
    margin: 0 auto !important;
}

/* Paper wrapper - visible with background and shadow */
body.page .iching-page-wrapper {
    max-width: 1100px !important;
    margin: 0 auto !important;
    background: rgba(250, 245, 235, 0.92) !important;
    backdrop-filter: blur(2px) !important;
    border-radius: 28px !important;
    padding: 3.5rem 3.5rem !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 215, 0, 0.15) !important;
    position: relative !important;
    transition: box-shadow 0.3s ease !important;
}

body.page .iching-page-wrapper:hover {
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(218, 165, 32, 0.3) !important;
}

/* Page header styling */
body.page .iching-page-header {
    text-align: center !important;
    margin-bottom: 2.5rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 2px solid rgba(140, 110, 70, 0.3) !important;
    position: relative !important;
}

body.page .iching-page-header::after {
    content: '\262F' !important;
    position: absolute !important;
    bottom: -20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(250, 245, 235, 0.92) !important;
    padding: 0 1rem !important;
    color: #b8963e !important;
    font-size: 1.2rem !important;
    letter-spacing: 2px !important;
}

body.page .iching-page-title {
    font-size: 2.8rem !important;
    font-weight: 500 !important;
    color: #2c2419 !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: -0.01em !important;
}

body.page .iching-page-divider {
    text-align: center !important;
    font-size: 1.2rem !important;
    letter-spacing: 8px !important;
    color: #b8963e !important;
    opacity: 0.6 !important;
    margin-top: 0.5rem !important;
}

body.page .iching-page-image {
    margin: 1.5rem 0 2rem 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

body.page .iching-page-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

body.page .iching-page-content {
    font-size: 1.1rem !important;
    color: #3a2a1a !important;
    line-height: 1.8 !important;
}

body.page .iching-page-content p {
    margin-bottom: 1.5rem !important;
}

body.page .iching-page-content h2 {
    font-size: 1.8rem !important;
    font-weight: 500 !important;
    margin: 2rem 0 1rem 0 !important;
    color: #2c2419 !important;
    padding-bottom: 0.3rem !important;
    border-bottom: 1px solid rgba(140, 110, 70, 0.3) !important;
}

body.page .iching-page-content h3 {
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    margin: 1.5rem 0 0.8rem 0 !important;
    color: #3a2a1a !important;
}

body.page .iching-page-content ul,
body.page .iching-page-content ol {
    margin: 1rem 0 1.5rem 2rem !important;
}

body.page .iching-page-content li {
    margin-bottom: 0.5rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    body.page .iching-page-container {
        padding: 1rem !important;
    }
    body.page .iching-page-wrapper {
        padding: 1.8rem !important;
    }
    body.page .iching-page-title {
        font-size: 2rem !important;
    }
    body.page .iching-page-content {
        font-size: 1rem !important;
    }
}
/* Ensure page paper background shows */
body.page .iching-paper-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #e8e0ce !important;
    z-index: -2 !important;
}

body.page .iching-paper-bg::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(180, 160, 120, 0.08) 0px, rgba(180, 160, 120, 0.08) 2px, transparent 2px, transparent 8px),
        repeating-linear-gradient(135deg, rgba(140, 110, 70, 0.05) 0px, rgba(140, 110, 70, 0.05) 1px, transparent 1px, transparent 6px) !important;
    pointer-events: none !important;
}

/* Corner decorations for pages */
body.page .iching-corner-decoration-left {
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    font-size: 2rem !important;
    opacity: 0.2 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

body.page .iching-corner-decoration {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    font-size: 2rem !important;
    opacity: 0.2 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}
/* Force paper style on all pages using page.php */
body.page-template-default .iching-paper-bg,
body.page .iching-paper-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #e8e0ce !important;
    z-index: -2 !important;
}

body.page-template-default .iching-paper-bg::before,
body.page .iching-paper-bg::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: 
        repeating-linear-gradient(45deg, rgba(180, 160, 120, 0.08) 0px, rgba(180, 160, 120, 0.08) 2px, transparent 2px, transparent 8px),
        repeating-linear-gradient(135deg, rgba(140, 110, 70, 0.05) 0px, rgba(140, 110, 70, 0.05) 1px, transparent 1px, transparent 6px) !important;
    pointer-events: none !important;
}

body.page-template-default .iching-page-wrapper,
body.page .iching-page-wrapper {
    background: rgba(250, 245, 235, 0.92) !important;
    backdrop-filter: blur(2px) !important;
    border-radius: 28px !important;
    padding: 3.5rem 3.5rem !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 215, 0, 0.15) !important;
    position: relative !important;
    transition: box-shadow 0.3s ease !important;
}

body.page-template-default .iching-page-wrapper:hover,
body.page .iching-page-wrapper:hover {
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(218, 165, 32, 0.3) !important;
}

body.page-template-default .ast-container,
body.page .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}



/* ===== I CHING SECTION DIVIDER ===== */



.iching-section {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(140, 110, 70, 0.3);
    position: relative;
}

.iching-section::after {
    
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(250, 245, 235, 0.92);
    padding: 0 1rem;
    color: #b8963e;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* For dark backgrounds, adjust the background color */
body.dark .iching-section::after {
    background: rgba(30, 28, 26, 0.92);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .iching-section {
        margin-bottom: 1.8rem;
        padding-bottom: 1rem;
    }
    .iching-section::after {
        font-size: 1rem;
        bottom: -16px;
    }
}
/* ===== I CHING SECTION DIVIDER ===== */
.iching-section-wrapper {
    margin-bottom: 3rem;
}

/* Yin Yang divider above each section */
.iching-divider {
    text-align: center;
    font-size: 1.4rem;
    color: #b8963e !important;  /* Force gold color */
    opacity: 0.8;
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
    font-family: 'Georgia', serif;
}

/* Section container with bottom border */
.iching-section {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(140, 110, 70, 0.25);
    position: relative;
}

/* Yin Yang symbol at the bottom of the section */
.iching-section::after {
    
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(250, 245, 235, 0.92);
    padding: 0 1rem;
    color: #b8963e;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* For dark backgrounds */
body.dark .iching-section::after {
    background: rgba(30, 28, 26, 0.92);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .iching-section-wrapper {
        margin-bottom: 2rem;
    }
    .iching-divider {
        font-size: 1.1rem;
    }
    .iching-section {
        margin-bottom: 1.8rem;
        padding-bottom: 1rem;
    }
    .iching-section::after {
        font-size: 0.9rem;
        bottom: -15px;
    }
}
/* ===== HEXAGRAM GRID PAGE ===== */

.iching-hexagram-grid-container {
    max-width: 100% !important;
    padding: 3rem 2rem !important;
}

.iching-hexagram-grid-wrapper {
    max-width: 1600px !important;
    margin: 0 auto !important;
}

.iching-grid-subtitle {
    font-size: 1.1rem;
    color: #6a5a42;
    margin-top: 0.5rem;
    font-style: italic;
}

/* The 8x8 Grid */
.iching-hexagram-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

/* Each hexagram item */
.iching-hexagram-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(250, 245, 235, 0.6);
    border-radius: 16px;
    padding: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(140, 110, 70, 0.12);
    aspect-ratio: 1 / 1.1;
}

.iching-hexagram-item:hover {
    transform: translateY(-4px);
    background: rgba(250, 245, 235, 0.9);
    border-color: rgba(184, 150, 62, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Hexagram image */
.iching-hexagram-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 180, 154, 0.2);
}

.iching-hexagram-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    padding: 0.2rem;
}

/* Placeholder for posts without images */
.iching-hexagram-placeholder {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 180, 154, 0.2);
    border-radius: 8px;
    font-size: 2.5rem;
    color: #b8963e;
    opacity: 0.5;
    min-height: 80px;
}

/* Hexagram number */
.iching-hexagram-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5a4a32;
    margin-top: 0.5rem;
    text-align: center;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Responsive */
@media (max-width: 1100px) {
    .iching-hexagram-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 800px) {
    .iching-hexagram-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 500px) {
    .iching-hexagram-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
    .iching-hexagram-item {
        padding: 0.5rem;
    }
    .iching-hexagram-number {
        font-size: 0.7rem;
    }
}
/* Override page wrapper width specifically for hexagram grid */
body.page-template-page-hexagram-grid .iching-page-wrapper {
    max-width: 1300px !important;
    padding: 3rem 2.5rem !important;
}

/* Adjust container padding */
body.page-template-page-hexagram-grid .iching-hexagram-grid-container {
    padding: 2rem 1rem !important;
}

/* Make sure the grid uses the full width */
body.page-template-page-hexagram-grid .iching-hexagram-grid {
    width: 100% !important;
}
/* Hexagram image container - ensure images fit properly */
/* Hexagram image container - full visible without cropping */
.iching-hexagram-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 180, 154, 0.15);
    min-height: 80px;
    padding: 0.3rem;
}

.iching-hexagram-image img {
    width: 100%;
    height: auto;
    max-height: 130px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.iching-hexagram-image span {
    font-size: 2.5rem;
    color: #b8963e;
    opacity: 0.5;
}
/* UsersWP Forms - Match I Ching Style */
.uwp-login-form,
.uwp-registration-form,
.uwp-account-form {
    background: rgba(250, 245, 235, 0.95) !important;
    border-radius: 28px !important;
    padding: 2.5rem !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1) !important;
}

.uwp-form-title {
    font-family: 'Georgia', 'Times New Roman', serif !important;
    color: #2c2419 !important;
    font-size: 1.5rem !important;
    text-align: center !important;
    border-bottom: 2px solid rgba(140, 110, 70, 0.3) !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.uwp-form-field {
    margin-bottom: 1.2rem !important;
}

.uwp-form-field label {
    font-family: 'Georgia', 'Times New Roman', serif !important;
    color: #3a2a1a !important;
    font-weight: 500 !important;
}

.uwp-form-field input,
.uwp-form-field textarea {
    background: rgba(250, 245, 235, 0.8) !important;
    border: 1px solid rgba(140, 110, 70, 0.3) !important;
    border-radius: 12px !important;
    padding: 0.8rem 1rem !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
}

.uwp-form-field input:focus,
.uwp-form-field textarea:focus {
    border-color: #b8963e !important;
    box-shadow: 0 0 8px rgba(184, 150, 62, 0.3) !important;
    outline: none !important;
}

.uwp-btn {
    background: #b8963e !important;
    border: none !important;
    border-radius: 60px !important;
    padding: 0.8rem 2rem !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-weight: 600 !important;
    color: #f5e6c8 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.uwp-btn:hover {
    background: #2c2419 !important;
    box-shadow: 0 0 18px 5px rgba(218, 165, 32, 0.3) !important;
    color: #ecd9b0 !important;
}

/* Login/Register links in menu */
.uwp-login-link,
.uwp-register-link {
    background: rgba(184, 150, 62, 0.1) !important;
    padding: 0.3rem 1rem !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
}

.uwp-login-link:hover,
.uwp-register-link:hover {
    background: #b8963e !important;
    color: #f5e6c8 !important;
}
/* Social Login Buttons */
.uwp-social-login {
    text-align: center;
    margin: 1rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(140, 110, 70, 0.2);
    border-bottom: 1px solid rgba(140, 110, 70, 0.2);
}

.uwp-social-login .uwp-social-login-label {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #5a4a32;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.8rem;
}

.uwp-social-login .uwp-social-btn {
    border-radius: 60px !important;
    padding: 0.5rem 1.2rem !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    transition: all 0.3s ease !important;
}

.uwp-social-login .uwp-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Google button */
.uwp-social-btn-google {
    background: #db4437 !important;
    color: white !important;
}

/* Facebook button */
.uwp-social-btn-facebook {
    background: #1877f2 !important;
    color: white !important;
}



/* ===== CUSTOM FOOTER ===== */

.iching-footer {
    background: #2c2419;
    color: #e8e0ce;
    padding: 0;
    margin-top: 0;
    border-top: 2px solid rgba(184, 150, 62, 0.3);
    position: relative;
    overflow: hidden;
}

/* Subtle texture overlay */
.iching-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 8px),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 6px);
    pointer-events: none;
    z-index: 0;
}

.iching-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* Footer Main Grid */
.iching-footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

/* Brand Column */
.iching-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.iching-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.iching-footer-symbol {
    font-size: 2.2rem;
    color: #b8963e;
    opacity: 0.9;
}

.iching-footer-name {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #ecd9b0;
    letter-spacing: 1px;
}

.iching-footer-tagline {
    font-size: 1rem;
    font-style: italic;
    color: #b8963e;
    margin: 0.2rem 0;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.iching-footer-ethos {
    font-size: 0.85rem;
    color: #9a8a72;
    margin: 0.2rem 0;
    line-height: 1.5;
}

/* Footer Navigation Columns */
.iching-footer-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ecd9b0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Georgia', 'Times New Roman', serif;
    border-bottom: 1px solid rgba(184, 150, 62, 0.2);
    padding-bottom: 0.5rem;
}

.iching-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.iching-footer-menu li a {
    color: #b8a88a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
    display: inline-block;
}

.iching-footer-menu li a:hover {
    color: #ecd9b0;
    transform: translateX(4px);
}

/* Footer Bottom */
.iching-footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(184, 150, 62, 0.15);
    padding-top: 1.5rem;
}

.iching-footer-divider {
    font-size: 0.9rem;
    letter-spacing: 6px;
    color: #b8963e;
    opacity: 0.4;
    margin-bottom: 0.8rem;
}

.iching-footer-copyright {
    font-size: 0.8rem;
    color: #8a7a64;
    font-family: 'Georgia', 'Times New Roman', serif;
    margin: 0;
}

.iching-footer-wisdom {
    color: #6a5a42;
    font-style: italic;
}

/* Responsive */
@media (max-width: 968px) {
    .iching-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .iching-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .iching-footer-container {
        padding: 2rem 1.5rem 1rem;
    }
    .iching-footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .iching-footer-logo {
        justify-content: center;
    }
    .iching-footer-menu li a:hover {
        transform: none;
    }
    .iching-footer-heading {
        text-align: center;
    }
    .iching-footer-menu {
        align-items: center;
    }
}
/* Data Deletion Page - Numbered Lists */
.page-template-data-deletion .iching-page-content ol {
    margin: 0.8rem 0 1.5rem 2rem;
    counter-reset: item;
}

.page-template-data-deletion .iching-page-content ol li {
    margin-bottom: 0.5rem;
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
    counter-increment: item;
}

.page-template-data-deletion .iching-page-content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: -0.5rem;
    color: #b8963e;
    font-weight: 500;
}
/* Hide UsersWP form title on login page */
body.page-id-3037 .card-title.text-center.mb-4 {
    display: none !important;
}

/* Also hide the register page title - you'll need to find its page ID */
body.page-id-XXXX .card-title.text-center.mb-4 {
    display: none !important;
}
/* ===== USERSWP LOGIN/REGISTER PAGES ===== */

/* Container styling */
body.uwp_page .card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.uwp_page .card-body {
    padding: 1.5rem 0.5rem !important;
}

/* Form labels */
body.uwp_page .uwp_form label {
    font-family: 'Georgia', 'Times New Roman', serif !important;
    color: #3a2a1a !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
}

/* Form inputs */
body.uwp_page .uwp_form input[type="text"],
body.uwp_page .uwp_form input[type="email"],
body.uwp_page .uwp_form input[type="password"],
body.uwp_page .uwp_form input[type="number"],
body.uwp_page .uwp_form input[type="tel"],
body.uwp_page .uwp_form input[type="url"] {
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    background: rgba(250, 245, 235, 0.9) !important;
    border: 1px solid rgba(140, 110, 70, 0.3) !important;
    border-radius: 12px !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-size: 1rem !important;
    color: #2a1a0a !important;
    transition: all 0.3s ease !important;
}

body.uwp_page .uwp_form input[type="text"]:focus,
body.uwp_page .uwp_form input[type="email"]:focus,
body.uwp_page .uwp_form input[type="password"]:focus {
    border-color: #b8963e !important;
    box-shadow: 0 0 8px rgba(184, 150, 62, 0.3) !important;
    outline: none !important;
    background: rgba(255, 252, 240, 0.95) !important;
}

/* Submit button */
body.uwp_page .uwp_login_submit,
body.uwp_page .uwp_register_submit,
body.uwp_page input[type="submit"] {
    background: #b8963e !important;
    border: none !important;
    border-radius: 60px !important;
    padding: 0.8rem 2.5rem !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #f5e6c8 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
}

body.uwp_page .uwp_login_submit:hover,
body.uwp_page .uwp_register_submit:hover,
body.uwp_page input[type="submit"]:hover {
    background: #2c2419 !important;
    box-shadow: 0 0 18px 5px rgba(218, 165, 32, 0.3) !important;
    color: #ecd9b0 !important;
    transform: translateY(-2px) !important;
}

/* Remember Me checkbox */
body.uwp_page .uwp-remember-me label {
    font-family: 'Georgia', 'Times New Roman', serif !important;
    color: #5a4a32 !important;
    font-size: 0.85rem !important;
}

body.uwp_page .uwp-remember-me input[type="checkbox"] {
    accent-color: #b8963e !important;
    width: 16px !important;
    height: 16px !important;
    margin-right: 0.5rem !important;
}

/* Footer links - Create account, Forgot password */
body.uwp_page .uwp-footer-links {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(140, 110, 70, 0.2) !important;
}

body.uwp_page .uwp-footer-link a,
body.uwp_page .uwp-footer-link .uwp-register-link,
body.uwp_page .uwp-footer-link .uwp-forgot-password-link {
    font-family: 'Georgia', 'Times New Roman', serif !important;
    color: #b8963e !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 30px !important;
}

body.uwp_page .uwp-footer-link a:hover,
body.uwp_page .uwp-footer-link .uwp-register-link:hover,
body.uwp_page .uwp-footer-link .uwp-forgot-password-link:hover {
    color: #2c2419 !important;
    background: rgba(184, 150, 62, 0.15) !important;
    transform: translateX(4px) !important;
}

/* Social Login buttons area */
body.uwp_page .uwp_social_fields {
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(140, 110, 70, 0.15) !important;
}

body.uwp_page .uwp_social_fields .uwp-social-login-label {
    font-family: 'Georgia', 'Times New Roman', serif !important;
    color: #5a4a32 !important;
    font-size: 0.85rem !important;
    display: block !important;
    margin-bottom: 0.8rem !important;
}

/* Social login buttons */
body.uwp_page .uwp_social_fields .uwp-social-btn {
    border-radius: 60px !important;
    padding: 0.5rem 1.2rem !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    transition: all 0.3s ease !important;
    margin: 0.2rem !important;
    text-decoration: none !important;
    display: inline-block !important;
}

body.uwp_page .uwp_social_fields .uwp-social-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Google button */
body.uwp_page .uwp_social_fields .uwp-social-btn-google {
    background: #db4437 !important;
    color: white !important;
}

body.uwp_page .uwp_social_fields .uwp-social-btn-google:hover {
    background: #c23321 !important;
}

/* Facebook button - in case you add it later */
body.uwp_page .uwp_social_fields .uwp-social-btn-facebook {
    background: #1877f2 !important;
    color: white !important;
}

body.uwp_page .uwp_social_fields .uwp-social-btn-facebook:hover {
    background: #0d65d9 !important;
}

/* Error/Success messages */
body.uwp_page .uwp-notice {
    border-radius: 12px !important;
    padding: 0.8rem 1rem !important;
    margin-bottom: 1rem !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
}

body.uwp_page .uwp-notice.uwp-success {
    background: rgba(76, 175, 80, 0.1) !important;
    border-left: 3px solid #4caf50 !important;
    color: #2e7d32 !important;
}

body.uwp_page .uwp-notice.uwp-error {
    background: rgba(244, 67, 54, 0.1) !important;
    border-left: 3px solid #f44336 !important;
    color: #c62828 !important;
}

/* Responsive */
@media (max-width: 768px) {
    body.uwp_page .uwp-footer-links {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }
    body.uwp_page .uwp-footer-link {
        width: 100% !important;
        text-align: center !important;
    }
}
/* ===== USERSWP CUSTOM LOGIN ===== */

.uwp-login-custom {
    max-width: 400px;
    margin: 0 auto;
}

.uwp-login-container {
    padding: 0.5rem 0;
}

/* Header */
.uwp-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.uwp-login-title {
    font-size: 2rem;
    font-weight: 500;
    color: #2c2419;
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-bottom: 0.2rem;
}

.uwp-login-subtitle {
    font-size: 1rem;
    color: #6a5a42;
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-top: 0.2rem;
}

.uwp-login-divider {
    font-size: 0.8rem;
    letter-spacing: 6px;
    color: #b8963e;
    opacity: 0.5;
    margin-top: 0.8rem;
}

/* Form fields */
.uwp-login-form .form-group {
    margin-bottom: 1.2rem;
}

.uwp-login-form label {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #3a2a1a;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

.uwp-login-form input[type="text"],
.uwp-login-form input[type="email"],
.uwp-login-form input[type="password"] {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(250, 245, 235, 0.9);
    border: 1px solid rgba(140, 110, 70, 0.3);
    border-radius: 12px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    color: #2a1a0a;
    transition: all 0.3s ease;
}

.uwp-login-form input[type="text"]:focus,
.uwp-login-form input[type="email"]:focus,
.uwp-login-form input[type="password"]:focus {
    border-color: #b8963e;
    box-shadow: 0 0 8px rgba(184, 150, 62, 0.3);
    outline: none;
    background: rgba(255, 252, 240, 0.95);
}

/* Forgot Password */
.uwp-login-row {
    display: flex;
    justify-content: flex-end;
    margin: -0.5rem 0 0.5rem 0;
}

.uwp-forgot-link {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #b8963e;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.uwp-forgot-link:hover {
    color: #2c2419;
}

/* Remember Me */
.uwp-remember-me {
    margin: 0.5rem 0 1.2rem 0;
}

.uwp-remember-me label {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #5a4a32;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.uwp-remember-me input[type="checkbox"] {
    accent-color: #b8963e;
    width: 16px;
    height: 16px;
    margin: 0;
}

/* Sign In Button */
.uwp-login-btn {
    width: 100% !important;
    background: #b8963e !important;
    border: none !important;
    border-radius: 60px !important;
    padding: 0.9rem !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #f5e6c8 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin-top: 0.5rem;
}

.uwp-login-btn:hover {
    background: #2c2419 !important;
    box-shadow: 0 0 18px 5px rgba(218, 165, 32, 0.3) !important;
    color: #ecd9b0 !important;
    transform: translateY(-2px) !important;
}

/* OR Divider */
.uwp-or-divider {
    text-align: center;
    margin: 1.5rem 0 1rem 0;
    position: relative;
}

.uwp-or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(140, 110, 70, 0.2);
}

.uwp-or-text {
    display: inline-block;
    background: #f5f0e8;
    padding: 0 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #8a7a64;
    font-size: 0.8rem;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

/* Social Login */
.uwp-social-login .uwp-social-login-label {
    display: none !important;
}

.uwp-social-login .uwp-social-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0.7rem !important;
    border-radius: 60px !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    margin-bottom: 0.5rem !important;
}

.uwp-social-login .uwp-social-btn:hover {
    transform: translateY(-2px) !important;
}

/* Google Button */
.uwp-social-login .uwp-social-btn-google {
    background: #fff !important;
    color: #3a2a1a !important;
    border: 1px solid rgba(140, 110, 70, 0.3) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

.uwp-social-login .uwp-social-btn-google:hover {
    background: #f5f5f5 !important;
    border-color: #b8963e !important;
}

/* Facebook Button (if you add later) */
.uwp-social-login .uwp-social-btn-facebook {
    background: #1877f2 !important;
    color: white !important;
}

.uwp-social-login .uwp-social-btn-facebook:hover {
    background: #0d65d9 !important;
}

/* Footer - Create Account */
.uwp-login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(140, 110, 70, 0.2);
}

.uwp-register-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #6a5a42;
    font-size: 0.9rem;
    margin: 0;
}

.uwp-register-link {
    color: #b8963e !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.uwp-register-link:hover {
    color: #2c2419 !important;
}

/* Error/Success messages */
.uwp-notice {
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 0.9rem;
}

.uwp-notice.uwp-success {
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4caf50;
    color: #2e7d32;
}

.uwp-notice.uwp-error {
    background: rgba(244, 67, 54, 0.1);
    border-left: 3px solid #f44336;
    color: #c62828;
}

/* Responsive */
@media (max-width: 480px) {
    .uwp-login-custom {
        padding: 0 0.5rem;
    }
    .uwp-login-title {
        font-size: 1.6rem;
    }
    .uwp-login-subtitle {
        font-size: 0.9rem;
    }
}
/* ===== CUSTOM LOGIN PAGE ===== */

.custom-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.custom-login-title {
    font-size: 2rem;
    font-weight: 500;
    color: #2c2419;
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-bottom: 0.2rem;
}

.custom-login-subtitle {
    font-size: 1rem;
    color: #6a5a42;
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-top: 0.2rem;
}

.custom-login-divider {
    font-size: 0.8rem;
    letter-spacing: 6px;
    color: #b8963e;
    opacity: 0.5;
    margin-top: 0.8rem;
}

/* Form Groups */
.custom-form-group {
    margin-bottom: 1.2rem;
}

.custom-form-group label {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #3a2a1a;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

.custom-password-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-forgot-link {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #b8963e;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.custom-forgot-link:hover {
    color: #2c2419;
}

/* Input Fields */
.custom-login-form input[type="text"],
.custom-login-form input[type="password"] {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(250, 245, 235, 0.9);
    border: 1px solid rgba(140, 110, 70, 0.3);
    border-radius: 12px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    color: #2a1a0a;
    transition: all 0.3s ease;
}

.custom-login-form input[type="text"]:focus,
.custom-login-form input[type="password"]:focus {
    border-color: #b8963e;
    box-shadow: 0 0 8px rgba(184, 150, 62, 0.3);
    outline: none;
    background: rgba(255, 252, 240, 0.95);
}

/* Remember Me */
.custom-remember-me {
    margin: 0.5rem 0 1.2rem 0;
}

.custom-remember-me label {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #5a4a32;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.custom-remember-me input[type="checkbox"] {
    accent-color: #b8963e;
    width: 16px;
    height: 16px;
    margin: 0;
}

/* Login Button */
.custom-login-btn {
    width: 100%;
    background: #b8963e;
    border: none;
    border-radius: 60px;
    padding: 0.9rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    font-size: 1rem;
    color: #f5e6c8;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.custom-login-btn:hover {
    background: #2c2419;
    box-shadow: 0 0 18px 5px rgba(218, 165, 32, 0.3);
    color: #ecd9b0;
    transform: translateY(-2px);
}

/* OR Divider */
.custom-or-divider {
    text-align: center;
    margin: 1.5rem 0 1rem 0;
    position: relative;
}

.custom-or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(140, 110, 70, 0.2);
}

.custom-or-divider span {
    display: inline-block;
    background: #f5f0e8;
    padding: 0 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #8a7a64;
    font-size: 0.8rem;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

/* Social Login */
.custom-social-login {
    margin-top: 0.5rem;
}

.custom-social-login .uwp-social-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0.7rem !important;
    border-radius: 60px !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.custom-social-login .uwp-social-btn:hover {
    transform: translateY(-2px);
}

/* Google Button */
.custom-google-btn,
.custom-social-login .uwp-social-btn-google {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0.7rem !important;
    border-radius: 60px !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: #fff !important;
    color: #3a2a1a !important;
    border: 1px solid rgba(140, 110, 70, 0.3) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
}

.custom-google-btn:hover,
.custom-social-login .uwp-social-btn-google:hover {
    background: #f5f5f5 !important;
    border-color: #b8963e !important;
    transform: translateY(-2px) !important;
}

/* Error Message */
.custom-login-error {
    background: rgba(244, 67, 54, 0.1);
    border-left: 3px solid #f44336;
    color: #c62828;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 0.9rem;
}

/* Footer */
.custom-login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(140, 110, 70, 0.2);
}

.custom-login-footer p {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #6a5a42;
    font-size: 0.9rem;
    margin: 0;
}

.custom-register-link {
    color: #b8963e;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-register-link:hover {
    color: #2c2419;
}

/* Responsive */
@media (max-width: 480px) {
    .iching-page-wrapper {
        padding: 1.5rem !important;
    }
    .custom-login-title {
        font-size: 1.6rem;
    }
    .custom-login-subtitle {
        font-size: 0.9rem;
    }
}