

      .article-container {
        max-width: 900px;
        margin: 0 auto;
        padding: 3rem 2rem;
      }

      .article-header {
        margin-bottom: 3rem;
        text-align: center;
      }

      .article-category {
        display: inline-block;
        background: linear-gradient(135deg, var(--primary-color), #5b9bd5);
        color: white;
        padding: 0.5rem 1.5rem;
        border-radius: 25px;
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .article-title {
        font-size: clamp(2rem, 5vw, 3rem);
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        color: var(--text-primary);
      }

      .article-meta {
        display: flex;
        justify-content: center;
        gap: 2rem;
        color: var(--text-secondary);
        font-size: 0.9rem;
        margin-bottom: 2rem;
      }

      .article-meta span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .featured-image {
        width: 100%;
        height: 400px;
        object-fit: cover;
        border-radius: 16px;
        margin-bottom: 3rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      }

      .article-content {
        font-size: 1.125rem;
        line-height: 1.8;
      }

      .article-content h2 {
        font-size: 2rem;
        font-weight: 700;
        margin: 3rem 0 1.5rem;
        color: var(--text-primary);
      }

      .article-content h3 {
        font-size: 1.5rem;
        font-weight: 600;
        margin: 2.5rem 0 1rem;
        color: var(--text-primary);
      }

      .article-content p {
        margin-bottom: 1.5rem;
      }

      .article-content ul,
      .article-content ol {
        margin: 1.5rem 0;
        padding-left: 2rem;
      }

      .article-content li {
        margin-bottom: 1rem;
      }

      .tip-box {
        background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
        border-left: 4px solid var(--primary-color);
        padding: 1.5rem;
        margin: 2rem 0;
        border-radius: 8px;
      }

      .tip-box h4 {
        color: var(--primary-color);
        font-weight: 600;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .strategy-card {
        background: var(--bg-secondary);
        border-radius: 12px;
        padding: 2rem;
        margin: 2rem 0;
        border: 2px solid var(--border-color);
        transition: all 0.3s ease;
      }

      .strategy-card:hover {
        border-color: var(--primary-color);
        box-shadow: 0 8px 20px rgba(70, 187, 229, 0.15);
        transform: translateY(-2px);
      }

      .strategy-number {
        background: var(--primary-color);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.25rem;
        margin-bottom: 1rem;
      }

      .back-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        margin-bottom: 2rem;
        transition: all 0.3s ease;
      }

      .back-link:hover {
        color: var(--primary-hover);
        transform: translateX(-5px);
      }

      /* Reading Practice Styles */
      .reading-practice-container {
        margin: 3rem 0;
      }

      /* Progress Tracker */
      .progress-tracker {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 2rem 0 3rem;
        padding: 2rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      }

      .progress-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
      }

      .progress-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #e5e7eb;
        color: #6b7280;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.25rem;
        transition: all 0.3s ease;
      }

      .progress-item.in-progress .progress-icon {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        color: white;
        animation: pulse 2s infinite;
      }

      .progress-item.completed .progress-icon {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
      }

      .progress-label {
        font-weight: 600;
        color: var(--text-primary);
        font-size: 0.9rem;
      }

      .progress-status {
        font-size: 0.75rem;
        color: var(--text-secondary);
      }

      .progress-line {
        width: 60px;
        height: 3px;
        background: #e5e7eb;
        margin: 0 1rem;
      }

      @keyframes pulse {
        0%,
        100% {
          transform: scale(1);
        }
        50% {
          transform: scale(1.05);
        }
      }

      /* Quick Tips Card */
      .quick-tips-card {
        background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
        border-left: 4px solid #f97316;
        padding: 1.5rem;
        border-radius: 12px;
        margin: 2rem 0 3rem;
      }

      .quick-tips-card h4 {
        color: #ea580c;
        font-size: 1.2rem;
        margin-bottom: 1rem;
        font-weight: 700;
      }

      .quick-tips-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .quick-tips-card li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        position: relative;
      }

      .quick-tips-card li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #f97316;
        font-weight: bold;
      }

      .reading-passage {
        background: var(--bg-secondary);
        border-radius: 16px;
        padding: 2.5rem;
        margin: 3rem 0;
        border: 2px solid var(--border-color);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
      }

      .reading-passage:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      }

      .bonus-passage {
        border: 2px solid #fbbf24;
        background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
      }

      .passage-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
        gap: 1rem;
      }

      .passage-number {
        background: linear-gradient(135deg, var(--primary-color), #5b9bd5);
        color: white;
        padding: 0.5rem 1.5rem;
        border-radius: 25px;
        font-weight: 700;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .passage-difficulty {
        background: #f0f4f8;
        color: #64748b;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
      }

      .passage-reading-time {
        color: var(--text-secondary);
        font-size: 0.9rem;
        margin-bottom: 1rem;
        font-style: italic;
      }

      .passage-reading-time i {
        margin-right: 0.5rem;
      }

      .passage-title {
        color: var(--text-primary);
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
      }

      .passage-text {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        line-height: 1.9;
        margin-bottom: 2.5rem;
        border-left: 4px solid var(--primary-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      }

      .passage-text p {
        margin-bottom: 1.5rem;
        text-align: justify;
      }

      .passage-text p:last-child {
        margin-bottom: 0;
      }

      .questions-container {
        margin-top: 2rem;
      }

      .questions-container h4 {
        color: var(--primary-color);
        font-size: 1.5rem;
        margin-bottom: 2rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .questions-container h4::before {
        content: "📝";
        font-size: 1.75rem;
      }

      .question {
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        border: 2px solid var(--border-color);
        transition: all 0.3s ease;
      }

      .question:hover {
        border-color: var(--primary-color);
        box-shadow: 0 4px 12px rgba(70, 187, 229, 0.1);
      }

      .question-text {
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 1rem;
        font-size: 1.05rem;
      }

      .options {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
      }

      .option {
        display: flex;
        align-items: center;
        padding: 1rem;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: var(--bg-primary);
      }

      .option:hover {
        border-color: var(--primary-color);
        background: #f0f9ff;
        transform: translateX(5px);
      }

      .option input[type="radio"] {
        margin-right: 0.75rem;
        width: 20px;
        height: 20px;
        cursor: pointer;
        accent-color: var(--primary-color);
      }

      .option span {
        flex: 1;
        font-size: 1rem;
        color: var(--text-primary);
      }

      .option.correct {
        border-color: #10b981;
        background: #d1fae5;
      }

      .option.incorrect {
        border-color: #ef4444;
        background: #fee2e2;
      }

      .option.correct::after {
        content: "✓";
        color: #10b981;
        font-weight: bold;
        font-size: 1.5rem;
        margin-left: 0.5rem;
      }

      .option.incorrect::after {
        content: "✗";
        color: #ef4444;
        font-weight: bold;
        font-size: 1.5rem;
        margin-left: 0.5rem;
      }

      .feedback {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        font-weight: 500;
        display: none;
      }

      .feedback.show {
        display: block;
      }

      .feedback.correct {
        background: #d1fae5;
        color: #065f46;
        border-left: 4px solid #10b981;
      }

      .feedback.incorrect {
        background: #fee2e2;
        color: #991b1b;
        border-left: 4px solid #ef4444;
      }

      .check-answers-btn {
        background: linear-gradient(135deg, var(--primary-color), #5b9bd5);
        color: white;
        border: none;
        padding: 1rem 2.5rem;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        display: block;
        margin: 2rem auto 0;
        box-shadow: 0 4px 6px rgba(70, 187, 229, 0.3);
      }

      .check-answers-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(70, 187, 229, 0.4);
      }

      .check-answers-btn:active {
        transform: translateY(0);
      }

      .check-answers-btn:disabled {
        background: #94a3b8;
        cursor: not-allowed;
        box-shadow: none;
      }

      .results-summary {
        background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
        border-radius: 16px;
        padding: 3rem;
        margin: 3rem 0;
        text-align: center;
        border: 2px solid var(--primary-color);
        box-shadow: 0 8px 20px rgba(70, 187, 229, 0.2);
      }

      .results-summary h3 {
        color: var(--primary-color);
        font-size: 2rem;
        margin-bottom: 2rem;
        font-weight: 700;
      }

      .score-display {
        margin: 2rem 0;
      }

      .score-circle {
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color), #5b9bd5);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 3rem;
        font-weight: 700;
        box-shadow: 0 8px 20px rgba(70, 187, 229, 0.3);
        position: relative;
      }

      .score-circle #total-score {
        font-size: 4rem;
      }

      .score-circle .score-total {
        position: absolute;
        bottom: 45px;
        right: 45px;
        font-size: 2rem;
      }

      #score-message {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-top: 1rem;
      }

      .percentage-display {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-top: 0.5rem;
      }

      .results-breakdown {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
      }

      .passage-result {
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        border: 2px solid var(--border-color);
        transition: all 0.3s ease;
      }

      .passage-result:hover {
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(70, 187, 229, 0.15);
      }

      .passage-result h4 {
        color: var(--primary-color);
        margin-bottom: 0.75rem;
        font-size: 1.2rem;
      }

      .passage-result p {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 0.75rem;
      }

      .score-bar {
        width: 100%;
        height: 8px;
        background: #e5e7eb;
        border-radius: 10px;
        overflow: hidden;
        margin-top: 0.5rem;
      }

      .score-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--primary-color), #10b981);
        border-radius: 10px;
        transition: width 1s ease-out;
        width: 0;
      }

      .share-results {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin: 1.5rem 0;
        flex-wrap: wrap;
      }

      .share-btn,
      .print-btn {
        background: white;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
      }

      .share-btn:hover,
      .print-btn:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(70, 187, 229, 0.3);
      }

      .retry-btn {
        background: linear-gradient(135deg, var(--primary-color), #5b9bd5);
        color: white;
        border: none;
        padding: 1rem 2.5rem;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
        box-shadow: 0 4px 6px rgba(70, 187, 229, 0.3);
      }

      .retry-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(70, 187, 229, 0.4);
      }

      .retry-btn i {
        margin-right: 0.5rem;
      }

      @media (max-width: 768px) {
        .article-container {
          padding: 2rem 1rem;
        }

        .article-meta {
          flex-direction: column;
          gap: 0.5rem;
          align-items: center;
        }

        .featured-image {
          height: 250px;
        }

        .article-content {
          font-size: 1rem;
        }

        .progress-tracker {
          padding: 1rem;
          flex-wrap: wrap;
        }

        .progress-line {
          width: 100%;
          height: 3px;
          margin: 0.5rem 0;
        }

        .progress-item {
          flex: 1;
          min-width: 80px;
        }

        .quick-tips-card {
          padding: 1rem;
        }

        .reading-passage {
          padding: 1.5rem;
        }

        .passage-text {
          padding: 1.5rem;
        }

        .passage-text p {
          text-align: left;
        }

        .question {
          padding: 1rem;
        }

        .option {
          padding: 0.75rem;
        }

        .score-circle {
          width: 140px;
          height: 140px;
        }

        .score-circle #total-score {
          font-size: 3rem;
        }

        .score-circle .score-total {
          bottom: 35px;
          right: 35px;
          font-size: 1.5rem;
        }

        .results-summary {
          padding: 2rem 1rem;
        }

        .results-breakdown {
          grid-template-columns: 1fr;
        }

        .share-results {
          flex-direction: column;
        }

        .share-btn,
        .print-btn {
          width: 100%;
          justify-content: center;
        }
      }

      /* Print Styles */
      @media print {
        header,
        .back-link,
        .check-answers-btn,
        .retry-btn,
        .share-results,
        .progress-tracker,
        .quick-tips-card {
          display: none !important;
        }

        .reading-passage,
        .results-summary {
          page-break-inside: avoid;
          border: 1px solid #000;
          box-shadow: none;
        }

        .article-container {
          padding: 0;
        }

        body {
          padding-top: 0;
        }

        .passage-text {
          border: none;
          box-shadow: none;
        }
      }

