/* Nugget iOS - Blog & Single Post CSS */


    /* Premium layout design adjustments */
    .blog-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0px 20px 40px;
      font-family: 'Poppins', sans-serif;
      color: #333;
    }
    
    .blog-card {
      background: rgba(255, 255, 255, 0.98);
      border-radius: 24px;
      padding: 40px 30px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
      border: 1px solid rgba(0, 0, 0, 0.02);
    }
    
    .blog-hero {
      text-align: center;
      padding: 30px 0 20px;
      border-bottom: 1px solid #edf2f7;
      margin-bottom: 40px;
    }
    
    .blog-title {
      font-size: 3.2rem;
      font-weight: 700;
      line-height: 1.25;
      background: linear-gradient(135deg, #667eea, #764ba2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }
    
    .blog-subtitle {
      font-size: 18px;
      color: #4a5568;
      max-width: 850px;
      margin: 0 auto;
      line-height: 1.7;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
      margin-top: 30px;
    }
    
    .blog-post-card {
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
      border: 1px solid #edf2f7;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
    }
    
    .blog-post-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 35px rgba(102, 126, 234, 0.1);
      border-color: #667eea;
    }

    .blog-post-card:hover img {
      transform: scale(1.04);
    }

    @media (max-width: 768px) {
      .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }
      .blog-title {
        font-size: 2.5rem;
      }
    }
  


    /* Premium Mobile Layout Optimizations */
    @media (max-width: 768px) {
      /* Homepage Hero Order Above-the-Fold (Original Order) */
      .hero-section {
        padding: 30px 16px 40px !important;
      }
      .hero-content {
        padding: 40px 24px !important;
        margin-top: -30px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
      }
      .hero-title {
        font-size: 2.6rem !important;
        white-space: normal !important;
        order: 1 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        line-height: 1.3 !important;
      }
      .hero-description {
        font-size: 16px !important;
        line-height: 1.8 !important;
        order: 2 !important;
        margin-bottom: 25px !important;
        text-align: left !important;
      }
      /* Hide the second paragraph on mobile to save vertical space naturally */
      .hero-description p:nth-child(2) {
        display: none !important;
      }
      .hero-description p {
        margin-bottom: 0 !important;
      }
      .button-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        order: 3 !important;
        margin-top: 10px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
      }
      .download-btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 16px 32px !important;
        font-size: 16px !important;
        justify-content: center !important;
      }
      .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 15px !important;
        order: 4 !important;
        width: 100% !important;
      }
      .feature-item {
        padding: 25px 20px !important;
      }

      /* Compact Blog Post Headers (Metadata on One Single Line) */
      .blog-hero {
        padding: 10px 0 15px !important;
        margin-bottom: 20px !important;
      }
      .blog-title {
        font-size: 1.65rem !important;
        line-height: 1.3 !important;
        letter-spacing: -0.3px !important;
        margin-top: 10px !important;
        margin-bottom: 12px !important;
      }
      .blog-subtitle {
        font-size: 14px !important;
        line-height: 1.5 !important;
      }
      .blog-hero-meta {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 11px !important;
        color: #4a5568 !important;
        margin-bottom: 10px !important;
      }
      .blog-meta-divider {
        display: inline-block !important;
        color: #cbd5e0 !important;
        font-size: 10px !important;
        margin: 0 2px !important;
      }
      .blog-hero-meta span {
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        color: #4a5568 !important;
        font-weight: 500 !important;
      }
      .blog-hero-meta svg {
        width: 13px !important;
        height: 13px !important;
        flex-shrink: 0 !important;
      }
    }
  


  .custom-footer {
    background: #F6F9FF;
    color: #000;
    font-family: 'Poppins', sans-serif;
    padding: 60px 20px 40px;
  }

  .footer-grid {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-col {
    flex: 1;
    min-width: 250px;
    text-align: left;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .footer-logo img {
    width: 40px;
    height: 40px;
  }

  .footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #000;
    text-align: left;
  }

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

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

  .footer-col ul li a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .footer-col ul li a:hover {
    color: #444;
    text-decoration: underline;
  }

  .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    transition: transform 0.2s ease;
  }

  .social-icons a:hover {
    transform: scale(1.1);
  }

  .social-icons a img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
  }

  .community-badges {
    display: flex;
    gap: 20px;
    margin-top: 25px;
  }

  .community-badges a img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
  }

  .community-badges a img:hover {
    transform: scale(1.05);
  }

  /* Desktop - justify footer paragraph */
  @media (min-width: 769px) {
    .footer-justify {
      text-align: justify;
      text-justify: inter-word;
      hyphens: auto;
    }
  }

  /* Mobile normal left aligned */
  @media (max-width: 768px) {
    .footer-justify {
      text-align: left;
    }

    .footer-grid {
      flex-direction: column;
      gap: 30px;
    }

    .community-badges {
      justify-content: flex-start;
    }
  }



    /* Smooth scroll behavior */
    html {
      scroll-behavior: smooth !important;
    }
    
    .blog-container {
      max-width: 1200px; /* Identical width to wallpapers page */
      margin: 0 auto;
      padding: 0px 20px 40px;
      font-family: 'Poppins', sans-serif;
      color: #333;
    }
    
    .blog-card {
      background: rgba(255, 255, 255, 0.98); /* Matching wallpapers boxed layout */
      border-radius: 24px;
      padding: 40px 30px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
      border: 1px solid rgba(0, 0, 0, 0.02);
    }
    
    .blog-hero {
      text-align: center;
      padding: 20px 0 30px;
      border-bottom: 1px solid #edf2f7;
      margin-bottom: 40px;
    }
    
    .blog-hero-meta {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 24px;
      font-size: 14.5px;
      color: #4a5568;
      margin-bottom: 18px !important;
      font-weight: 500;
      letter-spacing: 0.3px;
      flex-wrap: wrap;
    }
    
    .blog-meta-divider {
      color: #cbd5e0;
      font-weight: 300;
      font-size: 16px;
    }
    
    .blog-title {
      font-size: 3.2rem !important;
      font-weight: 700 !important;
      line-height: 1.25 !important;
      background: linear-gradient(135deg, #805ad5, #b7791f) !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      background-clip: text !important;
      margin-top: 12px !important;
      margin-bottom: 20px !important;
      letter-spacing: -0.5px !important;
    }
    
    .blog-subtitle {
      font-size: 18px;
      color: #4a5568;
      max-width: 850px;
      margin: 0 auto;
      line-height: 1.7;
    }
    
    /* Core content formatting with improved typography spacing and rhythm */
    .blog-body-text {
      font-size: 16.5px;
      line-height: 1.9;
      color: #4a5568;
    }
    
    .blog-body-text h2 {
      font-size: 28px !important;
      font-weight: 700 !important;
      color: #1a202c !important;
      margin: 60px 0 24px !important; /* Enforced 24px bottom margin */
      padding-bottom: 14px !important;
      border-bottom: 2px solid #edf2f7 !important;
      position: relative !important;
    }
    
    .blog-body-text h2::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 70px;
      height: 2px;
      background: linear-gradient(135deg, #805ad5, #d53f8c);
    }
    
    .blog-body-text h3 {
      font-size: 22px !important;
      font-weight: 600 !important;
      color: #2d3748 !important;
      margin: 40px 0 18px !important; /* Enforced 18px bottom margin */
    }
    
    .blog-body-text p {
      margin-bottom: 16px !important; /* Enforced 16px bottom margin */
      text-align: justify !important;
      text-justify: inter-word !important;
    }
    
    .blog-body-text strong {
      color: #1a202c;
    }
    
    /* Lists visual alignment */
    .blog-body-text ul, .blog-body-text ol {
      margin-top: 15px;
      margin-bottom: 35px;
      padding-left: 20px;
    }
    
    .blog-body-text ul li, .blog-body-text ol li {
      margin-bottom: 12px;
      line-height: 1.8;
    }
    
    /* Modern Callout Blocks */
    .callout-box {
      background: #f8fafc;
      border-left: 4px solid #7c3aed;
      padding: 22px 26px;
      border-radius: 8px;
      margin: 32px 0;
    }
    
    .callout-box.warning {
      border-left-color: #ef4444;
      background: #fef2f2;
    }
    
    .callout-title {
      font-weight: 700;
      font-size: 14.5px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }
    
    .callout-box.warning .callout-title {
      color: #991b1b;
    }
    
    .callout-box p {
      margin-bottom: 0 !important;
      font-size: 15px;
      line-height: 1.6;
      color: #475569;
    }
    
    /* Elegant Premium Tables */
    .table-responsive {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin: 32px 0 40px;
      border-radius: 12px;
      border: 1px solid #e2e8f0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    }
    
    .premium-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 15px;
      text-align: left;
      min-width: 620px;
    }
    
    .premium-table th {
      background: #f8fafc;
      color: #475569;
      font-weight: 600;
      text-transform: uppercase;
      font-size: 11px;
      letter-spacing: 0.8px;
      padding: 18px 24px;
      border-bottom: 2px solid #e2e8f0;
    }
    
    .premium-table td {
      padding: 16px 24px;
      border-bottom: 1px solid #edf2f7;
      color: #334155;
      line-height: 1.6;
    }
    
    .premium-table tr:last-child td {
      border-bottom: none;
    }
    
    .premium-table tr:hover td {
      background: #f8fafc;
    }
    
    .badge-pill {
      display: inline-flex;
      align-items: center;
      padding: 4px 12px;
      border-radius: 50px;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.2;
    }
    
    .badge-purple {
      background: #f3e8ff;
      color: #6b21a8;
      border: 1px solid #e9d5ff;
    }
    
    .badge-blue {
      background: #dbeafe;
      color: #1e40af;
      border: 1px solid #bfdbfe;
    }
    
    /* FAQ Accordion Styling (Card Layout) */
    .faq-accordion-group {
      margin: 40px 0;
    }
    
    .faq-item {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      margin-bottom: 16px;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .faq-item:hover {
      border-color: #cbd5e1;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    }
    
    .faq-question-button {
      width: 100%;
      background: none;
      border: none;
      padding: 20px 24px;
      text-align: left;
      font-size: 16.5px;
      font-weight: 600;
      color: #1e293b;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      outline: none;
      transition: color 0.2s ease;
    }
    
    .faq-question-button span {
      padding-right: 15px;
    }
    
    .faq-answer-content {
      padding: 0 24px 20px;
      font-size: 15px;
      line-height: 1.7;
      color: #475569;
      display: none;
    }
    
    .faq-icon-arrow {
      transition: transform 0.3s ease;
      color: #64748b;
      flex-shrink: 0;
    }
    
    .faq-item.active {
      border-color: #7c3aed;
      background: #ffffff;
      box-shadow: 0 8px 24px rgba(124, 58, 237, 0.04);
    }
    
    .faq-item.active .faq-question-button {
      color: #7c3aed;
    }
    
    .faq-item.active .faq-icon-arrow {
      transform: rotate(180deg);
      color: #7c3aed;
    }
    
    /* YouTube Embed Responsive container */
    .video-container-wrapper {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      overflow: hidden;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.06);
      margin: 36px 0;
      border: 1px solid #edf2f7;
    }
    
    .video-container-wrapper iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }
    
    /* Mobile Optimization overrides */
    @media (max-width: 768px) {
      .blog-container {
        padding: 0 10px 30px;
      }
      .blog-card {
        padding: 25px 15px;
      }
      .blog-title {
        font-size: 2.3rem;
      }
      .blog-subtitle {
        font-size: 16.5px;
      }
      .blog-body-text {
        font-size: 15.5px;
      }
      .blog-body-text h2 {
        font-size: 24px;
        margin-top: 40px !important;
        margin-bottom: 20px !important;
      }
      .blog-body-text h3 {
        font-size: 19px;
        margin-top: 30px !important;
        margin-bottom: 14px !important;
      }
      .faq-question-button {
        padding: 16px 20px;
        font-size: 15.5px;
      }
      .faq-answer-content {
        padding: 0 20px 16px;
        font-size: 14px;
      }
    }
  


    /* Premium Mobile Layout Optimizations */
    @media (max-width: 768px) {
      /* Homepage Hero Order Above-the-Fold (Original Order) */
      .hero-section {
        padding: 30px 16px 40px !important;
      }
      .hero-content {
        padding: 40px 24px !important;
        margin-top: -30px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
      }
      .hero-title {
        font-size: 2.6rem !important;
        white-space: normal !important;
        order: 1 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        line-height: 1.3 !important;
      }
      .hero-description {
        font-size: 16px !important;
        line-height: 1.8 !important;
        order: 2 !important;
        margin-bottom: 25px !important;
        text-align: left !important;
      }
      /* Hide the second paragraph on mobile to save vertical space naturally */
      .hero-description p:nth-child(2) {
        display: none !important;
      }
      .hero-description p {
        margin-bottom: 0 !important;
      }
      .button-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        order: 3 !important;
        margin-top: 10px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
      }
      .download-btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 16px 32px !important;
        font-size: 16px !important;
        justify-content: center !important;
      }
      .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 15px !important;
        order: 4 !important;
        width: 100% !important;
      }
      .feature-item {
        padding: 25px 20px !important;
      }

      /* Compact Blog Post Headers (Metadata on One Single Line) */
      .blog-hero {
        padding: 10px 0 15px !important;
        margin-bottom: 20px !important;
      }
      .blog-title {
        font-size: 1.65rem !important;
        line-height: 1.3 !important;
        letter-spacing: -0.3px !important;
        margin-top: 10px !important;
        margin-bottom: 12px !important;
      }
      .blog-subtitle {
        font-size: 14px !important;
        line-height: 1.5 !important;
      }
      .blog-hero-meta {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 11px !important;
        color: #4a5568 !important;
        margin-bottom: 10px !important;
      }
      .blog-meta-divider {
        display: inline-block !important;
        color: #cbd5e0 !important;
        font-size: 10px !important;
        margin: 0 2px !important;
      }
      .blog-hero-meta span {
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        color: #4a5568 !important;
        font-weight: 500 !important;
      }
      .blog-hero-meta svg {
        width: 13px !important;
        height: 13px !important;
        flex-shrink: 0 !important;
      }
    }
  


  .custom-footer {
    background: #F6F9FF;
    color: #000;
    font-family: 'Poppins', sans-serif;
    padding: 60px 20px 40px;
  }

  .footer-grid {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-col {
    flex: 1;
    min-width: 250px;
    text-align: left;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .footer-logo img {
    width: 40px;
    height: 40px;
  }

  .footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #000;
    text-align: left;
  }

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

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

  .footer-col ul li a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .footer-col ul li a:hover {
    color: #444;
    text-decoration: underline;
  }

  .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    transition: transform 0.2s ease;
  }

  .social-icons a:hover {
    transform: scale(1.1);
  }

  .social-icons a img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
  }

  .community-badges {
    display: flex;
    gap: 20px;
    margin-top: 25px;
  }

  .community-badges a img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
  }

  .community-badges a img:hover {
    transform: scale(1.05);
  }

  /* Desktop - justify footer paragraph */
  @media (min-width: 769px) {
    .footer-justify {
      text-align: justify;
      text-justify: inter-word;
      hyphens: auto;
    }
  }

  /* Mobile normal left aligned */
  @media (max-width: 768px) {
    .footer-justify {
      text-align: left;
    }

    .footer-grid {
      flex-direction: column;
      gap: 30px;
    }

    .community-badges {
      justify-content: flex-start;
    }
  }


