/* =========================================================
   INKMANA DARK CONTENT PAGES
   Page-specific dark rules migrated out of PHP templates.
   ========================================================= */

/* ===== MIGRATED FROM pages/news/post.php ===== */
html[data-theme="dark"] .news-post-hero.ink-page-hero,
body.dark-mode .news-post-hero.ink-page-hero {
    background: var(--ink-dark-surface);
    border-color: var(--ink-dark-border);
    color: var(--ink-dark-text);
}
html[data-theme="dark"] .post-content,
body.dark-mode .post-content {
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .post-content figcaption,
body.dark-mode .post-content figcaption {
    color: var(--ink-dark-muted);
}
html[data-theme="dark"] .post-content blockquote,
body.dark-mode .post-content blockquote {
    background: var(--ink-dark-surface);
    border-left-color: var(--ink-dark-focus);
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .post-content code,
body.dark-mode .post-content code {
    background: var(--ink-dark-surface);
    color: #e7edf5;
}
html[data-theme="dark"] .post-content pre,
body.dark-mode .post-content pre {
    background: #0d1420;
    color: var(--ink-dark-text);
}
html[data-theme="dark"] .post-content th,
html[data-theme="dark"] .post-content td,
body.dark-mode .post-content th,
body.dark-mode .post-content td {
    border-color: var(--ink-dark-border);
}
html[data-theme="dark"] .post-content th,
body.dark-mode .post-content th {
    background: var(--ink-dark-surface);
}
html[data-theme="dark"] .post-sidebar,
html[data-theme="dark"] .promo-attachment,
html[data-theme="dark"] .promo-card-item,
body.dark-mode .post-sidebar,
body.dark-mode .promo-attachment,
body.dark-mode .promo-card-item {
    background: var(--ink-dark-surface);
    border-color: var(--ink-dark-border);
    color: var(--ink-dark-text-soft);
    box-shadow: none;
}
html[data-theme="dark"] .promo-attachment-head,
body.dark-mode .promo-attachment-head {
    background: var(--ink-dark-surface-2);
    border-color: var(--ink-dark-border);
}
html[data-theme="dark"] .promo-status-badge,
html[data-theme="dark"] .promo-history-note,
html[data-theme="dark"] .promo-card-expired,
body.dark-mode .promo-status-badge,
body.dark-mode .promo-history-note,
body.dark-mode .promo-card-expired {
    background: var(--ink-dark-surface-2);
    border-color: var(--ink-dark-border-strong);
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .promo-status-badge.active,
body.dark-mode .promo-status-badge.active {
    background: #173429;
    border-color: #295944;
    color: #7bd6a7;
}
html[data-theme="dark"] .promo-status-badge.expired,
html[data-theme="dark"] .promo-history-note.expired,
html[data-theme="dark"] .promo-card-expired,
body.dark-mode .promo-status-badge.expired,
body.dark-mode .promo-history-note.expired,
body.dark-mode .promo-card-expired {
    background: #3a2025;
    border-color: #69404a;
    color: #f0a7af;
}
html[data-theme="dark"] .promo-status-badge.scheduled,
body.dark-mode .promo-status-badge.scheduled {
    background: #382f1f;
    border-color: #685636;
    color: #f0c878;
}
html[data-theme="dark"] .promo-status-badge.paused,
html[data-theme="dark"] .promo-status-badge.inactive,
body.dark-mode .promo-status-badge.paused,
body.dark-mode .promo-status-badge.inactive {
    background: #252e3d;
    border-color: var(--ink-dark-border-strong);
    color: #b8c3d1;
}
html[data-theme="dark"] .promo-card-price del,
body.dark-mode .promo-card-price del {
    color: #8f9bae;
}
html[data-theme="dark"] .promo-card-price em,
body.dark-mode .promo-card-price em {
    background: #173429;
    color: #7bd6a7;
}
html[data-theme="dark"] .promo-card-item,
body.dark-mode .promo-card-item {
    color: #e8edf4;
}
html[data-theme="dark"] .category-link,
body.dark-mode .category-link {
    color: #bdc8d7;
}
html[data-theme="dark"] .category-link:hover,
body.dark-mode .category-link:hover {
    color: #fff;
}
html[data-theme="dark"] .post-share-button,
body.dark-mode .post-share-button {
    background: var(--ink-dark-surface-2);
    border-color: var(--ink-dark-border);
    color: var(--ink-dark-text);
}
html[data-theme="dark"] .post-share-button:hover,
body.dark-mode .post-share-button:hover {
    background: #283245;
    border-color: #526078;
}
html[data-theme="dark"] .post-share-menu,
body.dark-mode .post-share-menu {
    background: var(--ink-dark-surface) !important;
    border-color: rgba(255,255,255,.12) !important;
}
html[data-theme="dark"] .post-share-menu .dropdown-item,
body.dark-mode .post-share-menu .dropdown-item {
    color: #e5e7eb !important;
}
html[data-theme="dark"] .post-share-menu .dropdown-item:hover,
html[data-theme="dark"] .post-share-menu .dropdown-item:focus,
body.dark-mode .post-share-menu .dropdown-item:hover,
body.dark-mode .post-share-menu .dropdown-item:focus {
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
}
/* ===== MIGRATED FROM pages/news/index.php ===== */
html[data-theme="dark"] .news-page-modern {
    background: linear-gradient(180deg, #07111f 0%, #0a1322 100%);
    color: #eef4fb;
}
html[data-theme="dark"] .news-card-modern,
html[data-theme="dark"] .news-featured-card,
html[data-theme="dark"] .news-widget,
html[data-theme="dark"] .news-hero-tools,
html[data-theme="dark"] .news-mini-stat,
html[data-theme="dark"] .news-category-link-modern,
html[data-theme="dark"] .news-empty-state {
    background: #0d1929;
    border-color: rgba(255,255,255,.1);
}
html[data-theme="dark"] .news-title-link,
html[data-theme="dark"] .news-card-title,
html[data-theme="dark"] .news-widget h3,
html[data-theme="dark"] .news-empty-state h3,
html[data-theme="dark"] .news-mini-stat strong,
html[data-theme="dark"] .news-hero-title {
    color: #fff;
}
html[data-theme="dark"] .news-search-modern,
html[data-theme="dark"] .news-category-link-modern {
    background: #111f32;
}
html[data-theme="dark"] .news-search-modern input,
html[data-theme="dark"] .news-category-link-modern {
    color: #eaf1fa;
}
html[data-theme="dark"] .news-page-modern,
body.dark-mode.news-page-modern {
    background: #1a1f2c;
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .news-results-pill,
html[data-theme="dark"] .news-clear-link,
html[data-theme="dark"] .news-featured-badge,
html[data-theme="dark"] .news-tag-chip,
body.dark-mode .news-results-pill,
body.dark-mode .news-clear-link,
body.dark-mode .news-featured-badge,
body.dark-mode .news-tag-chip {
    background: var(--ink-dark-surface);
    border-color: var(--ink-dark-border);
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .news-card-modern,
html[data-theme="dark"] .news-featured-card,
html[data-theme="dark"] .news-widget,
html[data-theme="dark"] .news-empty-state,
body.dark-mode .news-card-modern,
body.dark-mode .news-featured-card,
body.dark-mode .news-widget,
body.dark-mode .news-empty-state {
    background: var(--ink-dark-surface);
    border-color: var(--ink-dark-border);
    box-shadow: none;
}
html[data-theme="dark"] .news-search-modern,
html[data-theme="dark"] .news-category-link-modern,
body.dark-mode .news-search-modern,
body.dark-mode .news-category-link-modern {
    background: var(--ink-dark-surface-2);
    border-color: var(--ink-dark-border);
}
html[data-theme="dark"] .news-search-modern input,
body.dark-mode .news-search-modern input {
    color: var(--ink-dark-text);
}
html[data-theme="dark"] .news-search-modern input::placeholder,
body.dark-mode .news-search-modern input::placeholder {
    color: #8e9aac;
}
html[data-theme="dark"] .news-title-link,
html[data-theme="dark"] .news-card-title,
html[data-theme="dark"] .news-featured-title,
html[data-theme="dark"] .news-section-heading h2,
html[data-theme="dark"] .news-widget h3,
html[data-theme="dark"] .news-empty-state h3,
body.dark-mode .news-title-link,
body.dark-mode .news-card-title,
body.dark-mode .news-featured-title,
body.dark-mode .news-section-heading h2,
body.dark-mode .news-widget h3,
body.dark-mode .news-empty-state h3 {
    color: var(--ink-dark-text);
}
html[data-theme="dark"] .news-featured-excerpt,
html[data-theme="dark"] .news-card-excerpt,
html[data-theme="dark"] .news-meta-row,
html[data-theme="dark"] .news-section-heading p,
body.dark-mode .news-featured-excerpt,
body.dark-mode .news-card-excerpt,
body.dark-mode .news-meta-row,
body.dark-mode .news-section-heading p {
    color: var(--ink-dark-muted);
}
html[data-theme="dark"] .news-category-link-modern:hover,
html[data-theme="dark"] .news-category-link-modern.is-active,
body.dark-mode .news-category-link-modern:hover,
body.dark-mode .news-category-link-modern.is-active {
    background: #283245;
    border-color: #526078;
    color: #fff;
}
html[data-theme="dark"] .news-pagination .page-link,
body.dark-mode .news-pagination .page-link {
    background: var(--ink-dark-surface);
    border-color: var(--ink-dark-border);
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .news-pagination .page-item.active .page-link,
body.dark-mode .news-pagination .page-item.active .page-link {
    background: var(--ink-dark-primary-hover);
    border-color: var(--ink-dark-primary-hover);
    color: #fff;
}
/* ===== MIGRATED FROM pages/faq/index.php ===== */
html[data-theme="dark"] .faq-page,
body.dark-mode .faq-page {
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .faq-page .accordion,
html[data-theme="dark"] .faq-page .accordion-item,
html[data-theme="dark"] .faq-page .accordion-button,
html[data-theme="dark"] .faq-page .accordion-body,
body.dark-mode .faq-page .accordion,
body.dark-mode .faq-page .accordion-item,
body.dark-mode .faq-page .accordion-button,
body.dark-mode .faq-page .accordion-body {
    background: var(--ink-dark-surface);
    border-color: var(--ink-dark-border);
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .faq-page .accordion-button:hover,
body.dark-mode .faq-page .accordion-button:hover {
    background: #283245;
}
html[data-theme="dark"] .faq-page .accordion-button:not(.collapsed),
body.dark-mode .faq-page .accordion-button:not(.collapsed) {
    background: var(--ink-dark-primary-hover);
    color: #fff;
}
html[data-theme="dark"] .faq-page .accordion-button.collapsed::after,
body.dark-mode .faq-page .accordion-button.collapsed::after {
    filter: brightness(0) invert(1) opacity(.75);
}
html[data-theme="dark"] .faq-page .accordion-body a,
body.dark-mode .faq-page .accordion-body a {
    color: #8fc1ff;
}
/* ===== MIGRATED FROM pages/create-account/index.php ===== */
html[data-theme="dark"] .create-account-page,
body.dark-mode .create-account-page {
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .signup-shell,
html[data-theme="dark"] .signup-faq .accordion-item,
html[data-theme="dark"] .signup-faq .accordion-button,
html[data-theme="dark"] .signup-faq .accordion-body,
body.dark-mode .signup-shell,
body.dark-mode .signup-faq .accordion-item,
body.dark-mode .signup-faq .accordion-button,
body.dark-mode .signup-faq .accordion-body {
    background: var(--ink-dark-surface);
    border-color: var(--ink-dark-border);
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .signup-form,
body.dark-mode .signup-form {
    border-color: var(--ink-dark-border);
}
html[data-theme="dark"] .signup-form .form-label,
html[data-theme="dark"] .signup-faq h2,
body.dark-mode .signup-form .form-label,
body.dark-mode .signup-faq h2 {
    color: #f3f6fa;
}
html[data-theme="dark"] .signup-form .form-control,
body.dark-mode .signup-form .form-control {
    background: var(--ink-dark-surface-2);
    border-color: var(--ink-dark-border);
    color: var(--ink-dark-text);
}
html[data-theme="dark"] .signup-form .form-control::placeholder,
body.dark-mode .signup-form .form-control::placeholder {
    color: #8e9aad;
}
html[data-theme="dark"] .signup-form .form-check-input,
body.dark-mode .signup-form .form-check-input {
    background-color: var(--ink-dark-surface-2);
    border-color: #536078;
}
html[data-theme="dark"] .signup-form .form-check-input:checked,
body.dark-mode .signup-form .form-check-input:checked {
    background-color: var(--ink-dark-primary-hover);
    border-color: var(--ink-dark-primary-hover);
}
html[data-theme="dark"] .signup-form .form-check-label,
body.dark-mode .signup-form .form-check-label {
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .signup-form .form-text,
html[data-theme="dark"] .signup-faq p,
body.dark-mode .signup-form .form-text,
body.dark-mode .signup-faq p {
    color: var(--ink-dark-muted);
}
html[data-theme="dark"] .password-strength,
body.dark-mode .password-strength {
    background: #364155;
}
html[data-theme="dark"] .signup-faq .accordion-button:not(.collapsed),
body.dark-mode .signup-faq .accordion-button:not(.collapsed) {
    background: var(--ink-dark-primary-hover);
    color: #fff;
}
html[data-theme="dark"] .signup-submit,
body.dark-mode .signup-submit {
    background: var(--ink-dark-primary-hover);
    border-color: var(--ink-dark-primary-hover);
}
html[data-theme="dark"] .signup-submit:hover,
body.dark-mode .signup-submit:hover {
    background: var(--ink-dark-primary-hover);
    border-color: var(--ink-dark-primary-hover);
}
@media (max-width: 991.98px){html[data-theme="dark"] .signup-form,
    body.dark-mode .signup-form {
        border-bottom-color: var(--ink-dark-border);
    }}
/* ===== MIGRATED FROM pages/about/index.php ===== */
html[data-theme="dark"] .about-page,
body.dark-mode .about-page {
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .about-page .section-title,
body.dark-mode .about-page .section-title,
html[data-theme="dark"] .about-page h5,
body.dark-mode .about-page h5 {
    color: var(--ink-dark-text);
}
html[data-theme="dark"] .about-note,
html[data-theme="dark"] .about-soft-section,
html[data-theme="dark"] .about-value-card,
body.dark-mode .about-note,
body.dark-mode .about-soft-section,
body.dark-mode .about-value-card {
    background: var(--ink-dark-surface);
    border-color: var(--ink-dark-border);
    color: var(--ink-dark-text-soft);
}
html[data-theme="dark"] .about-icon,
body.dark-mode .about-icon {
    color: #d7838f;
}

/* ===== MIGRATED FROM pages/index.php ===== */
[data-bs-theme="dark"] .support-page,
body.dark .support-page,
body.dark-mode .support-page {
  --support-bg-soft: var(--ink-dark-bg);
  --support-border: var(--ink-dark-border);
  --support-muted: var(--ink-dark-muted);
  --support-card: var(--ink-dark-surface);
  --support-text: var(--ink-dark-text);
}
/* ===== MIGRATED FROM pages/support/view.php ===== */
html[data-theme="dark"] .ticket-page,
body.dark .ticket-page,
body.dark-mode .ticket-page {
  --ticket-bg: var(--ink-dark-bg);
  --ticket-card: var(--ink-dark-surface);
  --ticket-soft: var(--ink-dark-surface-2);
  --ticket-soft-2: #182234;
  --ticket-border: rgba(255, 255, 255, .105);
  --ticket-border-strong: rgba(255, 255, 255, .16);
  --ticket-text: var(--ink-dark-text);
  --ticket-muted: #aab2c0;
  --ticket-muted-2: #818b9d;
  --ticket-accent: var(--ink-dark-text);
  --ticket-shadow: 0 20px 55px rgba(0, 0, 0, .22);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, .07), transparent 34%),
    linear-gradient(180deg, var(--ink-dark-bg) 0%, var(--ink-dark-surface-2) 100%);
}
html[data-theme="dark"] .ticket-back,
body.dark .ticket-back,
body.dark-mode .ticket-back {
  background: rgba(17, 24, 39, .72);
}
html[data-theme="dark"] .ticket-hero,
body.dark .ticket-hero,
body.dark-mode .ticket-hero {
  background: rgba(17, 24, 39, .86);
}
/* ===== MIGRATED FROM pages/support/index.php ===== */
[data-bs-theme="dark"] .support-page,
body.dark .support-page,
body.dark-mode .support-page {
  --support-bg-soft: var(--ink-dark-bg);
  --support-border: var(--ink-dark-border);
  --support-muted: var(--ink-dark-muted);
  --support-card: var(--ink-dark-surface);
  --support-text: var(--ink-dark-text);
}

/* =========================================================
   INKMANA 20260811 SUPPORT/NEWS FINAL DARK NORMALIZATION
   ========================================================= */
html[data-theme="dark"] .support-page {
  --support-bg-soft: var(--ink-dark-surface-2);
  --support-border: var(--ink-dark-border);
  --support-muted: var(--ink-dark-muted);
  --support-card: var(--ink-dark-surface);
  --support-text: var(--ink-dark-text);
  background: var(--ink-dark-bg) !important;
  color: var(--ink-dark-text) !important;
}
html[data-theme="dark"] .support-page .support-hero,
html[data-theme="dark"] .support-page main,
html[data-theme="dark"] .support-page section {
  color: var(--ink-dark-text);
}
html[data-theme="dark"] .support-page .support-hero {
  background: var(--ink-dark-surface) !important;
  border-color: var(--ink-dark-border) !important;
}
html[data-theme="dark"] .support-page .support-card,
html[data-theme="dark"] .support-page .support-form-card,
html[data-theme="dark"] .support-page .support-info-box {
  background: var(--ink-dark-surface) !important;
  border-color: var(--ink-dark-border) !important;
  color: var(--ink-dark-text) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .support-page .support-info-box {
  background: var(--ink-dark-surface-2) !important;
}
html[data-theme="dark"] .support-page .support-icon {
  background: var(--ink-dark-surface-2) !important;
  border-color: var(--ink-dark-border) !important;
  color: var(--ink-dark-text-soft) !important;
}
html[data-theme="dark"] .support-page :is(h1,h2,h3,h4,h5,h6,.form-label) { color:var(--ink-dark-text)!important; }
html[data-theme="dark"] .support-page .support-muted,
html[data-theme="dark"] .support-page .lead { color:var(--ink-dark-muted)!important; }
html[data-theme="dark"] .support-page .support-card {
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease !important;
}
html[data-theme="dark"] .support-page .support-card:hover {
  background:var(--ink-dark-hover-surface)!important;
  border-color:var(--ink-dark-border-strong)!important;
  transform:translateY(-2px);
}
html[data-theme="dark"] .ticket-page {
  background: var(--ink-dark-bg) !important;
  padding-bottom: 28px !important;
  margin-bottom: 0 !important;
}
html[data-theme="dark"] .ticket-page .ticket-hero,
html[data-theme="dark"] .ticket-page .ticket-panel,
html[data-theme="dark"] .ticket-page .ticket-sidebar-card,
html[data-theme="dark"] .ticket-page .ticket-related-box {
  background: var(--ink-dark-surface) !important;
  border-color: var(--ink-dark-border) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .ticket-page .ticket-related-box:hover,
html[data-theme="dark"] .ticket-page .ticket-sidebar-card:hover {
  background: var(--ink-dark-hover-surface) !important;
  border-color: var(--ink-dark-border-strong) !important;
}
html[data-theme="dark"] .news-pagination .page-item.active .page-link,
body.dark-mode .news-pagination .page-item.active .page-link {
  background:var(--ink-dark-active-bg)!important;
  border-color:var(--ink-dark-active-bg)!important;
  color:var(--ink-dark-active-text)!important;
}
html[data-theme="dark"] .news-pagination .page-link:hover,
body.dark-mode .news-pagination .page-link:hover {
  background:var(--ink-dark-hover-surface)!important;
  border-color:var(--ink-dark-border-strong)!important;
  color:#fff!important;
}

/* INKMANA 20260811 SQUARE NEWS DROPDOWNS */
html[data-theme="dark"] .post-share-menu,
html[data-theme="dark"] .post-share-menu .dropdown-item { border-radius:0!important; }

/* =========================================================
   INKMANA 20260811 CONTENT INTERACTION SECOND PASS
   ========================================================= */
html[data-theme="dark"] .support-page .support-hero {
  border-top: 1px solid var(--ink-dark-border) !important;
}

html[data-theme="dark"] .promo-card-item,
body.dark-mode .promo-card-item {
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
html[data-theme="dark"] .promo-card-item:hover,
body.dark-mode .promo-card-item:hover {
  background: var(--ink-dark-hover-surface) !important;
  border-color: var(--ink-dark-border-strong) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.16) !important;
  transform: translateY(-2px) !important;
}

html[data-theme="dark"] :is(.wishlist-product-card, .review-product-card) {
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
html[data-theme="dark"] :is(.wishlist-product-card, .review-product-card):hover {
  background: var(--ink-dark-hover-surface) !important;
  border-color: var(--ink-dark-border-strong) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.16) !important;
  transform: translateY(-2px) !important;
}
html[data-theme="dark"] .review-product-card:hover .review-product-body,
html[data-theme="dark"] .wishlist-product-card:hover .wishlist-product-body {
  background: transparent !important;
}