/* Ensure mobile dropdowns work properly */
      @media (max-width: 768px) {
        /* FORCE mobile menu to display full width */
        .nav-links,
        #navLinks,
        ul.nav-links {
          display: flex !important;
          position: fixed !important;
          top: 70px !important;
          left: 0 !important;
          right: 0 !important;
          bottom: 0 !important;
          width: 100vw !important;
          height: auto !important;
          min-height: calc(100vh - 70px) !important;
        }

        .nav-links.active,
        #navLinks.active,
        ul.nav-links.active {
          display: flex !important;
          max-height: calc(100vh - 70px) !important;
          height: auto !important;
        }

        /* Make sure nav links with dropdowns are clearly tappable */
        .nav-item .nav-link {
          position: relative;
          user-select: none;
          -webkit-user-select: none;
          -webkit-tap-highlight-color: rgba(70, 187, 229, 0.2);
          cursor: pointer;
        }

        /* Ensure chevron is visible and clickable */
        .nav-link .fa-chevron-down {
          transition: transform 0.3s ease !important;
          opacity: 1 !important;
          pointer-events: none; /* Let clicks go through to parent link */
        }

        /* Visual feedback when dropdown is open */
        .nav-item.mobile-open > .nav-link,
        .nav-item.mobile-dropdown-open > .nav-link {
          background: rgba(70, 187, 229, 0.15) !important;
          border-color: var(--primary-color, #46bbe5) !important;
        }

        /* Make dropdowns smoother */
        .dropdown {
          transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            padding 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        /* Ensure dropdown items are visible when parent is open */
        .nav-item.mobile-open .dropdown,
        .nav-item.mobile-dropdown-open .dropdown {
          display: block !important;
          visibility: visible !important;
          opacity: 1 !important;
          pointer-events: auto !important;
        }

        /* Ensure dropdown items are clickable */
        .dropdown-item,
        .dropdown > a {
          pointer-events: auto !important;
          touch-action: manipulation !important;
          user-select: none;
          -webkit-user-select: none;
        }
      }

