/* =========================================================
   Kianbotkwam Theme CSS
   Primary Font: Sarabun
   Version: 1.5.0
   ========================================================= */

/* ---------------------------------------------------------
   0. Reset / Variables
   --------------------------------------------------------- */

@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------
   Kokood Travel Homepage
   --------------------------------------------------------- */

.kokood-home {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 36%, #f8fbf7 100%);
}

.kokood-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 70px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(20, 184, 166, 0.1)), linear-gradient(180deg, #ffffff, #eef9ff);
}

.kokood-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(34, 197, 94, 0.12));
  clip-path: polygon(0 42%, 12% 34%, 27% 44%, 44% 28%, 62% 42%, 78% 31%, 100% 39%, 100% 100%, 0 100%);
}

.kokood-hero-grid,
.kokood-planner-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 44px;
  align-items: center;
}

.kokood-kicker {
  display: inline-flex;
  width: fit-content;
  color: #047857;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kokood-hero h1,
.kokood-section-head h2,
.kokood-planner h2 {
  margin: 12px 0 18px;
  color: #12323b;
  font-weight: 800;
  line-height: 1.18;
}

.kokood-hero h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 4vw, 4.65rem);
}

.kokood-hero p,
.kokood-section-head p,
.kokood-planner p {
  max-width: 720px;
  color: #4b6470;
  font-size: 1.05rem;
}

.kokood-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.kokood-hero-panel {
  position: relative;
  padding: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(14, 116, 144, 0.14);
  border-radius: 18px 18px 42px 18px;
  box-shadow: 0 24px 60px rgba(15, 82, 103, 0.14);
}

.kokood-panel-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 12px;
  color: #075985;
  background: #e0f2fe;
  border-radius: 999px;
  font-weight: 800;
}

.kokood-hero-panel h2 {
  margin: 0 0 20px;
  color: #12323b;
  font-size: 1.65rem;
}

.kokood-route-list {
  display: grid;
  gap: 12px;
}

.kokood-route-list a {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #dbeafe;
  text-decoration: none;
}

.kokood-route-list strong {
  color: #0f766e;
  font-size: 1.1rem;
}

.kokood-route-list span {
  color: #516672;
}

.kokood-search-band,
.kokood-section {
  padding: 64px 0;
}

.kokood-search-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  background: #12323b;
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 0 22px 55px rgba(18, 50, 59, 0.18);
}

.kokood-search-box .kokood-kicker,
.kokood-search-box h2,
.kokood-search-box p {
  color: #ffffff;
}

.kokood-search-box h2 {
  margin: 8px 0;
  font-size: 1.75rem;
}

.kokood-search-box p {
  margin: 0;
  opacity: 0.86;
}

.kokood-search-box form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.kokood-search-box input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #12323b;
  background: #ffffff;
}

.kokood-search-box button {
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  color: #12323b;
  background: #a7f3d0;
  font-weight: 800;
  cursor: pointer;
}

.kokood-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.kokood-quick-tags a {
  padding: 8px 14px;
  color: #075985;
  background: #e0f2fe;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.kokood-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.kokood-section-head h2,
.kokood-planner h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.kokood-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kokood-category-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid #d7e7e8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 50, 59, 0.08);
  text-decoration: none;
}

