/* iConnect redesign — information pages (port of live catalog/view/information.css,
   the /tools page-builder vocabulary, restyled to the ic design tokens).
   Changes vs live: Arial -> var(--ic-body)/var(--ic-head); #ff00ff accents -> var(--ic-magenta);
   frosted blur cards -> plain white cards (--ic-r-lg / --ic-shadow-card);
   parallax fixed background REMOVED (the lavender body gradient is the canvas). */

.information-page #content {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.information-page #content h1 {
  font-family: var(--ic-head);
  font-weight: 800;
  color: var(--ic-text);
  text-align: center;
  font-size: 30px;
  margin: 18px auto 30px;
  max-width: 900px;
}

/* Section cards — white, styleguide radius/shadow (no frosted blur, no hover lift) */
.information-page #content section {
  background: var(--ic-card, #fff);
  border-radius: var(--ic-r-lg);
  padding: 50px;
  margin: 0 auto 40px;
  max-width: 900px;
  box-shadow: var(--ic-shadow-card);
  font-family: var(--ic-body);
  overflow: hidden;
  overflow: clip;
}

.information-page #content section.section-box {
  background: var(--ic-card, #fff);
}
.information-page #content section.section-open {
  background: none;
  padding: 0;
  box-shadow: none;
  border: none;
}
.information-page #content .section-alert {
  background: #fdf2f2;
}

/* Images */
.information-page #content section img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: auto;
}
.information-page #content section img.icon {
  display: block;
  max-height: 120px;
  max-width: 120px;
  width: auto;
  height: auto;
  margin: 15px auto;
}
.information-page #content section h2 img,
.information-page #content section h3 img,
.information-page #content section p img {
  display: inline-block !important;
  vertical-align: text-bottom !important;
  margin: 0 3px !important;
  height: 1.2em !important;
  width: 1.2em !important;
}

/* Headings */
.information-page #content section h2,
.information-page #content section h2.warning,
.information-page #content section h2.success {
  font-family: var(--ic-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--ic-text);
  margin: 0 0 28px;
  line-height: 1.3;
  text-align: center;
  letter-spacing: -0.02em;
  border-bottom: none;
  padding-bottom: 0;
  background: unset;
  position: relative;
}
.information-page #content section h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: var(--ic-grad);
  margin-top: 8px;
  border-radius: 4px;
}
.information-page #content section h2.warning::after {
  background: linear-gradient(90deg, #d32f2f, #ff8800);
}
.information-page #content section h2.success::after {
  background: var(--ic-magenta);
}

.information-page #content section h3 {
  font-family: var(--ic-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--ic-text);
  margin: 30px 0 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  position: relative;
}
.information-page #content h3.list {
  padding-left: 20px;
}
.information-page #content h3.list:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: rotate(45deg) translate(-50%, -50%);
  background: var(--ic-magenta);
  width: 10px;
  height: 10px;
}

/* Body copy */
.information-page #content section p {
  color: var(--ic-text);
  font-family: var(--ic-body);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.information-page #content section p.small {
  font-size: 14px !important;
}
.information-page #content section p.bold {
  font-weight: 700 !important;
}
.information-page #content section p.small-bold {
  font-size: 14px !important;
  font-weight: 700 !important;
}
.information-page #content section p span,
.information-page #content section li span {
  font-size: inherit !important;
  font-weight: inherit !important;
}
.information-page #content section p .pb_green,
.information-page #content section li .pb_green {
  color: #10b981;
}
.information-page #content section p .pb_red,
.information-page #content section li .pb_red {
  color: #ef4444;
}
.information-page #content section p .pb_blue,
.information-page #content section li .pb_blue {
  color: #3b82f6;
}
.information-page #content section p .pb_magenta,
.information-page #content section li .pb_magenta {
  color: var(--ic-magenta);
}

/* Links / buttons */
.information-page #content section a {
  color: var(--ic-magenta) !important;
  border: none !important;
  position: relative !important;
  margin-bottom: 10px !important;
  border-radius: var(--ic-r-lg);
  padding: 12px 24px;
  font-weight: 600;
  line-height: 1.2;
  font-size: 17px;
  transition: all .25s ease;
  min-height: 0;
  width: auto;
  display: inline-block;
  text-align: center;
  text-decoration: underline;
}
.information-page #content section a.link-theme {
  color: #fff !important;
  background: var(--ic-grad-btn);
  box-shadow: 0 8px 24px rgba(170, 7, 107, .3);
  width: 100%;
  display: block;
  text-decoration: none;
}
.information-page #content section a.link-theme:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(170, 7, 107, .4);
}
.information-page #content section a.link-theme:active {
  transform: scale(.98);
}
.information-page #content section a.link-white {
  color: var(--ic-text) !important;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  border: 2px solid #f0f0f0 !important;
  display: block;
  text-align: center;
  text-decoration: none;
}
.information-page #content section a.link-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  border-color: var(--ic-magenta) !important;
}

/* Lists */
.information-page #content section ol {
  padding-left: 24px;
}
.information-page #content section ol li {
  position: relative;
  padding-bottom: 12px;
  line-height: 1.8;
}
.information-page #content section ol.check-list li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 5px;
  width: 8px;
  height: 14px;
  border: solid var(--ic-avail, green);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.information-page #content section ol.x-list li::before,
