/* ================================================================
   PHARMA PORTAL — Tablet CSS (769px - 1024px)
   Separate file — NO conflicts with any other CSS
   All selectors scoped with .pharma- prefix
   ================================================================ */

/* ═══ CONTAINER ═══ */
.pharma-portal {
  padding: 0 20px 50px;
}

/* ═══ HERO — Balanced layout for tablets ═══ */
.pharma-hero {
  border-radius: 18px;
  padding: 32px 28px;
}

.pharma-hero-bg {
  width: 400px;
  height: 400px;
}

.pharma-hero-title {
  font-size: 32px;
}

.pharma-hero-sub {
  font-size: 14px;
  margin-bottom: 20px;
}

.pharma-hero-stats {
  width: 240px;
  gap: 12px;
}

.pharma-stat-val {
  font-size: 22px;
}

.pharma-stat-label {
  font-size: 10px;
}

.pharma-stat-icon {
  font-size: 18px;
}

.pharma-stat-icon [data-icon] {
  font-size: 18px;
}

/* ═══ BODIES STRIP — 3x2 grid ═══ */
.pharma-bodies-inner {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pharma-body-card {
  padding: 14px;
}

.pharma-body-name {
  font-size: 15px;
}

.pharma-body-full {
  font-size: 9px;
}

.pharma-body-desc {
  font-size: 10px;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══ FEATURED — 2-column layout ═══ */
.pharma-featured-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pharma-feat-large .pharma-feat-img {
  min-height: 240px;
}

.pharma-feat-body h3 {
  font-size: 15px;
}

.pharma-feat-body p {
  -webkit-line-clamp: 2;
  font-size: 12px;
}

/* REVERTABLE: Extended for large first story card */
.pharma-feat-large .pharma-feat-body p {
  -webkit-line-clamp: 4;
}

.pharma-feat-meta {
  font-size: 11px;
}

/* ═══ SUBMIT CTA ═══ */
.pharma-submit-cta {
  padding: 24px;
  border-radius: 16px;
}

.pharma-submit-inner {
  gap: 20px;
}

.pharma-submit-icon {
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.pharma-submit-icon [data-icon] {
  font-size: 20px;
}

.pharma-submit-title {
  font-size: 18px;
}

.pharma-submit-desc {
  font-size: 13px;
}

.pharma-submit-btn {
  padding: 10px 18px;
  font-size: 13px;
}

/* ═══ NEWS GRID — 2 columns ═══ */
.pharma-news-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.pharma-news-card {
  padding: 16px;
  border-radius: 12px;
}

.pharma-news-title {
  font-size: 14px;
}

.pharma-news-excerpt {
  -webkit-line-clamp: 2;
  font-size: 12px;
}

.pharma-news-footer {
  font-size: 11px;
}

.pharma-news-author,
.pharma-news-readmore {
  font-size: 11px;
}

/* ═══ SECTION TITLES ═══ */
.pharma-section-title h2 {
  font-size: 20px;
}

.pharma-stitle-icon {
  font-size: 20px;
}

/* ═══ BOTTOM CTA ═══ */
.pharma-bottom-cta {
  padding: 32px 28px;
  border-radius: 16px;
}

.pharma-bottom-inner h3 {
  font-size: 19px;
}

.pharma-bottom-inner p {
  font-size: 13px;
}

.pharma-bottom-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pharma-social-btn {
  padding: 10px 18px;
  font-size: 12px;
}

/* ═══ DATA STAMP ═══ */
.pharma-data-stamp {
  padding: 18px;
  font-size: 11px;
}

/* ═══ DARK MODE ═══ */
body.dark .pharma-body-card {
  background: var(--pharma-surface, #12261c);
}

body.dark .pharma-feat-placeholder {
  background: linear-gradient(135deg, #0f2318, #0c2e1f);
}

body.dark .pharma-hero-stat {
  background: var(--pharma-surface, #12261c);
}

.pharma-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.pharma-news-card-img {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.pharma-news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