.kokood-category-card.sea {
  background: linear-gradient(180deg, #ffffff, #ecfeff);
}

.kokood-category-card.coral {
  background: linear-gradient(180deg, #ffffff, #fff7ed);
}

.kokood-category-card.forest {
  background: linear-gradient(180deg, #ffffff, #f0fdf4);
}

.kokood-category-card span {
  color: #0f766e;
  font-weight: 800;
}

.kokood-category-card h3 {
  margin: 18px 0 12px;
  color: #12323b;
  font-size: 1.45rem;
}

.kokood-category-card p {
  color: #526a75;
}

.kokood-category-card em {
  display: inline-flex;
  margin-top: 12px;
  color: #075985;
  font-style: normal;
  font-weight: 800;
}

.kokood-planner {
  background: #f5fbf7;
}

.kokood-note-stack {
  display: grid;
  gap: 14px;
}

.kokood-note {
  padding: 22px;
  background: #ffffff;
  border-left: 5px solid #14b8a6;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 50, 59, 0.08);
}

.kokood-note strong {
  display: block;
  margin-bottom: 6px;
  color: #12323b;
  font-size: 1.05rem;
}

.kokood-note span {
  color: #526a75;
}

.kokood-post-card {
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d7e7e8;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(18, 50, 59, 0.08);
}

.kokood-post-card a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.kokood-post-thumb {
  aspect-ratio: 16 / 10;
  background: #dff6f7;
}

.kokood-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kokood-post-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #0f766e;
  font-weight: 800;
}

.kokood-post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.kokood-post-body p {
  margin-bottom: 10px;
  color: #0f766e;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kokood-post-body h3 {
  margin: 0 0 14px;
  color: #12323b;
  font-size: 1.18rem;
  line-height: 1.35;
}

.kokood-post-body time {
  color: #64748b;
  font-size: 0.92rem;
}

.kokood-post-body span {
  margin-top: auto;
  padding-top: 18px;
  color: #075985;
  font-weight: 800;
}

@media (max-width: 920px) {
  .kokood-hero-grid,
  .kokood-search-box,
  .kokood-planner-grid,
  .kokood-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kokood-hero {
    padding: 64px 0 46px;
  }

  .kokood-search-box form {
    grid-template-columns: 1fr;
  }

  .kokood-hero-panel,
  .kokood-search-box,
  .kokood-category-card {
    padding: 22px;
  }
}

@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun-800.ttf") format("truetype");
  font-weight: 800 950;
  font-style: normal;
  font-display: swap;
}

:root {
  --writer-navy: #0f172a;
  --writer-blue: #2563eb;
  --writer-blue-dark: #1d4ed8;
  --writer-sky: #0ea5e9;
  --writer-green: #22c55e;
  --writer-text: #334155;
  --writer-muted: #64748b;
  --writer-soft: #f8fafc;
  --writer-soft-blue: #eff6ff;
  --writer-line: #e5e7eb;
  --writer-white: #ffffff;
  --writer-radius: 24px;
  --writer-radius-lg: 30px;
  --writer-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --writer-shadow-blue: 0 14px 32px rgba(37, 99, 235, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Sarabun", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  color: var(--writer-text);
  background: #ffffff;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.wp-theme-kianbotkwam {
  font-family: "Sarabun", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

p {
  margin-top: 0;
}

strong {
  color: var(--writer-navy);
}

button,
input,
select,
textarea {
  font-family: "Sarabun", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

hr {
  border: 0;
  border-top: 1px solid var(--writer-line);
}

/* ---------------------------------------------------------
   1. Lightweight Bootstrap-like Utilities
   --------------------------------------------------------- */

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -12px;
  margin-left: -12px;
}

.row > * {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
}

.col {
  flex: 1 0 0%;
}

.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-7,
.col-lg-8,
.col-md-4,
.col-md-6 {
  flex: 0 0 auto;
  width: 100%;
}

.row-cols-2 > * {
  flex: 0 0 auto;
  width: 50%;
}

.g-3 {
  row-gap: 1rem;
}

.g-4 {
  row-gap: 1.5rem;
}

.g-5 {
  row-gap: 3rem;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.d-block {
  display: block;
}

.d-inline-flex {
  display: inline-flex;
}

.flex-column {
  flex-direction: column;
}

.flex-sm-row,
.flex-md-row,
.flex-lg-row {
  flex-direction: column;
}

.align-items-center {
  align-items: center;
}

.align-items-lg-end {
  align-items: flex-start;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.gap-2 {
  gap: .5rem;
}

.gap-3 {
  gap: 1rem;
}

.gap-lg-3 {
  gap: 1rem;
}

.ms-auto {
  margin-left: auto;
}

.ms-lg-4 {
  margin-left: 0;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: .25rem;
}

.mb-2 {
  margin-bottom: .5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.py-2 {
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.pt-5 {
  padding-top: 3rem;
}

.pb-4 {
  padding-bottom: 1.5rem;
}

.p-1 {
  padding: .25rem;
}

.p-4 {
  padding: 1.5rem;
}

.p-lg-5 {
  padding: 1.5rem;
}

.h4 {
  font-size: 1.5rem;
}

.h5 {
  font-size: 1.15rem;
}

.fw-bold {
  font-weight: 800;
}

.small {
  font-size: .875rem;
}

.rounded {
  border-radius: 12px;
}

.bg-white {
  background: #ffffff;
}

.text-dark {
  color: var(--writer-navy);
}

.text-lg-end {
  text-align: left;
}

.border-secondary {
  border-color: rgba(255, 255, 255, .18);
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

/* ---------------------------------------------------------
   2. Navigation
   --------------------------------------------------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e5e7eb;
}

.navbar > .container,
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  display: block;
  max-width: 220px;
  max-height: 64px;
  object-fit: contain;
}

.navbar-collapse,
.collapse,
.navbar-expand-lg .navbar-collapse {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  width: 100%;
}

.navbar-nav,
.navbar-expand-lg .navbar-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-nav li {
  list-style: none;
}

.navbar-nav a,
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #334155;
  font-weight: 750;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.navbar-nav a:hover,
.nav-link:hover,
.nav-link.active {
  background: #eff6ff;
  color: var(--writer-blue);
}

.navbar-toggler {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.navbar-toggler-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--writer-navy);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--writer-navy);
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

.navbar .btn-writer {
  white-space: nowrap;
  min-height: 42px;
  padding: 9px 16px;
  box-shadow: none;
}

/* ---------------------------------------------------------
   3. Buttons / Labels
   --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: .2s ease;
}

.btn-writer {
  background: linear-gradient(135deg, var(--writer-blue), var(--writer-sky));
  color: #ffffff;
  box-shadow: var(--writer-shadow-blue);
}

.btn-writer:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-writer-outline {
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--writer-blue);
  background: rgba(255, 255, 255, 0.85);
}

.btn-writer-outline:hover {
  background: #eff6ff;
  color: var(--writer-blue-dark);
}

/* ---------------------------------------------------------
   4. Typography / Sections
   --------------------------------------------------------- */

.writer-section {
  padding: 84px 0;
}

.writer-soft {
  background: #f7f8fb;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.writer-eyebrow,
.author-kicker {
  margin: 0;
  color: var(--writer-blue);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 950;
}

.writer-title {
  margin-top: 0;
  color: var(--writer-navy);
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.single-article-hero .writer-title {
  max-width: 980px;
  font-size: clamp(2rem, 3.8vw, 3.55rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.writer-h2 {
  margin-top: 0;
  color: var(--writer-navy);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.writer-lead {
  color: #475569;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.85;
}

.writer-desc {
  color: #64748b;
  line-height: 1.8;
}

.hero-keywords,
.author-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-keywords span,
.badge-skill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: .86rem;
  font-weight: 850;
}

/* ---------------------------------------------------------
   5. Hero / Verification Layout
   --------------------------------------------------------- */

.writer-verify-hero,
.ai-hero,
.single-hero {
  padding: 92px 0;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 35%),
    linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.writer-verify-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 42px;
  align-items: center;
}

.writer-verify-content {
  min-width: 0;
}

.writer-verify-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.writer-verify-badges span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: .84rem;
  font-weight: 900;
}

.writer-verify-card,
.writer-hero-card {
  overflow: hidden;
  border-radius: var(--writer-radius-lg);
  background: #ffffff;
  border: 1px solid var(--writer-line);
  box-shadow: var(--writer-shadow);
}

.writer-verify-card-body {
  padding: 30px;
}

.writer-verify-label {
  margin-bottom: 10px;
  color: var(--writer-blue);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 950;
}

.writer-verify-card h2,
.writer-hero-card h2 {
  margin-top: 0;
  color: var(--writer-navy);
  font-size: 1.75rem;
  line-height: 1.2;
}

.writer-verify-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e5e7eb;
}

.writer-verify-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.writer-fact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.writer-fact-list div {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.writer-fact-list dt {
  color: #64748b;
  font-size: .82rem;
  font-weight: 800;
}

.writer-fact-list dd {
  margin: 0;
  color: var(--writer-navy);
  font-weight: 850;
}

.writer-mini-author-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.writer-mini-author {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  background: #e5e7eb;
}

.writer-mini-author img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------
   6. Cards
   --------------------------------------------------------- */

.proof-card,
.service-box,
.latest-post-card,
.author-card,
.page-content-card {
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--writer-line);
  box-shadow: var(--writer-shadow);
}

.proof-card,
.service-box {
  padding: 28px;
}

.proof-card::before,
.service-box::before {
  display: none;
}

.proof-card {
  position: relative;
  border-top: 4px solid #bfdbfe;
}

.proof-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--writer-navy);
  font-size: 1.08rem;
}

.proof-card span {
  display: block;
  color: #64748b;
}

.service-lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 28px;
  align-items: stretch;
  padding: 36px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, .18), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .18);
}

.service-lead-panel .writer-eyebrow,
.service-lead-panel .writer-h2,
.service-lead-panel .writer-desc {
  color: #ffffff;
}

.service-lead-panel .writer-desc {
  opacity: .82;
}

.service-lead-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  background: rgba(255,255,255,.1);
}

.service-lead-stat strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.25;
}

.service-lead-stat span {
  color: rgba(255,255,255,.78);
  font-weight: 750;
}

.service-box {
  position: relative;
  transition: .25s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, .12);
}

.service-box-featured {
  border-color: rgba(37,99,235,.35);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--writer-blue);
  font-weight: 950;
  font-size: .82rem;
}