.information-page #content section ol.x-list li::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 12px;
  width: 14px;
  height: 2px;
  background: var(--ic-sold, red);
}
.information-page #content section .x-list li::before {
  transform: rotate(45deg);
}
.information-page #content section .x-list li::after {
  transform: rotate(-45deg);
}
.information-page #content section ol.numbers-list li {
  list-style-type: decimal;
}
.information-page #content section ol.bullets-list li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 10px;
  background: var(--ic-magenta);
  box-shadow: 0 0 0 3px rgba(170, 7, 107, .15);
}
.information-page #content section ol.bullets-list,
.information-page #content section ol.check-list,
.information-page #content section ol.x-list {
  list-style: none;
}

/* Tables (generic content tables restyled to tokens) */
.information-page #content section table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 15px;
}
.information-page #content section table th,
.information-page #content section table td {
  border: 1px solid var(--ic-line);
  padding: 10px 14px;
  text-align: left;
  color: var(--ic-text);
}
.information-page #content section table th {
  font-family: var(--ic-head);
  font-weight: 700;
  background: var(--ic-page);
}

/* Pricing grid */
.information-page #content .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.information-page #content .pricing-box {
  text-align: center;
  padding: 20px;
  border-radius: var(--ic-r-lg);
  background: #fff;
  box-shadow: var(--ic-shadow);
  border: 1px solid rgba(170, 7, 107, .1);
  position: relative;
  transition: all .25s ease;
}
.information-page #content .pricing-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--ic-shadow-lg);
}
.information-page #content .pricing-box:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--ic-grad);
  border-radius: 0 0 var(--ic-r-lg) var(--ic-r-lg);
}
.information-page #content .pricing-box img {
  margin: 10px auto 0;
  max-width: 120px;
  height: auto;
}
.information-page #content .pricing-box h3 {
  margin-top: 5px;
  font-size: 22px !important;
  background: var(--ic-magenta-dark);
  border-radius: var(--ic-r-lg);
  color: #fff !important;
  padding: 7px 3px !important;
  margin-bottom: 15px !important;
}
.information-page #content .pricing-box .price {
  font-size: 28px !important;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
}
.information-page #content .pricing-box .price.old-price {
  opacity: .7;
}
.information-page #content .pricing-box .price.old-price b {
  text-decoration: line-through;
  text-decoration-color: var(--ic-old);
}
.information-page #content .pricing-box .price span {
  font-size: 18px !important;
  font-weight: 500;
}
.information-page #content .pricing-box p {
  font-size: 18px !important;
  line-height: 1.4;
  margin-top: 10px;
}
/* ajax_content.php card extras: discounted price, per-card note, category tag */
.information-page #content .pricing-box .price.discount-price {
  color: var(--ic-magenta);
}
.information-page #content .pricing-box .per_card {
  font-size: 14px;
  color: var(--ic-muted);
  margin-bottom: 6px;
}
.information-page #content .pricing-box h4 {
  font-family: var(--ic-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ic-muted);
  margin: 12px 0 0;
}

/* Dropdown / details accordions */
.information-page #content section details {
  background: #f9f9f9;
  border: 1px solid var(--ic-line);
  border-radius: var(--ic-r-lg);
  padding: 0;
  margin: 24px 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  transition: all .3s ease;
}
.information-page #content section details[open] {
  background: #fff;
  border-color: rgba(170, 7, 107, .3);
  box-shadow: 0 4px 16px rgba(170, 7, 107, .12);
}
.information-page #content section details summary {
  cursor: pointer;
  padding: 18px 24px;
  font-family: var(--ic-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ic-text);
  background: #fafafa;
  list-style: none;
  user-select: none;
  position: relative;
  transition: all .3s ease;
}
.information-page #content section details summary::-webkit-details-marker {
  display: none;
}
.information-page #content section details summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  padding: 5px;
  border: 0 solid transparent;
  border-right: 3px solid var(--ic-magenta);
  border-bottom: 3px solid var(--ic-magenta);
  transform: translateY(-75%) rotate(45deg);
  transition: all .3s ease;
}
.information-page #content section details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.information-page #content section details[open] summary {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  border-radius: var(--ic-r-lg) var(--ic-r-lg) 0 0;
}
.information-page #content section details summary:hover {
  background: #f0f0f0;
}
.information-page #content section details[open] summary:hover {
  background: #f9fafb;
}
.information-page #content section details p {
  padding: 20px 24px;
  margin: 0;
  line-height: 1.8;
  color: var(--ic-text);
  font-size: 16px;
}

/* Accessible focus states */
.information-page #content section a:focus,
.information-page #content section details summary:focus {
  outline: 3px solid rgba(170, 7, 107, .45);
  outline-offset: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .information-page #content section {
    padding: 32px 24px;
    margin-bottom: 32px;
    border-radius: var(--ic-r-lg);
  }
  .information-page #content h1 {
    font-size: 24px;
  }
  .information-page #content section h2 {
    font-size: 26px;
    margin-bottom: 22px;
  }
  .information-page #content section h3 {
    font-size: 19px;
  }
  .information-page #content section p {
    font-size: 15.5px;
  }
}
