/* =========================================================
   GK FAST Premium Topic Template - Global Styles
   ========================================================= */

/* Main Container with Anti-Copy & Ultra HD Text */
.gk-topic-container {
    max-width: 850px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1E293B; 
    line-height: 1.6; 
    padding: 15px; 
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
    
    /* Ultra HD Text Rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 16.5px; 
    font-weight: 500; 
}

/* Anti-Copy Protection (Text Selection Disabled) */
.gk-no-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard */
}

/* Breadcrumbs Navigation */
.gk-breadcrumbs {
    font-size: 13.5px; 
    color: #64748B; 
    margin-bottom: 12px;
    font-weight: 600;
}
.gk-breadcrumbs a {
    color: #4338CA; 
    text-decoration: none;
}
.gk-breadcrumbs a:hover { text-decoration: underline; }

/* Main Title */
.gk-topic-title { 
    color: #0F172A; 
    font-size: 24px; 
    font-weight: 800; 
    margin-bottom: 15px; 
    border-bottom: 2px solid #F1F5F9; 
    padding-bottom: 10px; 
}

/* Mark Highlight Tag */
mark {
    background-color: #FEF08A; /* Soft Yellow */
    color: #0F172A;
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 700;
}

/* Quick Intro Box */
.gk-intro-box { 
    background: #F8FAFC; 
    border-left: 4px solid #4338CA; 
    padding: 12px 16px; 
    border-radius: 0 6px 6px 0; 
    margin-bottom: 20px; 
    font-size: 16px; 
}

/* Section Headings */
.gk-section-title { 
    color: #4338CA; 
    font-size: 20px; 
    font-weight: 800; 
    margin: 25px 0 12px 0; 
    background-color: #EEF2FF;
    padding: 8px 14px;
    border-radius: 6px;
    border-left: 4px solid #4338CA;
}

/* Sub Headings */
.gk-sub-heading {
    color: #0F172A;
    font-size: 18px;
    font-weight: 800;
    margin: 18px 0 8px 0;
}

/* One-Liners (Bullet Points) */
.gk-one-liners { list-style: none; padding-left: 0; margin: 0; }
.gk-one-liners li { 
    position: relative; 
    padding-left: 28px; 
    margin-bottom: 10px; 
    font-size: 16.5px; 
    padding-bottom: 10px;
    border-bottom: 1px dashed #E2E8F0;
}
.gk-one-liners li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.gk-one-liners li::before { content: '🎯'; position: absolute; left: 0; top: 2px; font-size: 16px; }

/* Mobile Scroll Hint (Hidden on Desktop) */
.gk-scroll-hint {
    display: none;
    text-align: right;
    font-size: 13px;
    color: #E67E22;
    margin-bottom: 5px;
    font-weight: 700;
}

/* Premium Table Design */
.gk-table-wrapper { 
    overflow-x: auto; 
    margin-bottom: 20px; 
    border-radius: 6px;
    border: 1px solid #E2E8F0;
}
.gk-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.gk-table th { 
    background: #1E293B; color: #ffffff; 
    padding: 10px 12px; text-align: left; 
    font-weight: 700; font-size: 16px;
}
.gk-table td { 
    padding: 10px 12px; 
    border-bottom: 1px solid #E2E8F0; 
    font-size: 15.5px; 
}
.gk-table tr:last-child td { border-bottom: none; }
.gk-table tr:nth-child(even) { background-color: #F8FAFC; }
.gk-table tr:hover { background-color: #F1F5F9; }

/* Terminology / Highlight Box */
.gk-highlight-box { 
    background: #FFFBEB; border: 1px solid #FDE68A; 
    padding: 15px; border-radius: 6px; margin: 20px 0; 
}
.gk-highlight-title {
    color: #B45309; font-size: 17px; font-weight: 800; 
    margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.gk-term-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px; list-style: none; padding: 0; margin: 0;
}
.gk-term-grid li {
    background: #ffffff; padding: 12px; border-radius: 6px;
    border: 1px solid #FDE68A; font-size: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.gk-term-grid strong { color: #0F172A; display: block; font-size: 16px; margin-bottom: 4px; }

/* 3 Action Buttons */
.gk-button-group {
    display: flex; flex-direction: row; justify-content: space-between;
    gap: 8px; margin-top: 30px; width: 100%;
}
.gk-btn {
    flex: 1; text-align: center; padding: 10px 4px; 
    border-radius: 6px; font-size: 14px; font-weight: 700;
    text-decoration: none; transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; 
}
.gk-btn-secondary { background: #F1F5F9; color: #475569 !important; border: 1px solid #CBD5E1; }
.gk-btn-secondary:hover { background: #E2E8F0; color: #1E293B !important; }
.gk-btn-primary { background: #FF7675; color: #ffffff !important; border: 1px solid #FF7675; }
.gk-btn-primary:hover { background: #ff6060; }

/* =========================================================
   NEW UTILITY CLASSES (Replaced Inline Styles)
   ========================================================= */
.gk-intro-list { margin-top: 5px; margin-bottom: 5px; padding-left: 20px; }
.gk-table-half-width { width: 50%; }
.gk-margin-zero { margin-top: 0; }
.gk-table-wrapper-spaced { margin-top: 15px; }
.gk-trick-text { font-weight: 700; font-size: 16px; color: #c0392b; margin-bottom: 5px;}
.gk-dashed-line { border: 0; border-top: 1px dashed #FDE68A; margin: 10px 0; }
.gk-conclusion-box { background: #FFFBEB; border-left: 4px solid #F59E0B; padding: 10px; border-radius: 4px; margin-top: 10px; }

/* Mobile adjustments */
@media (max-width: 480px) {
    .gk-topic-container { padding: 12px; font-size: 15.5px; }
    .gk-topic-title { font-size: 22px; }
    .gk-section-title { font-size: 19px; }
    .gk-table th, .gk-table td { padding: 8px 10px; font-size: 14.5px; } 
    .gk-scroll-hint { display: block; } 
    .gk-term-grid { grid-template-columns: 1fr; } 
    .gk-btn { font-size: 13px; padding: 10px 2px; } 
}