.service-box h3 {
  margin-top: 0 !important;
}

.contact-band-section {
  padding: 0 0 84px;
  background: #ffffff;
}

.contact-band-tight {
  padding-top: 0;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  box-shadow: 0 20px 55px rgba(37, 99, 235, .1);
}

.contact-band h2 {
  margin: 0 0 8px;
  color: var(--writer-navy);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.2;
}

.contact-band p {
  margin: 0;
  color: #475569;
}

.contact-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contact-band-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: var(--writer-blue);
  text-decoration: none;
  font-weight: 900;
}

.ai-service-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(239, 246, 255, .96), rgba(255, 255, 255, .96));
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.ai-service-intro h2 {
  margin: 0 0 12px;
  color: var(--writer-navy);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.25;
}

.ai-service-intro p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

.ai-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ai-service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--writer-line);
  border-radius: 22px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  transition: .25s ease;
}

.ai-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .1);
}

.ai-service-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--writer-blue);
  font-size: .78rem;
  font-weight: 900;
}

.ai-service-card strong {
  margin-bottom: 8px;
  color: var(--writer-navy);
  font-size: 1.18rem;
  line-height: 1.35;
}

.ai-service-card p {
  margin: 0 0 18px;
  color: #64748b;
  line-height: 1.75;
}

