/* ==========================================================================
   ORINTON LAW FIRM — INVESTMENT NEWS PAGE STYLES (PAGE-SCOPED)
   Preserves approved #0F2A1D / #F4F1EA / #E8EDE6 / #C6A664 system
   without modifying any other pages.
   ========================================================================== */

/* Keep solid dark green header on article detail page (no dark hero behind top bar) */
.article-detail-page .site-header {
  background: #0F2A1D;
  border-bottom-color: rgba(198, 166, 100, 0.25);
}

/* Fit 8-item navigation cleanly on Investment News header */
.news-page .primary-nav a {
  padding: 7px 11px;
  font-size: 0.78rem;
}

.news-page .header-inner {
  gap: 12px;
}

.news-page .header-actions .btn {
  padding: 8px 13px;
  font-size: 0.76rem;
}

@media (max-width: 1320px) {
  .news-page .header-actions .btn-wa-header {
    display: none;
  }
}

@media (max-width: 1200px) {
  .news-page .primary-nav {
    display: none;
  }
  .news-page .menu-toggle {
    display: inline-flex;
  }
}

/* Main 2-Column Editorial Grid: Green Investment (Left) + Green Articles (Right Sidebar) */
.news-editorial-layout {
  display: grid;
  grid-template-columns: 1.58fr 0.92fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.news-col-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.news-col-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 2px;
  background: var(--gold);
}

.news-col-heading h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.news-col-heading span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8E7136;
}

/* Left Column: Horizontal Feature Cards (Photo Left + Text Right + READ MORE) */
.feature-news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-news-card {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.35s var(--ease-editorial), border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-editorial);
  z-index: 3;
}

.feature-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 166, 100, 0.55);
}

.feature-news-card:hover::before {
  transform: scaleX(1);
}

.feature-news-card__media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: var(--green-900);
}

.feature-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-editorial);
}

.feature-news-card:hover .feature-news-card__media img {
  transform: scale(1.05);
}

.feature-news-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(15, 42, 29, 0.84);
  border: 1px solid rgba(198, 166, 100, 0.38);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-news-card__body {
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.feature-news-card__title {
  font-size: clamp(1.22rem, 1.8vw, 1.48rem);
  line-height: 1.18;
  margin-bottom: 10px;
  color: var(--green-950);
}

.feature-news-card__title a:hover {
  color: var(--green-800);
}

.feature-news-card__excerpt {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

.feature-news-card__foot {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--green-950);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.25s var(--ease-editorial);
}

.read-more-btn:hover {
  background: var(--green-800);
  transform: translateY(-1px);
}

.read-more-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease-editorial);
}

.read-more-btn:hover svg {
  transform: translateX(4px);
}

/* Right Column Sidebar: GREEN ARTICLES */
.green-articles-sidebar {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 2.8vw, 30px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.sidebar-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-article-item {
  border-bottom: 1px solid var(--border-light);
}

.sidebar-article-item:last-child {
  border-bottom: 0;
}

.sidebar-article-link {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: start;
  padding-block: 14px;
  transition: background-color 0.2s ease;
}

.sidebar-article-item:first-child .sidebar-article-link {
  padding-top: 4px;
}

.sidebar-article-item:last-child .sidebar-article-link {
  padding-bottom: 2px;
}

.sidebar-article-thumb {
  width: 82px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--green-900);
  flex-shrink: 0;
}

.sidebar-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-editorial);
}

.sidebar-article-link:hover .sidebar-article-thumb img {
  transform: scale(1.05);
}

.sidebar-article-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--green-950);
  margin: 0 0 6px;
  transition: color 0.2s ease;
}

.sidebar-article-link:hover .sidebar-article-title {
  color: #8E7136;
}

.sidebar-article-meta {
  font-size: 0.74rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  line-height: 1.35;
}

.sidebar-article-meta strong {
  color: var(--green-950);
  font-weight: 600;
}

/* Section: NUSANTARA CAPITAL CITY (3-Card Grid) */
.ikn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ikn-card {
  background: var(--green-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease-editorial), border-color 0.35s ease;
}

.ikn-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-editorial);
  z-index: 3;
}

.ikn-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 166, 100, 0.48);
}

.ikn-card:hover::before {
  transform: scaleX(1);
}

.ikn-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-950);
}

.ikn-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-editorial);
}

.ikn-card:hover .ikn-card__media img {
  transform: scale(1.05);
}

.ikn-card__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.ikn-card__meta {
  font-size: 0.76rem;
  color: var(--gold-light);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-weight: 500;
}

.ikn-card__title {
  font-size: 1.24rem;
  line-height: 1.22;
  color: var(--white);
  margin: 0;
  flex: 1;
}

.ikn-card__title a:hover {
  color: var(--gold-light);
}

.ikn-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.ikn-card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease-editorial);
}

.ikn-card:hover .ikn-card__link svg {
  transform: translateX(5px);
}

/* Archive Notice for Pages 2..10 */
.ikn-archive-notice {
  background: var(--green-900);
  border: 1px dashed var(--gold-line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  color: var(--on-dark);
}

.ikn-archive-notice h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.ikn-archive-notice p {
  margin: 0 auto 18px;
  max-width: 560px;
  color: var(--on-dark-muted);
  font-size: 0.94rem;
}

/* Pagination: 1 2 3 ... 10 */
.news-pagination {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.page-btn {
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(244, 241, 234, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--gold);
  background: rgba(198, 166, 100, 0.16);
}

.page-btn.is-active,
.page-btn[aria-current="page"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-950);
  font-weight: 800;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-ellipsis {
  color: var(--on-dark-muted);
  padding-inline: 6px;
  font-weight: 600;
  user-select: none;
}

/* Footer Grid Adjustment for Investment News (Useful Links + Navigation + Contact) */
.news-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.15fr 1.2fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}

.prev-contact-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(198, 166, 100, 0.1);
  border: 1px dashed rgba(198, 166, 100, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--gold-light);
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .news-editorial-layout {
    grid-template-columns: 1fr;
  }
  .ikn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .feature-news-card {
    grid-template-columns: 1fr;
  }
  .feature-news-card__media {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }
  .ikn-grid,
  .news-footer-grid {
    grid-template-columns: 1fr;
  }
}
