
/*
=========================================================
Project      : UPI QR Studio
Website      : https://rsbusinesses0.github.io/UPI_QR_Studio/
Created By   : Sumit Kumar Shakya
Developer    : Solo Creator & Developer
Developed For: RS Businesses
GitHub       : https://github.com/sksumitkumarshakya
Contact      : sksumitkumarshakya@gmail.com

Description  : Stylesheet for the UPI QR Studio website.
               Supports the website's layout, responsive
               design, components, and visual presentation.

Year         : 2026
=========================================================
*/


/* ==========================================================================
   UNIVERSAL HELP CENTER & POPULAR GUIDES CARD STYLESHEET
   File: css/subcategory-guides.css
   Works universally across any guide page using the standard markup rules.
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #202124;
  font-family: 'Google Sans', 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Main Layout Grid Container */
.guide-main {
  width: 100%;
  padding: 32px 24px 64px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

/* Left Article Panel */
.guide-article {
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 40px 44px;
}

.guide-section[hidden] {
  display: none !important;
}

.guide-section h2 {
  margin: 0 0 20px;
  color: #202124;
  font-family: 'Google Sans', 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
}

.guide-section h3 {
  margin: 28px 0 12px;
  color: #202124;
  font-size: 20px;
  font-weight: 500;
}

.guide-section p {
  margin: 0 0 16px;
  color: #3c4043;
  font-size: 15px;
  line-height: 1.65;
}

.guide-section ul,
.guide-section ol {
  margin: 12px 0 24px;
  padding-left: 24px;
  color: #3c4043;
}

.guide-section li {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

.guide-highlight {
  margin: 24px 0;
  padding: 16px 20px;
  background-color: #f3f7fd;
  border-left: 4px solid #1a73e8;
  border-radius: 0 6px 6px 0;
  color: #1f1f1f;
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   POPULAR GUIDES CARD (Universal Widget Styling)
   ========================================================================== */

.popular-guides-card {
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08);
}

/* Accordion Header Bar */
.popular-guides-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #f8faff;
  border: none;
  border-bottom: 1px solid #e8eaed;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s ease;
}

.popular-guides-header:hover {
  background-color: #f1f5fe;
}

.popular-guides-title {
  color: #202124;
  font-family: 'Google Sans', 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.popular-guides-icon {
  color: #1a73e8;
  transition: transform 0.25s ease;
}

.popular-guides-header[aria-expanded="false"] .popular-guides-icon {
  transform: rotate(180deg);
}

.popular-guides-header[aria-expanded="false"] {
  border-bottom: none;
}

/* Navigation Links List */
.popular-guides-body {
  padding: 0;
  margin: 0;
}

.popular-guides-body[hidden] {
  display: none;
}

.popular-guides-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.popular-guides-list li {
  border-bottom: 1px solid #f1f3f4;
}

.popular-guides-list li:last-child {
  border-bottom: none;
}

.popular-guide-link {
  display: block;
  padding: 14px 20px;
  color: #1a73e8;
  text-decoration: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.popular-guide-link:hover {
  background-color: #f8faff;
  text-decoration: underline;
}

.popular-guide-link.active {
  font-weight: 500;
  color: #0b57d0;
  background-color: #eef4ff;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 960px) {
  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .popular-guides-card {
    order: -1;
    margin-bottom: 24px;
  }
}