.ai-service-card em {
  margin-top: auto;
  color: var(--writer-blue);
  font-style: normal;
  font-weight: 900;
}

.agency-card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--writer-line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--writer-shadow);
  transition: .25s ease;
}

.agency-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, .12);
}

.agency-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--writer-blue);
  font-weight: 950;
}

.agency-card h3 {
  margin: 0 0 10px;
  color: var(--writer-navy);
  font-size: 1.2rem;
  line-height: 1.35;
}

.agency-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.8;
}

.agency-proof-card {
  min-height: 100%;
}

.agency-lead-panel {
  margin-bottom: 30px;
}

.agency-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.agency-split-card {
  padding: 28px;
  border: 1px solid var(--writer-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.agency-split-card h3,
.agency-process-step h3 {
  margin: 0 0 10px;
  color: var(--writer-navy);
  font-size: 1.2rem;
  line-height: 1.35;
}

.agency-split-card p,
.agency-process-step p {
  margin: 0;
  color: #64748b;
  line-height: 1.75;
}

.agency-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.agency-process-step {
  position: relative;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.agency-process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--writer-blue);
  color: #ffffff;
  font-weight: 950;
}

.agency-delivery-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--writer-line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--writer-shadow);
}

.agency-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agency-check-list li {
  position: relative;
  padding: 14px 18px 14px 44px;
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 16px;
  background: #f8fbff;
  color: var(--writer-navy);
  font-weight: 800;
}

.agency-check-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--writer-blue);
  transform: translateY(-50%);
}

.author-card a,
.latest-post-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.author-photo,
.latest-post-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e5e7eb;
}

.author-photo img,
.latest-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.author-card:hover .author-photo img,
.latest-post-card:hover .latest-post-thumb img {
  transform: scale(1.04);
}

.author-photo-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .82);
  color: #ffffff;
  font-size: .76rem;
  font-weight: 900;
}

.author-body,
.latest-post-body {
  flex: 1;
  padding: 24px;
}

.author-name,
.latest-post-body h3 {
  margin: 8px 0 8px;
  color: var(--writer-navy);
  font-size: 1.28rem;
  line-height: 1.35;
  font-weight: 900;
}

