/* ============================================
   BaccaratProTips.com - Design System CSS
   Prefix: --bpt- (variables), .bpt- (classes)
   Version: 1.0.0
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bpt-navy: #0F1B2D;
    --bpt-gold: #C9A84C;
    --bpt-gold-light: #E8D5A0;
    --bpt-emerald: #1A6B4A;
    --bpt-emerald-light: #E8F5EE;
    --bpt-crimson: #9B2335;
    --bpt-crimson-light: #FBEAED;
    --bpt-blue: #2A5C8A;
    --bpt-blue-light: #E9F0F7;
    --bpt-bg-page: #FAF9F6;
    --bpt-bg-card: #FFFFFF;
    --bpt-bg-surface: #F0EDE8;
    --bpt-border: #DDD9D1;
    --bpt-text: #1A1A2E;
    --bpt-text-secondary: #4A4A5A;
    --bpt-text-muted: #7A7A8A;
    --bpt-radius: 8px;
    --bpt-radius-sm: 4px;
    --bpt-shadow: 0 2px 8px rgba(15, 27, 45, 0.08);
    --bpt-shadow-hover: 0 4px 16px rgba(15, 27, 45, 0.12);
    --bpt-transition: 0.2s ease;
    --bpt-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* --- Meta Info --- */
.bpt-meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--bpt-text-secondary);
    border-bottom: 1px solid var(--bpt-border);
}

.bpt-meta-info .bpt-meta-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bpt-meta-info .bpt-meta-date::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: var(--bpt-gold);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}

.bpt-meta-info .bpt-meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bpt-meta-info .bpt-meta-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.bpt-meta-info .bpt-meta-author a {
    color: var(--bpt-navy);
    text-decoration: none;
    font-weight: 600;
}

.bpt-meta-info .bpt-meta-author a:hover {
    color: var(--bpt-gold);
}

.bpt-meta-info .bpt-meta-sep {
    color: var(--bpt-border);
}

/* --- Author Box --- */
.bpt-author-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    margin: 40px 0 20px;
    background: var(--bpt-bg-surface);
    border: 1px solid var(--bpt-border);
    border-radius: var(--bpt-radius);
    border-left: 4px solid var(--bpt-gold);
}

.bpt-author-box .bpt-author-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.bpt-author-box .bpt-author-details {
    flex: 1;
}

.bpt-author-box .bpt-author-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--bpt-text-muted);
    margin-bottom: 4px;
}

.bpt-author-box .bpt-author-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bpt-author-box .bpt-author-name a {
    color: var(--bpt-navy);
    text-decoration: none;
}

.bpt-author-box .bpt-author-name a:hover {
    color: var(--bpt-gold);
}

.bpt-author-box .bpt-author-bio {
    font-size: 14px;
    color: var(--bpt-text-secondary);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .bpt-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* --- Table of Contents --- */
.bpt-toc-wrapper {
    margin: 20px 0 30px;
}

.bpt-toc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bpt-navy);
    color: #FFFFFF;
    border: none;
    border-radius: var(--bpt-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--bpt-transition);
}

.bpt-toc-toggle:hover {
    background: #162840;
}

.bpt-toc-toggle::after {
    content: "+";
    font-size: 16px;
    font-weight: 700;
    transition: transform var(--bpt-transition);
}

.bpt-toc-toggle.bpt-active::after {
    content: "-";
}

.bpt-toc-list {
    display: none;
    margin: 12px 0 0;
    padding: 16px 20px;
    background: var(--bpt-bg-surface);
    border: 1px solid var(--bpt-border);
    border-radius: var(--bpt-radius);
    list-style: none;
}

.bpt-toc-list.bpt-visible {
    display: block;
}

.bpt-toc-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--bpt-border);
}

.bpt-toc-list li:last-child {
    border-bottom: none;
}

.bpt-toc-list li a {
    color: var(--bpt-blue);
    text-decoration: none;
    font-size: 15px;
    transition: color var(--bpt-transition);
}

.bpt-toc-list li a:hover {
    color: var(--bpt-gold);
}

