/* --- Reusable Tutorial Article Styling --- */

/* Base & Typography */
.g-blog-article-content-part {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #00091f;
    line-height: 1.6;
}

.g-tutorial-section {
    margin-bottom: 40px;
}

.g-tutorial-title {
    color: #00091f;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 3px solid #fd6518;
}

.g-tutorial-subtitle {
    color: #00091f;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.g-tutorial-text {
    font-size: 16px;
    margin-bottom: 15px;
    color: #00091f;
}

/* Inline Code Elements */
.g-tutorial-text code, 
.g-tutorial-list code {
    display: inline-block;
    background-color: #ffeadf;
    color: #fd6518;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95em;
    font-weight: bold;
}

/* Highlight Box (e.g., Prerequisites, Warnings) */
.g-tutorial-highlight-box {
    background-color: #ffeadf;
    padding: 25px;
    border-radius: 8px;
    
}

.g-tutorial-highlight-box .g-tutorial-title {
    border-bottom: none;
    margin-bottom: 15px;
    padding-bottom: 0;
}

/* Lists */
.g-tutorial-list {
    margin-bottom: 20px;
    padding-left: 20px;
}

.g-tutorial-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.g-tutorial-check-list {
    list-style: none;
    padding-left: 0;
}

.g-tutorial-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.g-tutorial-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fd6518;
    font-weight: bold;
    font-size: 18px;
}

/* Steps Layout */
.g-tutorial-step {
    margin-bottom: 35px;
}

.g-tutorial-step-title {
    color: #fd6518;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Code Blocks */
.g-tutorial-code-block {
    background-color: #00091f;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.g-tutorial-code-header {
    background-color: #1a2235;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.g-tutorial-code-lang {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.g-tutorial-copy-btn {
    background-color: #fd6518;
    color: #ffffff;
    border: none;
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.g-tutorial-copy-btn:hover {
    background-color: #e5550d;
}

.g-tutorial-copy-btn.copied {
    background-color: #28a745; /* Success Green */
}

.g-tutorial-code-block pre {
    margin: 0;
    padding: 15px;
    overflow-x: auto;
}

.g-tutorial-code-block pre code {
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
    background: transparent;
    padding: 0;
}

/* Call to Action Button */
.g-tutorial-cta-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.g-tutorial-cta-btn {
    display: inline-block;
    background-color: #fd6518;
    color: #ffffff;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(253, 101, 24, 0.3);
}

.g-tutorial-cta-btn:hover {
    background-color: #00091f;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 9, 31, 0.4);
    transform: translateY(-2px);
}

.g-tutorial-cta-btn i {
    margin-left: 8px;
}