.author-role {
  margin-bottom: 14px;
  color: #475569;
  font-weight: 750;
}

.author-profile-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--writer-blue);
  font-weight: 900;
}

.author-card-pitch {
  margin: 0 0 16px;
  color: #475569;
  font-size: .95rem;
  line-height: 1.75;
}

.author-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 14px;
}

.author-trust-row span {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: .75rem;
  font-weight: 850;
}

.latest-post-body time {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: .9rem;
}

.latest-post-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  color: #2563eb;
  font-weight: 900;
}

/* ---------------------------------------------------------
   7. Compact Writer Cards
   --------------------------------------------------------- */

.home-writer-short {
  padding-top: 72px;
  padding-bottom: 72px;
}

.home-writer-short .compact-author-card .author-photo,
.writer-directory-page .compact-author-card .author-photo {
  aspect-ratio: 4 / 3;
}

.home-writer-short .compact-author-card .author-body,
.writer-directory-page .compact-author-card .author-body {
  padding: 22px;
}

.home-writer-short .compact-author-card .author-name,
.writer-directory-page .compact-author-card .author-name {
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.35;
}

.home-writer-short .compact-author-card .author-role,
.writer-directory-page .compact-author-card .author-role {
  margin-bottom: 14px;
}

.home-writer-short .compact-author-card .author-skills,
.writer-directory-page .compact-author-card .author-skills {
  margin-bottom: 14px;
}

.home-writer-short .compact-author-card .badge-skill,
.writer-directory-page .compact-author-card .badge-skill {
  font-size: .78rem;
  padding: 6px 9px;
}

/* ---------------------------------------------------------
   8. Hide Long Writer Descriptions in Cards
   --------------------------------------------------------- */

.author-card .writer-desc,
.latest-post-card .writer-desc,
.article-library-card .writer-desc,
.verified-author-card .writer-desc,
.compact-author-card .writer-desc {
  display: none !important;
}

p.writer-desc:empty {
  display: none !important;
}

/* ---------------------------------------------------------
   9. Single / Article Content
   --------------------------------------------------------- */

.single-content,
.page-content-card {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.9;
}

.page-content-card {
  padding: 34px;
}

.single-content h2,
.single-content h3,
.single-content h4,
.page-content-card h2,
.page-content-card h3,
.page-content-card h4 {
  color: var(--writer-navy);
  line-height: 1.25;
  font-weight: 900;
}

.single-content a,
.page-content-card a {
  color: var(--writer-blue);
  font-weight: 800;
}

.single-content img,
.page-content-card img {
  border-radius: 18px;
  margin: 24px 0;
}

.writer-profile-pitch {
  padding: 18px 20px;
  border-left: 4px solid var(--writer-blue);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  color: #334155;
  font-weight: 750;
  line-height: 1.85;
}

.writer-profile-summary-card {
  padding: 26px;
  border: 1px solid #dbeafe;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(37,99,235,.12), transparent 34%),
    #ffffff;
  box-shadow: var(--writer-shadow);
}

.writer-profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, .38fr) minmax(0, .62fr);
  gap: 30px;
  align-items: start;
}

.writer-trust-panel {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 102px;
}

.writer-trust-box {
  padding: 24px;
  border: 1px solid var(--writer-line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
}

.writer-trust-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.writer-trust-list li {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.writer-trust-list strong {
  font-size: .84rem;
}

.writer-trust-list span {
  color: #475569;
}

.writer-specialty-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.writer-specialty-list span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: .84rem;
  font-weight: 850;
}

.single-featured-image {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--writer-line);
  box-shadow: var(--writer-shadow);
  margin-bottom: 36px;
}

.single-featured-image img {
  width: 100%;
  height: auto;
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.share-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--writer-blue);
  font-weight: 850;
  text-decoration: none;
}

/* ---------------------------------------------------------
   10. FAQ / Pagination / Empty
   --------------------------------------------------------- */

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--writer-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--writer-navy);
  font-weight: 900;
}

.faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  color: #64748b;
}

.pagination-wrap {
  margin-top: 46px;
}

.pagination-wrap ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--writer-line);
  background: #ffffff;
  color: var(--writer-navy);
  text-decoration: none;
  font-weight: 850;
}