/* --- Key Takeaways --- */
.bpt-key-takeaways {
    padding: 24px;
    margin: 24px 0;
    background: linear-gradient(135deg, var(--bpt-navy) 0%, #1A2D47 100%);
    border-radius: var(--bpt-radius);
    color: #FFFFFF;
}

.bpt-key-takeaways .bpt-kt-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bpt-gold);
}

.bpt-key-takeaways .bpt-kt-title::before {
    content: "\2728";
    font-size: 18px;
}

.bpt-key-takeaways ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bpt-key-takeaways ul li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bpt-key-takeaways ul li:last-child {
    border-bottom: none;
}

.bpt-key-takeaways ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--bpt-gold);
    border-radius: 50%;
}

/* --- Scrollable Table --- */
.bpt-table-scroll {
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--bpt-border);
    border-radius: var(--bpt-radius);
    -webkit-overflow-scrolling: touch;
}

.bpt-table-scroll table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
    font-size: 15px;
}

.bpt-table-scroll thead {
    background: var(--bpt-navy);
    color: #FFFFFF;
}

.bpt-table-scroll thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.bpt-table-scroll tbody tr {
    border-bottom: 1px solid var(--bpt-border);
    transition: background var(--bpt-transition);
}

.bpt-table-scroll tbody tr:nth-child(even) {
    background: var(--bpt-bg-surface);
}

.bpt-table-scroll tbody tr:hover {
    background: var(--bpt-gold-light);
}

.bpt-table-scroll tbody td {
    padding: 12px 16px;
    color: var(--bpt-text);
}

/* --- Pros & Cons --- */
.bpt-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

@media (max-width: 600px) {
    .bpt-pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

.bpt-pros-box,
.bpt-cons-box {
    padding: 20px;
    border-radius: var(--bpt-radius);
    border: 1px solid var(--bpt-border);
	margin-bottom: 20px;
}

.bpt-pros-box {
    background: var(--bpt-emerald-light);
    border-left: 4px solid var(--bpt-emerald);
}

.bpt-cons-box {
    background: var(--bpt-crimson-light);
    border-left: 4px solid var(--bpt-crimson);
}

.bpt-pros-box .bpt-pc-title,
.bpt-cons-box .bpt-pc-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bpt-pros-box .bpt-pc-title {
    color: var(--bpt-emerald);
}

.bpt-pros-box .bpt-pc-title::before {
    content: "\2713";
    font-weight: 700;
}

.bpt-cons-box .bpt-pc-title {
    color: var(--bpt-crimson);
}

.bpt-cons-box .bpt-pc-title::before {
    content: "\2717";
    font-weight: 700;
}

.bpt-pros-box ul,
.bpt-cons-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bpt-pros-box ul li,
.bpt-cons-box ul li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
    color: var(--bpt-text);
}

.bpt-pros-box ul li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--bpt-emerald);
    font-weight: 700;
}

.bpt-cons-box ul li::before {
    content: "-";
    position: absolute;
    left: 2px;
    color: var(--bpt-crimson);
    font-weight: 700;
    font-size: 16px;
}

@media (max-width: 768px) {
    .bpt-pros-box,
    .bpt-cons-box {
        margin-bottom: 16px;
    }
}

/* Standalone pros/cons that stack together */
.bpt-pros-box + .bpt-cons-box,
.bpt-cons-box + .bpt-pros-box {
    margin-top: 0;
}

/* --- FAQ Section --- */
.bpt-faq-item {
    margin: 12px 0;
    border: 1px solid var(--bpt-border);
    border-radius: var(--bpt-radius);
    overflow: hidden;
    background: var(--bpt-bg-card);
}

.bpt-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bpt-bg-surface);
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--bpt-navy);
    border: none;
    width: 100%;
    text-align: left;
    transition: background var(--bpt-transition);
}

.bpt-faq-question:hover {
    background: var(--bpt-bg-surface);
}

