/*
 Theme Name: AFT Blog
 Theme URI: https://aftcalculatorr.com/
 Author: Grok
 Author URI: https://aftcalculatorr.com
 Description: A simple WordPress theme based on the AFT Calculator.
 Version: 1.7
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: aft-blog
*/

/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
        background-color: #f4f7f6b0;
        color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

h1, h2, h3, h4 {
    color: #2c3e50;
    margin-top: 0;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 10px;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
        color: #eab308;
        text-decoration: none;
    }

a:hover {
    text-decoration: underline;
}

    /* Navbar */
    .navbar {
        background: #0F1729;
        color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar .logo {
        display: flex;
        align-items: center;
    }

    .navbar .logo img {
        height: 30px;
        margin-right: 10px;
    }

    .navbar .logo span {
        font-size: 1.5em;
        font-weight: bold;
        background: linear-gradient(90deg, #eab308, #fed7d7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* For Firefox */
  color: transparent;    /* Fallback */
    }

    .navbar nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
    }

    .navbar nav ul li {
        margin-left: 20px;
    }

    .navbar nav ul li a {
        font-weight: 500;
        color: #efc867ff;
    }

    .navbar nav ul li a:hover {
        color: #a0dcfc;
        text-decoration: none;
    }



    /* Score Calculator Section */
    .score-calculator {
        background-color: #fff;
        padding: 30px;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .updated-standards {
      width:250px;
      margin: auto;
        background-color: #FAE8C0;
        color: #020817;
        padding: 3px 5px 3px 15px;
        border-radius: 5px;
		margin-top:10px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }

    .updated-standards i {
        margin-right: 10px;
        color: black;
    }

    .updated-standards p {
        margin: 0;
        font-size: 0.9em;
    }

    .updated-standards strong {
        font-weight: 600;
    }

    .calculator-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 30px;
    }

    .aft-events {
        padding: 20px;
        border: 1px solid #eee;
        border-radius: 8px;
        background-color: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .aft-events h3 {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        color: #0f4c75;
    }

    .aft-events h3 i {
        margin-right: 10px;
        color: #007bff;
    }

    .event-row {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        border-bottom: 1px dashed #eee;
        padding-bottom: 15px;
    }

    .event-row:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .event-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        font-weight: bold;
        font-size: 0.9em;
        margin-right: 15px;
    }

    .bg-red { background-color: #e74c3c; }
    .bg-orange { background-color: #e67e22; }
    .bg-yellow { background-color: #f1c40f; }
    .bg-green { background-color: #2ecc71; }
    .bg-blue { background-color: #3498db; }
    .bg-purple { background-color: #9b59b6; }

    .event-details {
        flex-grow: 1;
    }

    .event-details h4 {
        margin: 0 0 5px 0;
        font-size: 1em;
        color: #333;
    }

    .event-details input {
        width: 80%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 0.9em;
        text-align: center;
        margin-right: 5px;
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1)
    }

    .event-details span {
        font-size: 0.9em;
        color: #777;
    }

    .event-score {
        text-align: right;
    }

    .event-score span {
        font-size: 1.2em;
        font-weight: bold;
        color: #0f4c75;
        display: block;
    }

    .event-score small {
        font-size: 0.8em;
        color: #777;
    }

    .calculate-btn {
        width: 100%;
        margin-top: 20px;
        padding: 12px;
        font-size: 1.1em;
    }

    /* AFT Results */
    .aft-results {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .results-card {
        background:white;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        line-height: 1.2;
    }

    .results-header {
        display: flex;
        align-items: center;
        color: #4a5568;
    }

    .results-header i {
        margin-right: 8px;
        color: #28a745;
        font-size: 1.2em;
    }

    .results-header h3 {
        margin: 0;
        font-size: 1.3em;
        color: #4a5568;
    }

    .total-score-display {
        text-align: center;
    }

    .score-number {
        font-family: fantasy;
        font-size: 4em;
        font-weight: 400;
        color: #28a745;
        line-height: 1;
    }

    .score-subtitle {
        color: #6c757d;
        font-size: 1.1em;
        margin: 5px 0;
    }

    .score-progress {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px 0;
        font-size: 0.9em;
        color: #6c757d;
    }

    .breakdown-card {
        background: white;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .breakdown-header {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        color: #4a5568;
    }

    .breakdown-header i {
        margin-right: 8px;
        color: #007bff;
        font-size: 1.2em;
    }

    .breakdown-header h3 {
        margin: 0;
        font-size: 1.3em;
        color: #4a5568;
    }

    .breakdown-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 5px;
        padding: 5px 5px;
        background-color: #fff;
        border-radius: 8px;
        border: 1px solid #e9ecef;
    }

    .breakdown-item:last-child {
        margin-bottom: 0;
    }

    .breakdown-left {
        display: flex;
        align-items: center;
    }

    .breakdown-icon {
        width: 35px;
        height: 35px;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        font-weight: bold;
        font-size: 0.85em;
        margin-right: 15px;
    }

    .breakdown-name {
        font-weight: 500;
        color: #333;
    }

    .breakdown-score {
        font-weight: bold;
        color: #495057;
        font-size: 1.1em;
    }

    /* Form Styling */
    .form-row {
        display: flex;
        gap: 20px;
    }

    .form-group.half-width {
        flex: 1;
    }

    .form-group select {
        width: 100%;
        padding: 8px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

    /* AFT Info Section */
    .aft-info-section {
        background-color: #fff;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 30px;
        margin-bottom: 30px;
    }

    .aft-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: center;
    }

    .score-card {
        background: white;
        border-radius: 10px;
        padding: 20px 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        width: 500px;
        max-width: 90vw;
        border: 1px solid #ebe8e8ca;
    }

    .score-card .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .total-score-label {
        font-size: 24px;
        color: #666;
        font-weight: 500;
        font-family: fantasy;
    }

    .total-score-value {
        font-family:fantasy;
        font-size: 48px;
        font-weight: 500;
        color: #28a745;
    }

    .progress-bar {
        width: 100%;
        height: 12px;
        background-color: #e0e0e0;
        border-radius: 6px;
        margin: 10px 0 10px 0;
        overflow: hidden;
    }

    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #101a25ff 0%, #5ba3f5 100%);
        border-radius: 6px;
        width: 85%;
    }

    .scores-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .score-item {
        text-align: center;
        flex: 1;
    }

    .score-value {
        font-size: 25px;
        font-family:fantasy;
        font-weight: 500;
        margin-bottom: 8px;
    }

    .score-label {
        font-size: 16px;
        font-family: fantasy;
        color: #999;
        font-weight: 400;
        letter-spacing: 1px;
    }

    .mdl-score {
        color: #e67e22;
    }

    .spt-score {
        color: #4a90e2;
    }

    .hrp-score {
        color: #4a7c59;
    }

    .checkbox-list {
        list-style: none;
        padding: 0;
    }

    .checkbox-list li {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        color: #28a745;
    }

    .checkbox-list li:before {
        content: "✓";
        margin-right: 10px;
        font-weight: bold;
        color: #28a745;
    }

    /* Features Grid */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 30px;
    }

    .feature-card {
        background-color: #fff;
        border-radius: 12px;
        padding: 25px;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-5px);
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 1.5em;
        color: white;
    }

    .feature-icon.green { background-color: #28a745; }
    .feature-icon.blue { background-color: #007bff; }
    .feature-icon.orange { background-color: #fd7e14; }
    .feature-icon.purple { background-color: #6f42c1; }

    /* Steps Grid */
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 30px;
    }

    .step-card {
        background-color: #fff;
        border-radius: 12px;
        padding: 25px;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: relative;
    }

    .step-number {
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #eab308;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    /* Tips Grid */
    .tips-grid {
        display: grid;
        gap: 25px;
        margin-top: 30px;
    }

    @media (min-width: 768px) {
        .tips-grid {
            grid-template-columns: repeat(6, 1fr);
            grid-template-rows: auto auto;
        }

        .tips-grid > :nth-child(1) {
            grid-column: 1 / 4;
        }

        .tips-grid > :nth-child(2) {
            grid-column: 4 / 7;
        }

        .tips-grid > :nth-child(3) {
            grid-row: 2;
            grid-column: 1 / 3;
        }

        .tips-grid > :nth-child(4) {
            grid-row: 2;
            grid-column: 3 / 5;
        }

        .tips-grid > :nth-child(5) {
            grid-row: 2;
            grid-column: 5 / 7;
        }
    }

    @media (max-width: 767px) {
        .tips-grid {
            grid-template-columns: 1fr;
            grid-template-rows: auto;
        }

        .tips-grid > :nth-child(n) {
            grid-column: auto;
            grid-row: auto;
        }
    }

    .tip-card {
        background-color: #fff;
        border-radius: 3px;
        padding: 25px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-left: 8px solid #4a4949ff;
        box-sizing: border-box;
        width: 100%;
    }

    .tip-header {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .tip-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        color: white;
        font-size: 1.2em;
    }

    .tip-title {
        font-weight: bold;
        color: #333;
        margin: 0;
    }

    /* Guide Grid */
    .guide-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .guide-section {
        background-color: #fff;
        border-radius: 12px;
        padding: 25px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .guide-item {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        padding: 10px;
        background-color: #f8f9fa;
        border-radius: 8px;
    }

    .guide-item:last-child {
        margin-bottom: 0;
    }

    .guide-item i {
        margin-right: 15px;
        color: #eab308;
        font-size: 1.2em;
    }

    /* MOS Grid */
    .mos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-top: 30px;
    }

    .mos-card {
        background-color: #F6F7F8;
        border-radius: 12px;
        padding: 15px;
        text-align: left;
        box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.2);
    }

    .mos-badge {    
        font-size: 13px;
        display: inline-block;
        padding: 5px 35px;
        border-radius: 20px;
        color: white;
        font-weight: bold;
    }

    .mos-badge.heavy { background-color: #0d0c0c; }
    .mos-badge.significant { background-color: #6f6f6f; }
    .mos-badge.moderate { background-color: #d7a201; color: #333; }

    /* Training Section */
    .training-section {
        background-color: #fff;
        border-radius: 5px;
        padding: 30px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 30px;
    }

    .training-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-top: 20px;
    }

    .training-tips {
        background-color: #f8f9fa;
        padding: 20px;
        border-radius: 8px;
    }

    .training-tips ul {
        margin: 0;
        padding-left: 20px;
    }

    .training-tips li {
        margin-bottom: 10px;
    }

    /* FAQ Section */
    .faq-section {
        background-color: #fff;
        border-radius: 5px;
        padding: 30px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 30px;
    }

    .faq-item {
        border-bottom: 1px solid #e9ecef;
        padding: 20px 0;
    }

    .faq-item:last-child {
        border-bottom: none;
    }

    .faq-question {
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .faq-answer {
        color: #666;
        line-height: 1.6;
    }

/* Hero Section */
    .hero-section-blog {
        width: 100%;
        max-height: 300px;
        text-align: center;
        align-items: center;
        padding-bottom: 30px;
        background: #0F1729;
        border-radius:  0 0 5px 5px;
        margin-bottom: 30px;
    }
    .hero-section-blog h1{
        padding-top:20px;
        color:white;
    }

    .hero-section-blog p {
        font-size: 1.1em;
        max-width: 900px;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-weight: 400;
        margin: 20px auto;
        color: #d7d6d6e3;
      }

/* Hero Section */
    .hero-section {
        width: 100%;
        max-height: 300px;
        text-align: center;
        align-items: center;
        padding-bottom: 30px;
        background: #0F1729;
        border-radius:  0 0 5px 5px;
        margin-bottom: 30px;
    }
    .hero-section h1{
        max-width: 1000px;
        font-size:40px;
        margin:auto;
        padding-top:20px;
        color:white;
		line-height:1.3;
    }

    .hero-section p {
        font-size: 1.1em;
        max-width: 900px;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-weight: 400;
        margin: 20px auto;
        color: #d7d6d6e3;
      }


.ad-banner {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 15px;
    margin-left: 110px;
    margin-right: 110px;
    border-radius: 5px;
    text-align: center;
}

.ad-banner p {
    margin-bottom: 10px;
    font-style: italic;
    color: #666;
}

.ad-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Two-Column Layout */
.content-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.main-content {
	max-width: 780px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.sidebar {
    border-radius: 8px;
}

.sidebar h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: #0F4C76;
    font-weight: 500;
}

.sidebar ul li a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Sidebar Widget Styling */
.sidebar .widget {
    margin-bottom: 20px;
}

.sidebar .widget:last-child {
    margin-bottom: 0;
}

.sidebar .widget .search-form {
    position: relative;
    width: 100%;
}

.sidebar .widget .search-form input[type="search"] {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    height: 40px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sidebar .widget .search-form input[type="search"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.sidebar .widget .search-form button.search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #007bff;
    font-size: 1.2em;
    line-height: 1;
    z-index: 1;
}

.sidebar .widget .search-form button.search-submit:hover {
    color: #0056b3;
}

.sidebar .widget .search-form button.search-submit i {
    display: block;
}

/* Post Styling */
.post {
    margin-bottom: 40px;
}

.post h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.post h2 a {
    color: #2c3e50;
}

.post h2 a:hover {
    color: #007bff;
}

.post-meta {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.post-content {
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    font-weight: 500;
}

.read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Featured Image */
.post-thumbnail {
    margin-bottom: 20px;
    max-width: 100%;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: block;
    object-fit: cover;
}

/* Comments */
.comments-area {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 30px;
}

.comments-title, .comment-reply-title {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.comment-meta {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.comment-content {
    margin-bottom: 10px;
}

.comment-reply-link {
    color: #007bff;
    font-weight: 500;
}

.comment-reply-link:hover {
    color: #0056b3;
}

    /* Footer */
    .footer {
        background-color: #2c3e50;
        color: #fff;
        padding: 30px 30px 0 30px;
        margin-top: 50px;
        background: linear-gradient(90deg, #1c1c1cff, #323232ff, #524f46ff, #e3b733ff);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .footer-section h4 {
        color: #fff;
        margin-bottom: 15px;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }

    .footer-section ul li {
        margin-bottom: 8px;
    }

    .footer-section ul li a {
        color: white;
        transition: color 0.3s ease;
    }

    .footer-section ul li a:hover {
        color: #fff;
    }

    .footer-bottom {
        text-align: center;
        margin-top: 20px;
        padding-top: 10px;
        border-top: 1px solid white;
        color: #eeeff0ff;
    }

            
.try-calculator-widget {
  background-color: #0F172B;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 20px; /* distance from the top of the viewport */
  z-index: 10; /* keep it above other content */
}

.try-calculator-widget h3 {
  margin-bottom: 12px;
  font-weight: 700;
  background: linear-gradient(90deg, #eab308, #fed7d7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* For Firefox */
  color: transparent;    /* Fallback */
  font-size: 1.2rem;
}

.try-calculator-widget p {
  margin-bottom: 20px;
  color: #dbd8d8ff;
  font-size: 1rem;
}

.btn-calc-try {
  background: #eab308;
  color: white;
  padding: 8px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-calc-try:hover,
.btn-calc-try:focus {
  background: linear-gradient(90deg, #eab308, #fed7d7);
  outline: none;
}

    /* Blog Posts Section */
    .blog-posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 30px;
    }

    .blog-post-card {
        background-color: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
    }

    .blog-post-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .blog-post-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center; /* Center the image */
      display: block;     /* Remove any inline spacing */
        transition: transform 0.3s ease;
    }

    .blog-post-card:hover .blog-post-image {
        transform: scale(1.05);
    }

    .blog-post-image-wrapper {
        overflow: hidden;
        position: relative;
        background-color: #e0f2f7;
    }

    .blog-post-category {
        position: absolute;
        top: 5px;
        left: 5px;
        background-color: #0F4C76;
        color: white;
        padding: 2px 15px;
        border-radius: 20px;
        font-size: 0.70em;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        z-index: 1;
    }

    .blog-post-content {
        padding: 25px;
    }

    .blog-post-meta {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 12px;
        font-size: 0.85em;
        color: #777;
    }

    .blog-post-meta i {
        color: #007bff;
        margin-right: 5px;
    }

    .blog-post-title {
        font-size: 1.3em;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 12px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-post-excerpt {
        color: #666;
        font-size: 0.95em;
        line-height: 1.6;
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-post-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 15px;
        border-top: 1px solid #e9ecef;
    }

    .blog-post-read-more {
        color: #eab308;
        font-weight: 600;
        font-size: 0.9em;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        transition: gap 0.3s ease;
        gap: 5px;
    }

    .blog-post-read-more:hover {
        gap: 10px;
        text-decoration: none;
    }

    .blog-post-read-more i {
        transition: transform 0.3s ease;
    }

    .blog-post-card:hover .blog-post-read-more i {
        transform: translateX(3px);
    }

    .blog-read-time {
        display: flex;
        align-items: center;
        gap: 5px;
        color: #777;
        font-size: 0.85em;
    }

    .view-all-posts {
        text-align: center;
        margin-top: 40px;
    }

    .view-all-posts a {
        display: inline-block;
        padding: 12px 30px;
        background: linear-gradient(90deg, #eab308, #fed7d7);
        color: white;
        text-decoration: none;
        border-radius: 5px;
        font-weight: 600;
        transition: background-color 0.3s ease;
    }

    .view-all-posts a:hover {
        background-color: #0056b3;
        text-decoration: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }


    .custom-h2-calculator{
  width: 100%;
  max-width: calc(1200px - 20px) !important;
  background: linear-gradient(90deg,  #eab308, #fed7d7);
  padding:30px 0 20px 20px;
  margin-bottom: -20px;
  border-radius: 5px 5px 0 0;
}
.custom-h2-calculator p{
  margin-top:-20px;
}

  
    .card {
        background-color: #fff;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 30px;
        margin-bottom: 30px;
    }

    h1 {
        color: #2c3e50;
        margin-top: 0;
    }
    h2, h3, h4 {
        color: #2c3e50;
        margin-top: 0;
    }

    h1 {
        font-size: 2.5em;
        text-align: center;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    p {
        margin-bottom: 15px;
    }

    a {
        color: #eab308;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    button {
        background: linear-gradient(90deg, #eab308, #fed7d7);
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
        transition: background-color 0.3s ease;
    }

    button:hover {
        background-color: linear-gradient(120deg, #eab308, #fed7d7);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);;
    }


    /* Customized */
         .multi-column-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px 20px;
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  color: #2c3e50;
  font-weight: 600;
}
.multi-column-list li {
  background-color: #FAE8C0;
  border-radius: 8px;
  padding: 5px 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
  cursor: default;
  user-select: none;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
}
.multi-column-list li:hover{
  transform: scale(1.02);
}
.custom-h2-header{
  width: 100%;
  max-width: calc(1200px - 20px) !important;
  background: linear-gradient(90deg,  #eab308, #fed7d7);
  padding:30px 0 20px 20px;
  color:white;
  margin-bottom: -20px;
  border-radius: 5px 5px 0 0;
}
.custom-h2-header p{
  margin-top:-20px;
}
.custom-h2-header a{
  font-weight: 500;
  color:#eab308;
  padding:2px 5px;
  border-radius:3px;
  background: #333;
  text-decoration: underline;
}
    /* Responsive Design */
    @media (max-width: 768px) {
        .calculator-grid,
        .aft-info-grid,
        .guide-grid,
        .training-grid {
            grid-template-columns: 1fr;
        }
        
        .container {
            padding: 15px;
        }
        
        h1 {
            font-size: 2em;
        }
        
        .score-number {
            font-size: 3em;
        }

        .features-grid,
        .steps-grid,
        .tips-grid {
            grid-template-columns: 1fr;
        }
    }

    .pass-fail-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .pass-fail-status {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #f0f0f0;
  }

  .status-icon {
    font-size: 48px;
    transition: all 0.3s ease;
  }

  .status-icon.pass {
    color: #10b981;
  }

  .status-icon.fail {
    color: #ef4444;
  }

  .status-icon.pending {
    color: #94a3b8;
  }

  .status-text h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: -1px;
  }

  .status-text.pass h3 {
    color: #10b981;
  }

  .status-text.fail h3 {
    color: #ef4444;
  }

  .status-text.pending h3 {
    color: #94a3b8;
  }

  .status-text p {
    margin: 5px 0 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.2;
  }

  .pass-fail-details {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
  }

  .detail-item {
    display: flex;
    justify-content: space-between;
  }

  .detail-label {
    color: #64748b;
    font-weight: 500;
  }

  .detail-value {
    color: #1e293b;
    font-weight: 700;
  }

  .pass-fail-card .event-failures {
    margin-top: 10px;
    padding: 5px;
    background: #fef2f2;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
  }

  .pass-fail-card .event-failures h4 {
    margin: 0 0 8px 0;
    color: #991b1b;
    font-size: 14px;
    font-weight: 600;
  }

  .pass-fail-card .event-failures ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
  }

  .pass-fail-card .event-failures li {
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 4px;
  }

  .pass-fail-card .event-failures li:before {
    content: "✗ ";
    font-weight: bold;
    margin-right: 5px;
  }

/* Responsive Design */
@media (max-width: 768px) {
    .content-area {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .ad-banner {
        margin-left: 15px;
        margin-right: 15px;
    }

    .post-thumbnail,
    .featured-image {
        max-width: 100%;
        width: 100%;
    }
}