.pagination-wrap .current {
  background: var(--writer-blue);
  color: #ffffff;
  border-color: var(--writer-blue);
}

.empty-posts {
  padding: 30px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  text-align: center;
  font-weight: 800;
}

/* ---------------------------------------------------------
   11. Client Logos
   --------------------------------------------------------- */

.client-logo-box {
  display: grid;
  place-items: center;
  height: 120px;
  padding: 20px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--writer-line);
  box-shadow: 0 12px 35px rgba(15, 23, 42, .06);
}

.client-logo {
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
}

/* ---------------------------------------------------------
   12. Footer
   --------------------------------------------------------- */

.footer {
  background: #0f172a;
  color: #ffffff;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  color: #93c5fd;
}

.footer p {
  color: rgba(255,255,255,.76);
}

.footer-muted {
  color: rgba(255,255,255,.65) !important;
}

.footer-link-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.footer-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-trust-badges span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .18);
  color: #bfdbfe;
  font-size: .78rem;
  font-weight: 850;
}

/* ---------------------------------------------------------
   13. Remove Icon Font Dependency
   --------------------------------------------------------- */

.bi,
[class^="bi-"],
[class*=" bi-"],
.proof-card i,
.service-box i,
.latest-post-placeholder i {
  display: none !important;
  font-family: inherit !important;
}

/* ---------------------------------------------------------
   14. Responsive
   --------------------------------------------------------- */

@media (min-width: 576px) {
  .flex-sm-row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    width: 33.333333%;
  }

  .col-md-6 {
    width: 50%;
  }

  .row-cols-md-3 > * {
    width: 33.333333%;
  }

  .flex-md-row {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .col-lg-2 {
    width: 16.666667%;
  }

  .col-lg-3 {
    width: 25%;
  }

  .col-lg-4 {
    width: 33.333333%;
  }

  .col-lg-5 {
    width: 41.666667%;
  }

  .col-lg-7 {
    width: 58.333333%;
  }

  .col-lg-8 {
    width: 66.666667%;
  }

  .row-cols-lg-5 > * {
    width: 20%;
  }

  .flex-lg-row {
    flex-direction: row;
  }

  .align-items-lg-end {
    align-items: flex-end;
  }

  .text-lg-end {
    text-align: right;
  }

  .ms-lg-4 {
    margin-left: 1.5rem;
  }

  .p-lg-5 {
    padding: 3rem;
  }
}

@media (max-width: 991.98px) {
  .writer-verify-grid {
    grid-template-columns: 1fr;
  }

  .service-lead-panel,
  .ai-service-panel,
  .contact-band,
  .writer-profile-layout,
  .agency-delivery-panel {
    grid-template-columns: 1fr;
  }

  .agency-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band-actions {
    justify-content: flex-start;
  }

  .writer-trust-panel {
    position: static;
  }

  .navbar > .container,
  .navbar .container {
    flex-wrap: wrap;
    min-height: 70px;
  }

  .navbar-collapse,
  .navbar-expand-lg .navbar-collapse {
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 14px 0 4px;
  }

  .navbar-collapse.is-open,
  .navbar-expand-lg .navbar-collapse.is-open {
    display: flex !important;
  }

  .navbar-toggler {
    display: inline-flex;
    margin-left: auto;
  }

  .navbar-nav,
  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }

  .navbar-nav a {
    width: 100%;
    justify-content: center;
  }

  .navbar .btn-writer {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .writer-section {
    padding: 60px 0;
  }

  .writer-verify-hero,
  .ai-hero,
  .single-hero {
    padding: 64px 0;
  }

  .home-writer-short {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .writer-title {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .writer-h2 {
    font-size: clamp(1.65rem, 9vw, 2.4rem);
  }

  .writer-mini-author-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .agency-split-grid,
  .agency-process,
  .ai-service-grid {
    grid-template-columns: 1fr;
  }

  .agency-delivery-panel,
  .ai-service-panel,
  .ai-service-card,
  .agency-split-card,
  .agency-process-step {
    padding: 22px;
  }

  .writer-verify-card-body,
  .author-body,
  .latest-post-body,
  .proof-card,
  .service-box,
  .page-content-card {
    padding: 22px;
  }

  .brand-logo {
    max-width: 180px;
    max-height: 56px;
  }

  .row-cols-2 > * {
    width: 50%;
  }
}