.bpt-faq-question::after {
    content: "+";
    font-size: 20px;
    font-weight: 700;
    color: var(--bpt-gold);
    transition: transform var(--bpt-transition);
    flex-shrink: 0;
    margin-left: 12px;
}

.bpt-faq-item.bpt-open .bpt-faq-question::after {
    content: "-";
}

.bpt-faq-answer {
    display: none;
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--bpt-text-secondary);
    border-top: 1px solid var(--bpt-border);
}

.bpt-faq-item.bpt-open .bpt-faq-answer {
    display: block;
}

/* --- References --- */
.bpt-references-box {
    margin: 40px 0 20px;
    padding: 20px 24px;
    background: var(--bpt-bg-surface);
    border: 1px solid var(--bpt-border);
    border-radius: var(--bpt-radius);
}

.bpt-references-box .bpt-ref-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bpt-text-muted);
    margin-bottom: 12px;
}

.bpt-references-box ol {
    margin: 0;
    padding-left: 20px;
}

.bpt-references-box ol li {
    padding: 4px 0;
    font-size: 13px;
    color: var(--bpt-text-secondary);
    line-height: 1.5;
}

.bpt-references-box ol li a {
    color: var(--bpt-blue);
    text-decoration: none;
}

.bpt-references-box ol li a:hover {
    color: var(--bpt-gold);
    text-decoration: underline;
}

/* --- Highlight Boxes --- */
.bpt-highlight-box {
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: var(--bpt-radius);
    border-left: 4px solid;
    font-size: 15px;
    line-height: 1.7;
}

.bpt-highlight-box .bpt-hb-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tip - Emerald */
.bpt-highlight-tip {
    background: var(--bpt-emerald-light);
    border-color: var(--bpt-emerald);
}

.bpt-highlight-tip .bpt-hb-title {
    color: var(--bpt-emerald);
}

.bpt-highlight-tip .bpt-hb-title::before {
    content: "\1F4A1";
}

/* Important - Gold */
.bpt-highlight-important {
    background: #FDF6E3;
    border-color: var(--bpt-gold);
}

.bpt-highlight-important .bpt-hb-title {
    color: #8A7530;
}

.bpt-highlight-important .bpt-hb-title::before {
    content: "\26A0\FE0F";
}

/* Example - Blue */
.bpt-highlight-example {
    background: var(--bpt-blue-light);
    border-color: var(--bpt-blue);
}

.bpt-highlight-example .bpt-hb-title {
    color: var(--bpt-blue);
}

.bpt-highlight-example .bpt-hb-title::before {
    content: "\1F4CB";
}

/* Note - Gray */
.bpt-highlight-note {
    background: var(--bpt-bg-surface);
    border-color: var(--bpt-text-muted);
}

.bpt-highlight-note .bpt-hb-title {
    color: var(--bpt-text-secondary);
}

.bpt-highlight-note .bpt-hb-title::before {
    content: "\1F4DD";
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .bpt-key-takeaways {
        padding: 18px;
    }

    .bpt-author-box {
        padding: 18px;
    }

    .bpt-highlight-box {
        padding: 16px 18px;
    }

    .bpt-faq-question {
        padding: 14px 16px;
        font-size: 15px;
    }

    .bpt-faq-answer {
        padding: 14px 16px;
    }
}

.bpt-tool-card,
.bpt-tool-card *,
.bpt-tool-card:hover,
.bpt-tool-card:hover * {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.bpt-tool-card p {
    opacity: 0.8 !important;
}

.bpt-tool-card:hover p {
    opacity: 1 !important;
}
.bpt-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
}

#page,
#content,
#primary,
#main,
.inside-article,
.entry-content {
    overflow-x: clip !important;
    overflow-x: hidden !important; /* fallback for older browsers */
}
/* Remove GP container constraint for homepage hero */
.bpt-hero {
    width: auto;
    position: relative;
    left: 0;
    transform: none;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: calc(50vw - 50%) !important;
    padding-right: calc(50vw - 50%) !important;
}

@media (max-width: 768px) {
    .bpt-cl-rating {
        display: none;
    }
}