/*
Theme Name: Novarkus-theme
Theme URI: https://novarkuspharma.com/
Author: Rahul
Author URI: https://novarkuspharma.com/
Description: Ultra-modern, high-tech pharmaceutical and biotechnology WordPress theme engineered for Elementor Page Builder. Features interactive molecular canvas, clinical methodology timelines, responsive bento grids, dynamic product portfolio, and full-width canvas templates.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novarkus
Tags: elementor, healthcare, medical, biotechnology, responsive-layout, full-width-template, custom-menu, featured-images, translation-ready, dark-mode, custom-logo
*/

@import url('assets/css/style.css');

/* ==========================================================================
   WORDPRESS CORE STYLES & ALIGNMENT
   ========================================================================== */
.alignnone {
  margin: 1.5em 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 1.5em auto;
  text-align: center;
}

.alignright {
  float: right;
  margin: 0.5em 0 1.5em 1.5em;
}

.alignleft {
  float: left;
  margin: 0.5em 1.5em 1.5em 0;
}

.alignwide {
  margin-left: -40px;
  margin-right: -40px;
  max-width: 100vw;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

.wp-caption {
  max-width: 100%;
  background: var(--surface-pure, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-sm, 12px);
  padding: 8px;
  text-align: center;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xs, 6px);
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  margin: 8px 0 2px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   ELEMENTOR FULL-WIDTH & CANVAS CONTAINER OVERRIDES
   ========================================================================== */
.novarkus-elementor-fullwidth,
.novarkus-canvas {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--max-width, 1360px);
}

/* Standard Content Layout */
.site-content-area {
  padding: 120px 0 80px;
  min-height: 60vh;
}

.content-container {
  max-width: var(--max-width, 1360px);
  margin: 0 auto;
  padding: 0 24px;
}

.post-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

@media (max-width: 991px) {
  .post-layout-grid {
    grid-template-columns: 1fr;
  }
}

.main-post-body {
  background: #ffffff;
  padding: 36px;
  border-radius: 18px;
  border: 1px solid var(--border-light, #e2e8f0);
  box-shadow: var(--shadow-subtle, 0 2px 10px rgba(0,10,30,0.04));
}

.main-post-body h1,
.main-post-body h2,
.main-post-body h3,
.main-post-body h4 {
  color: var(--text-primary, #090e17);
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  font-family: var(--font-display, inherit);
}

.main-post-body p {
  margin-bottom: 1.4em;
  line-height: 1.75;
}

.sidebar-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: #ffffff;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--border-light, #e2e8f0);
}

.sidebar-widget h3.widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #090e17);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-blue, #005bb7);
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-widget ul li a {
  color: var(--text-secondary, #334155);
  transition: color 0.2s ease;
}

.sidebar-widget ul li a:hover {
  color: var(--primary-blue, #005bb7);
}

/* Pagination */
.novarkus-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.novarkus-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light, #e2e8f0);
  background: #ffffff;
  color: var(--text-secondary, #334155);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.novarkus-pagination .page-numbers.current,
.novarkus-pagination .page-numbers:hover {
  background: var(--primary-blue, #005bb7);
  color: #ffffff;
  border-color: var(--primary-blue, #005bb7);
}
