/* ==========================================================================
   clarisabannan.my.id - custom layer on top of the Gridlove theme
   ========================================================================== */

@font-face {
  font-family: 'Cabin';
  src: url('assets/fonts/cabin-400-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('assets/fonts/lato-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('assets/fonts/lato-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('assets/fonts/lato-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-ink: #0b1220;
  --ink: #101828;
  --text: #475467;
  --muted: #667085;
  --line: #e6eaf0;
  --surface: #ffffff;
  --canvas: #f4f6fb;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-hover: 0 2px 4px rgba(16, 24, 40, .05), 0 16px 40px rgba(16, 24, 40, .12);
  --font-head: 'Cabin', 'Segoe UI', sans-serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  padding-top: 0 !important;
  background: var(--canvas) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-head) !important;
  color: var(--ink) !important;
  font-weight: 700 !important;
  line-height: 1.2;
  letter-spacing: -.015em;
}
a { transition: color .18s ease, background .18s ease, border-color .18s ease; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; }
::selection { background: rgba(37, 99, 235, .18); }

/* ---------- header ---------- */
.gridlove-site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: none !important;
}
.gridlove-header-middle { height: 86px !important; }
.gridlove-header-1 {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gridlove-header-wrapper { background: #fff; }
.gridlove-site-branding { display: flex; align-items: center; }
.site-title { margin: 0 !important; font-size: 25px !important; letter-spacing: -.03em; }
.site-title a {
  color: var(--ink) !important;
  display: inline;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none !important;
}
.site-title a:hover { color: var(--brand) !important; }
.site-title .brand-dot { color: var(--brand); }
.site-title .brand-tld { color: #667085; font-weight: 400; }
.gridlove-slot-r { display: flex; align-items: center; gap: 18px; }
.gridlove-main-navigation { display: flex; align-items: center; }
.gridlove-main-nav { display: flex !important; align-items: center; gap: 2px; }
.gridlove-main-nav > li > a {
  font-family: var(--font-head) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  color: #344054 !important;
  padding: 10px 12px !important;
  border-radius: 8px;
  display: block;
}
.gridlove-main-nav > li > a:hover,
.gridlove-main-nav > li.current-menu-item > a {
  color: var(--brand) !important;
  background: #eff4ff;
}
.gridlove-main-nav > li.nav-cta > a {
  background: var(--brand) !important;
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  margin-left: 8px;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .22);
}
.gridlove-main-nav > li.nav-cta > a:hover { background: var(--brand-dark) !important; color: #fff !important; }
.gridlove-header-sticky, .gridlove-header-responsive { display: none !important; }

/* mobile header */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.mobile-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -.03em;
  text-decoration: none !important;
}
.mobile-brand span { color: var(--brand); }
.mobile-toggle {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.mobile-toggle i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 0 16px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  color: var(--ink) !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1px solid #f2f4f7;
  text-decoration: none !important;
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { color: var(--brand) !important; }

/* ---------- cover ---------- */
.gridlove-cover-area { height: 500px !important; margin: 0 0 30px !important; }
.gridlove-cover-area .gridlove-cover-bg img {
  width: 100% !important;
  height: 500px !important;
  object-fit: cover;
}
.gridlove-cover-content {
  width: 100% !important;
  max-width: 1200px;
  padding: 0 30px;
  left: 0;
  right: 0;
  position: absolute;
  top: 0;
  height: 100%;
}
.gridlove-cover-content .entry-header {
  max-width: 660px;
  margin-left: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 0 4px;
}
.gridlove-cover-area .gridlove-cover-bg:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 12, 26, .86) 0%, rgba(5, 12, 26, .62) 45%, rgba(5, 12, 26, .18) 100%);
  z-index: 2;
}
.gridlove-cover-content { z-index: 5 !important; }
.gridlove-cover-content .entry-header { max-width: 660px; }
.gridlove-cover-content .entry-title { font-size: 42px !important; line-height: 1.14 !important; margin: 14px 0 16px; }
.gridlove-cover-content .entry-title a { color: #fff !important; }
.gridlove-cover-content .entry-title a:hover { color: #dbeafe !important; }
.gridlove-cover-content .entry-content p { color: rgba(255, 255, 255, .82); font-size: 16px; max-width: 580px; }
.gridlove-cover-content .entry-meta .meta-item,
.gridlove-cover-content .entry-meta a,
.gridlove-cover-content .entry-meta span { color: rgba(255, 255, 255, .78); }
.cover-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 2px;
}
.gridlove-cover-content .entry-category { margin-top: 8px; }

/* ---------- category chips ---------- */
.gridlove-cat, .entry-category a {
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 10px !important;
  line-height: 1.3 !important;
  display: inline-block;
  color: #fff !important;
  background: var(--brand) !important;
}
.gridlove-cat:hover, .entry-category a:hover { filter: brightness(.92); color: #fff !important; }
.cat-ecommerce { background: #2563eb !important; }
.cat-ai-automation { background: #7c3aed !important; }
.cat-cybersecurity { background: #dc2626 !important; }
.cat-mobile-app { background: #059669 !important; }
.cat-it-consulting { background: #d97706 !important; }
.cat-ai-automation-soft { color: #6d28d9 !important; background: #f3e8ff !important; }

/* ---------- module headers ---------- */
.gridlove-module { margin-bottom: 40px; }
.module-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.module-title h2, .module-title .h2 {
  font-size: 24px !important;
  margin: 0 !important;
  letter-spacing: -.02em;
  position: relative;
}
.module-title h2:after {
  content: '';
  position: absolute;
  left: 0; bottom: -14px;
  width: 54px; height: 3px;
  background: var(--brand);
  border-radius: 3px;
}
.module-desc { color: var(--muted); font-size: 14px; }
.module-actions a, .view-all {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--brand) !important;
  background: #eff4ff;
  border-radius: 999px;
  padding: 7px 14px;
  text-decoration: none !important;
}
.module-actions a:hover, .view-all:hover { background: var(--brand); color: #fff !important; }

/* ---------- cards ---------- */
.gridlove-box {
  background: var(--surface) !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
article.gridlove-box:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.gridlove-post { margin-bottom: 26px; height: auto !important; }
.gridlove-post .entry-image { overflow: hidden; }
.gridlove-post .entry-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .35s ease;
  display: block;
}
.gridlove-post:hover .entry-image img { transform: scale(1.035); }
.gridlove-post .entry-image a { display: block; position: relative; }
.gridlove-post .entry-image .entry-category {
  position: absolute;
  left: 14px; top: 14px;
  z-index: 3;
  width: auto !important;
  display: inline-block;
}
.gridlove-post .entry-image .entry-category a,
.entry-category a {
  display: inline-block !important;
  width: auto !important;
}
.gridlove-post .entry-meta {
  position: static !important;
  bottom: auto !important;
}
.gridlove-post .box-inner-p {
  position: static !important;
  top: auto !important;
  transform: none !important;
  text-align: left !important;
  padding: 18px 20px 20px;
}
.gridlove-post .entry-title {
  font-size: 20px !important;
  line-height: 1.3 !important;
  margin: 0 0 9px !important;
}
.gridlove-post .entry-title a { color: var(--ink) !important; text-decoration: none !important; }
.gridlove-post .entry-title a:hover { color: var(--brand) !important; }
.gridlove-post .entry-content p { font-size: 14px; color: var(--muted); margin-bottom: 0; line-height: 1.6; }
.gridlove-post .entry-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid #f2f4f7;
  font-size: 11.5px;
}
.gridlove-post .entry-meta .meta-item { white-space: nowrap; }
.gridlove-post .entry-meta .meta-item,
.gridlove-post .entry-meta a,
.gridlove-post .entry-meta span { color: #667085 !important; }
.gridlove-post .box-inner-ellipsis { height: auto !important; max-height: none !important; }

/* featured big card */
.post-featured .box-inner-p { padding: 24px 26px 26px; }
.post-featured .entry-title { font-size: 30px !important; line-height: 1.2 !important; }
.post-featured .entry-content p { font-size: 15px; }
.post-featured .entry-meta { border-top: 0; padding-top: 0; margin-top: 16px; }

/* list card (text only) */
.post-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eef1f6; }
.post-line:last-child { border-bottom: 0; padding-bottom: 0; }
.post-line:first-child { padding-top: 0; }
.post-line img { width: 86px !important; height: 68px !important; object-fit: cover; border-radius: 8px; flex: 0 0 86px; }
.post-line h3 { font-size: 14.5px !important; line-height: 1.35; margin: 0 0 5px; }
.post-line h3 a { color: var(--ink) !important; text-decoration: none !important; }
.post-line h3 a:hover { color: var(--brand) !important; }
.post-line .line-meta { font-size: 11px; color: #98a2b3; text-transform: uppercase; letter-spacing: .04em; }

/* hero grid */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; margin-bottom: 42px; align-items: stretch; }
.hero-side { display: grid; gap: 14px; align-content: start; }
.mini-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
.mini-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.mini-img { display: block; overflow: hidden; }
.mini-img img { width: 100%; height: 100%; min-height: 128px; object-fit: cover; display: block; transition: transform .35s ease; }
.mini-card:hover .mini-img img { transform: scale(1.04); }
.mini-body { padding: 13px 16px 13px; display: flex; flex-direction: column; align-items: flex-start; }
.mini-cat {
  font-size: 9.5px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff !important; padding: 4px 8px; border-radius: 999px; text-decoration: none !important;
  line-height: 1.3; display: inline-block; margin-bottom: 7px;
}
.mini-body h3 { font-size: 15.5px !important; line-height: 1.32 !important; margin: 0 0 8px; }
.mini-body h3 a { color: var(--ink) !important; text-decoration: none !important; }
.mini-body h3 a:hover { color: var(--brand) !important; }
.mini-meta { margin-top: auto; font-size: 11px; color: #98a2b3; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- homepage layout ---------- */
.home-content { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.home-main { min-width: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.section-head h2 { font-size: 24px; margin: 0; }
.section-head p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.section-head a { flex: 0 0 auto; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card-grid .gridlove-post { margin-bottom: 0; height: 100%; display: flex; flex-direction: column; }
.card-grid .gridlove-post .box-inner-p { flex: 1; display: flex; flex-direction: column; }
.card-grid .gridlove-post .entry-meta { margin-top: auto; }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cat-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0 0 42px; }
.cat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 16px; text-decoration: none !important;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 1px;
  align-content: center;
  min-height: 74px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cat-tile:hover { border-color: #c7d7fe; box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-tile .dot { width: 8px; height: 8px; border-radius: 50%; display: block; grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.cat-tile strong { font-family: var(--font-head); font-size: 13.5px; color: var(--ink); line-height: 1.3; grid-column: 2; grid-row: 1; }
.cat-tile > span:last-child { font-size: 11px; color: var(--muted); grid-column: 2; grid-row: 2; }

/* ---------- sidebar ---------- */
.gridlove-sidebar { background: transparent !important; }
.widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 24px !important;
}
.widget-title {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 14px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.widget p { font-size: 14px; color: var(--muted); }
.widget-about { text-align: left; }
.widget-about .avatar-mark {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(145deg, #2563eb, #0b1220);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 24px;
  margin-bottom: 12px;
}
.widget-about strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.widget-cats { list-style: none; margin: 0; padding: 0; }
.widget-cats li { border-bottom: 1px solid #f2f4f7; }
.widget-cats li:last-child { border-bottom: 0; }
.widget-cats a {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 9px 0; font-size: 13.5px; color: #344054 !important; text-decoration: none !important;
  font-family: var(--font-head); font-weight: 700;
}
.widget-cats a:hover { color: var(--brand) !important; }
.widget-cats .count { font-size: 11px; color: #98a2b3; font-weight: 400; }
.widget-newsletter { background: linear-gradient(150deg, #0b1220, #172554); border: 0; color: #fff; }
.widget-newsletter .widget-title { color: #fff !important; border-color: rgba(255,255,255,.16); }
.widget-newsletter p { color: #c7d2fe; }
.widget-newsletter input[type="email"] {
  width: 100%; height: 44px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; padding: 0 12px; margin-bottom: 10px;
}
.widget-newsletter input::placeholder { color: #94a3b8; }
.widget-newsletter button {
  width: 100%; height: 44px; border: 0; border-radius: 8px; background: #fff; color: #0b1220;
  font-family: var(--font-head); font-weight: 700; cursor: pointer;
}
.widget-newsletter button:hover { background: #dbeafe; }
.widget-note { font-size: 11px; color: #94a3b8; margin: 10px 0 0; }
.ad-slot {
  border-radius: var(--radius); border: 1px dashed #cbd5e1;
  padding: 22px; text-align: center; color: #667085; font-size: 12px;
  background: repeating-linear-gradient(45deg, #fff, #fff 10px, #f8fafc 10px, #f8fafc 20px);
}

/* ---------- breadcrumbs ---------- */
.breadcrumb { padding: 18px 0 6px; font-size: 12.5px; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--muted) !important; text-decoration: none !important; }
.breadcrumb a:hover { color: var(--brand) !important; }
.breadcrumb .sep { color: #cbd5e1; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---------- category hero ---------- */
.cat-hero {
  background: linear-gradient(140deg, #0b1220 0%, #172554 68%, #1e3a8a 100%);
  border-radius: 16px; color: #fff; padding: 44px 44px 40px; margin: 10px 0 30px;
  position: relative; overflow: hidden;
}
.cat-hero:after {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.35), transparent 68%);
}
.cat-hero .eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #93c5fd; font-weight: 700; }
.cat-hero h1 { color: #fff !important; font-size: 40px !important; margin: 10px 0 12px; }
.cat-hero p { color: #cbd5e1; max-width: 680px; margin: 0; font-size: 16px; }
.cat-hero .cat-count { margin-top: 18px; display: inline-block; font-size: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; color: #e2e8f0; }

/* ---------- article ---------- */
.single-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.article-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 34px 40px 38px; }
.entry-header .entry-category { margin-bottom: 10px; }
.entry-header h1.entry-title {
  font-size: 40px !important; line-height: 1.14 !important;
  margin: 4px 0 16px; letter-spacing: -.025em;
}
.single-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.single-meta .author-chip { display: inline-flex; align-items: center; gap: 8px; color: #344054; font-weight: 700; }
.author-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(145deg, #2563eb, #0b1220); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
}
.single-meta .dot-sep { width: 3px; height: 3px; background: #cbd5e1; border-radius: 50%; }
.entry-headline { margin: 24px 0; }
.entry-headline p {
  font-size: 19px !important; line-height: 1.6; color: #344054;
  border-left: 3px solid var(--brand); padding-left: 18px; margin: 0;
  font-family: var(--font-body);
}
.entry-content { font-size: 17px; line-height: 1.78; color: #3f4a5a; }
.entry-content > p:first-of-type { font-size: 17px; }
.entry-content p { margin-bottom: 20px; }
.entry-content h2 { font-size: 28px !important; margin: 40px 0 14px; scroll-margin-top: 100px; }
.entry-content h3 { font-size: 21px !important; margin: 30px 0 10px; }
.entry-content ul, .entry-content ol { margin: 0 0 22px 22px; padding: 0; }
.entry-content li { margin-bottom: 9px; padding-left: 4px; }
.entry-content li::marker { color: var(--brand); font-weight: 700; }
.entry-content a { color: var(--brand) !important; border-bottom: 1px solid rgba(37,99,235,.3); text-decoration: none !important; }
.entry-content a:hover { border-bottom-color: var(--brand); }
.entry-content figure { margin: 30px 0; }
.entry-content figure img { border-radius: 10px; width: 100%; display: block; box-shadow: 0 10px 30px rgba(16,24,40,.08); }
.entry-content figcaption {
  position: static !important;
  background: none !important;
  color: #98a2b3 !important;
  padding: 0 !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  font-size: 12.5px !important;
  margin: 9px 0 0 !important;
  line-height: 1.5;
  text-align: left;
}
.entry-content blockquote {
  margin: 28px 0; padding: 18px 22px; background: #f8fafc;
  border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0;
  color: #344054; font-style: italic;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content strong { color: #1d2939; }
.table-wrap { overflow-x: auto; margin: 26px 0 30px; border: 1px solid var(--line); border-radius: 10px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; background: #fff; table-layout: fixed; }
.entry-content th, .entry-content td { word-wrap: break-word; overflow-wrap: anywhere; white-space: normal !important; }
.entry-content thead th {
  background: #f8fafc; text-align: left; padding: 12px 14px;
  font-family: var(--font-head); font-size: 12px; text-transform: uppercase;
  letter-spacing: .05em; color: #344054; border-bottom: 1px solid var(--line);
}
.entry-content td { padding: 12px 14px; border-bottom: 1px solid #f2f4f7; vertical-align: top; color: #475467; }
.entry-content tbody tr:last-child td { border-bottom: 0; }
.entry-content tbody tr:hover { background: #fafbff; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.entry-tags a {
  font-size: 11px !important; text-transform: uppercase; letter-spacing: .05em;
  background: #f2f4f7 !important; color: #475467 !important;
  padding: 6px 11px; border-radius: 999px; border: 0 !important;
  text-decoration: none !important; font-weight: 700;
}
.entry-tags a:hover { background: var(--brand) !important; color: #fff !important; }

/* author box */
.author-box {
  margin-top: 26px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 26px; display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow);
}
.author-box .author-avatar-lg {
  width: 64px; height: 64px; border-radius: 16px; flex: 0 0 64px;
  background: linear-gradient(145deg, #2563eb, #0b1220); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 24px;
}
.author-box h4 { margin: 0 0 6px; font-size: 18px; }
.author-box p { margin: 0; font-size: 14px; color: var(--muted); }
.author-box .author-links { margin-top: 10px; font-size: 12px; }
.author-box .author-links a { color: var(--brand); text-decoration: none; }

/* prev next */
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.prev-next a {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px;
  text-decoration: none !important; display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow); transition: border-color .18s ease, transform .18s ease;
}
.prev-next a:hover { border-color: #c7d7fe; transform: translateY(-2px); }
.prev-next .pn-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #98a2b3; font-weight: 700; }
.prev-next .pn-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 14px; line-height: 1.4; }
.prev-next .next { text-align: right; }

/* related */
.related { margin-top: 44px; }
.related h2 { font-size: 24px; margin-bottom: 20px; }

/* ---------- static pages ---------- */
.page-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 40px 46px; }
.page-box h1 { font-size: 38px !important; margin-top: 0; }
.page-box h2 { font-size: 24px !important; margin-top: 34px; }
.page-box p, .page-box li { font-size: 16.5px; line-height: 1.78; color: #3f4a5a; }
.page-box a { color: var(--brand) !important; }
.page-box ul { margin-left: 22px; }

/* ---------- footer ---------- */
.gridlove-footer {
  background: #0b1220 !important; color: #cbd5e1 !important;
  margin-top: 50px; padding-top: 48px;
}
.gridlove-footer .widget { background: transparent; border: 0; box-shadow: none; padding: 0; margin-bottom: 28px !important; }
.gridlove-footer .widget-title { color: #fff !important; border-color: rgba(255,255,255,.12); }
.gridlove-footer a { color: #cbd5e1 !important; }
.gridlove-footer a:hover { color: #fff !important; }
.footer-brand {
  font-family: var(--font-head); font-weight: 700; font-size: 24px;
  color: #fff !important; letter-spacing: -.03em; text-decoration: none !important;
  display: inline-block; margin-bottom: 10px;
}
.footer-brand span { color: #60a5fa; }
.gridlove-footer p { color: #94a3b8; font-size: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; text-decoration: none !important; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; text-decoration: none !important;
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff !important; }
.footer-contact {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 10px; padding: 26px 0 8px;
}
.footer-contact h4 {
  color: #fff !important; font-size: 13px; text-transform: uppercase;
  letter-spacing: .1em; margin: 0 0 7px;
}
.footer-contact p { margin: 0; max-width: 660px; font-size: 13px; color: #94a3b8; line-height: 1.65; }
.footer-contact-links { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; }
.footer-contact-links a {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; color: #e2e8f0 !important; text-decoration: none !important;
}
.footer-contact-links a svg { flex: 0 0 auto; color: #60a5fa; }
.footer-contact-links a:hover { color: #fff !important; }
.gridlove-copyright {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 18px;
  padding: 18px 0; font-size: 12px; color: #94a3b8 !important;
}
.gridlove-copyright p { color: #94a3b8; margin: 0; }
.gridlove-copyright a { color: #cbd5e1 !important; }

/* ---------- misc ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 42px; height: 42px;
  border-radius: 50%; background: #0b1220; color: #fff; border: 0;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; z-index: 80; box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.back-top.show { display: inline-flex; }
.newsletter-inline {
  display: flex; gap: 10px; margin-top: 12px;
}
.newsletter-inline input {
  flex: 1; height: 42px; border-radius: 8px; border: 1px solid #d0d5dd;
  padding: 0 12px; font-size: 14px; min-width: 0;
}
.newsletter-inline button {
  height: 42px; border: 0; border-radius: 8px; background: var(--brand);
  color: #fff; padding: 0 18px; font-family: var(--font-head); font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.newsletter-inline button:hover { background: var(--brand-dark); }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); }
.about-card h3 { margin-top: 0; font-size: 18px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.stat { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 24px; color: var(--ink); }
.stat span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.contact-card { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.contact-card h3 { margin-top: 0; font-size: 16px; }
.contact-card p { margin-bottom: 6px; font-size: 14px; }

/* ---------- responsive ---------- */
@media (min-width: 992px) {
  .hidden-md-down { display: block !important; }
}
@media (max-width: 1100px) {
  .gridlove-main-nav > li > a { padding: 9px 8px !important; font-size: 13px !important; }
  .site-title { font-size: 22px !important; }
}
@media (max-width: 991px) {
  .gridlove-site-header { display: none !important; }
  .mobile-header { display: block; }
  .gridlove-cover-area, .gridlove-cover-area .gridlove-cover-bg img { height: 430px !important; }
  .gridlove-cover-content .entry-title { font-size: 32px !important; }
  .home-content, .single-wrap { grid-template-columns: 1fr; }
  .gridlove-sidebar { width: 100% !important; max-width: 100% !important; flex: none !important; }
  .hero-grid { grid-template-columns: 1fr; }
  .cat-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cat-tile { grid-column: span 2; }
  .cat-tile:nth-child(4), .cat-tile:nth-child(5) { grid-column: span 3; }
  .article-box, .page-box { padding: 28px 26px; }
  .entry-header h1.entry-title { font-size: 32px !important; }
  .cat-hero { padding: 32px 28px; }
  .cat-hero h1 { font-size: 32px !important; }
}
@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .gridlove-cover-area, .gridlove-cover-area .gridlove-cover-bg img { height: 400px !important; }
  .gridlove-cover-content { padding: 20px !important; }
  .gridlove-cover-content .entry-title { font-size: 26px !important; }
  .gridlove-cover-content .entry-content { display: none; }
  .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .hero-side .gridlove-post { grid-template-columns: 110px 1fr; }
  .mini-card { grid-template-columns: 108px minmax(0, 1fr); }
  .cat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tile, .cat-tile:nth-child(4), .cat-tile:nth-child(5) { grid-column: auto; }
  .cat-tile:last-child { grid-column: 1 / -1; }
  .entry-content { font-size: 16px; }
  .entry-content h2 { font-size: 24px !important; }
  .entry-content h3 { font-size: 19px !important; }
  .article-box, .page-box { padding: 22px 18px; }
  .entry-header h1.entry-title { font-size: 27px !important; }
  .entry-headline p { font-size: 17px !important; }
  .single-meta { gap: 8px 12px; }
  .single-meta .dot-sep { display: none; }
  .prev-next { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 22px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .module-title h2 { font-size: 21px !important; }
}
@media (max-width: 480px) {
  .cat-strip { grid-template-columns: 1fr 1fr; }
  .gridlove-cover-area, .gridlove-cover-area .gridlove-cover-bg img { height: 370px !important; }
  .entry-content figure { margin: 24px -4px; }
}

/* Contact page links */
.contact-link{color:var(--brand,#2563eb);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere;transition:color .18s ease,text-decoration-thickness .18s ease}
.contact-link:hover{color:var(--brand-dark,#1d4ed8);text-decoration-thickness:2px}
