@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Sinhala:wght@300;400;500&family=Poppins:wght@300;400;500&display=swap');

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --text: #080808;
  --muted: #667085;
  --line: #e8e8e8;
  --green: #22b573;
  --green-soft: #eaf8f1;
  --content: 1160px;
  --radius: 10px;
  --shadow: 0 18px 55px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Sinhala", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.section-shell,
.header-inner {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand img,
.header-avatar img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}

.brand span {
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.02em;
  white-space: nowrap;
}


.language-nav {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}

.language-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 15px;
  border-radius: 999px;
  color: #5d6673;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-nav a:hover,
.language-nav a:focus-visible {
  color: var(--text);
  background: #ffffff;
  outline: none;
}

.language-nav a.is-active {
  background: #101815;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 24, 21, 0.14);
}

.header-actions {
  display: flex;
  align-items: stretch;
  min-height: 72px;
  border-left: 1px solid var(--line);
}

.icon-button,
.header-avatar {
  width: 80px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-avatar img {
  width: 38px;
  height: 38px;
}

.icon-button:hover,
.icon-button:focus-visible,
.header-avatar:hover,
.header-avatar:focus-visible {
  background: var(--surface-soft);
  outline: none;
}

.home-feature {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(330px, 0.96fr);
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 58px;
}


.language-empty {
  display: grid;
  min-height: 300px;
  place-content: center;
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.language-empty h1 {
  margin: 0 0 8px;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.language-empty p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.language-empty a {
  color: var(--green);
  font-size: 13px;
}

.hero-slot {
  min-width: 0;
}

.hero-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  max-height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111827;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0.42) 58%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0) 100%);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -18px -20px -18px -20px;
  z-index: -1;
  background: rgba(8, 10, 14, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 30%, #000 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 30%, #000 100%);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms ease;
}

.hero-card:hover img {
  transform: scale(1.025);
}

.hero-copy {
  position: absolute;
  z-index: 1;
  inset: auto 32px 28px 32px;
  max-width: min(76%, 560px);
  color: #ffffff;
}

.hero-category {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-category,
.article-category,
.card-category,
.featured-category,
.eyebrow {
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-title {
  margin: 11px 0 14px;
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.hero-meta,
.card-meta,
.article-date-row,
.featured-meta {
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.featured-sidebar {
  min-width: 0;
}

.section-title {
  margin: 0;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.icon-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.icon-badge svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}

.featured-list {
  display: grid;
  gap: 28px;
}

.featured-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.featured-thumb {
  width: 90px;
  height: 90px;
  border-radius: 5px;
  overflow: hidden;
  background: #f2f4f7;
}

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

.featured-category {
  display: block;
  margin: -1px 0 8px;
  font-size: 9px;
}

.featured-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.featured-item:hover .featured-title {
  color: var(--green);
}

.latest-section {
  padding-top: 5px;
  padding-bottom: 80px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.section-rule {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 28px;
}

.load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}

.load-more-button {
  min-height: 46px;
  padding: 10px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.load-more-button:hover,
.load-more-button:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Newsletter signup (footer, all pages) --- */

.newsletter-section {
  padding-top: 10px;
  padding-bottom: 10px;
}

.newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-soft);
}

.newsletter-title {
  margin: 0 0 4px;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.newsletter-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: none;
}

.newsletter-field {
  flex: 1 1 260px;
  min-width: 0;
}

.newsletter-field input {
  min-height: 46px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
}

.newsletter-field input:focus-visible {
  outline: none;
  border-color: var(--green);
}

.newsletter-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.newsletter-form button {
  min-height: 46px;
  padding: 0 22px;
  border: none;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.newsletter-form button:hover:not(:disabled) {
  opacity: 0.88;
}

.newsletter-form button:active:not(:disabled) {
  transform: scale(0.97);
}

.newsletter-form button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.newsletter-message {
  margin: 12px 2px 0;
  font-size: 13px;
  color: var(--muted);
}

.newsletter-message.is-success {
  color: var(--green);
}

.newsletter-message.is-error {
  color: #a33a32;
}

.article-card {
  min-width: 0;
}

.card-image-wrap {
  position: relative;
}

.card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #f2f4f7;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.article-card:hover .card-image img {
  transform: scale(1.025);
}

.card-content {
  padding-top: 18px;
}

.card-category {
  color: var(--muted);
}

.card-title {
  margin: 9px 0 9px;
  font-size: 19px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: -0.018em;
}

.card-title a:hover {
  color: var(--green);
}

.card-excerpt {
  margin: 0 0 14px;
  color: #525866;
  font-size: 14px;
  line-height: 1.85;
}

.card-meta {
  color: #6b7280;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfbfb;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 0;
  color: #69707d;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 12px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.footer-brand {
  color: #111111;
  font-size: 14px;
  font-weight: 500;
}

.footer-tagline {
  margin-top: 2px;
  color: #8b93a1;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-tags-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: #4b5565;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 12px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.footer-tags-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-tags-link:hover,
.footer-tags-link:focus-visible {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-soft);
  outline: none;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: #4b5565;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.footer-social svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social svg.icon-fill {
  fill: currentColor;
  stroke: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-soft);
  outline: none;
}

.footer-copy {
  color: #8b93a1;
}

/* Article page */
.article-page {
  padding-top: 40px;
  padding-bottom: 90px;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.65fr);
  gap: 56px;
  align-items: stretch;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.article-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 2px 0 2px;
}

.article-category {
  color: #5f6b7b;
}

.article-topic-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.article-topic {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f8fa;
  color: #5f6b7b;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.article-topic:hover,
.article-topic:focus-visible {
  border-color: rgba(15, 95, 70, 0.35);
  background: rgba(15, 95, 70, 0.07);
  color: var(--green);
}

.article-title {
  margin: 15px 0 0;
  max-width: 560px;
  font-size: clamp(28px, 3vw, 41px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.article-author-wrap {
  margin-top: 58px;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.author-row img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  margin: 0 0 2px;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.article-date-row {
  color: #111111;
}

.article-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 17px;
}

.action-button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--green-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
}

.action-button.icon-only {
  width: 40px;
  padding: 0;
  border-color: var(--line);
  background: #ffffff;
}

.action-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-button:hover,
.action-button:focus-visible {
  border-color: #cfd5dc;
  outline: none;
}

.article-feature-image {
  overflow: hidden;
  min-height: 347px;
  border-radius: var(--radius);
  background: #f2f4f7;
}

/* Quick Poll */
.quick-poll {
  position: relative;
  width: min(100%, 740px);
  margin: 48px auto 0;
  overflow: clip;
  padding: 27px 28px 23px;
  border: 1px solid #dce5e0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(18, 51, 39, 0.07);
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  contain: layout paint;
}

.quick-poll::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--green);
}

.quick-poll-heading {
  position: relative;
  z-index: 1;
}

.quick-poll-eyebrow {
  margin: 0 0 9px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.quick-poll-heading h2 {
  margin: 0;
  color: #121714;
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.quick-poll-options {
  display: grid;
  gap: 11px;
  margin-top: 23px;
}

.quick-poll-option {
  --poll-percent: 0%;
  position: relative;
  display: block;
  width: 100%;
  min-height: 54px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d9e1dd;
  border-radius: 11px;
  background: #ffffff;
  color: #1b211e;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 100ms ease,
    opacity 160ms ease,
    background-color 160ms ease;
}

.quick-poll-option-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 10px;
  background: rgba(15, 95, 70, 0.11);
  pointer-events: none;
  transition: width 460ms cubic-bezier(.22, .8, .3, 1);
}

.quick-poll.has-results .quick-poll-option-fill {
  width: var(--poll-percent);
}

.quick-poll-option-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 13px 15px;
}

.quick-poll-option-label {
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.quick-poll-percent {
  width: 48px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: right;
  visibility: hidden;
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.quick-poll.has-results .quick-poll-percent {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.quick-poll-option:hover:not(:disabled),
.quick-poll-option:focus-visible {
  border-color: rgba(15, 95, 70, 0.48);
  background: #fbfdfc;
  box-shadow: 0 5px 17px rgba(15, 95, 70, 0.08);
  outline: none;
}

.quick-poll-option:focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 95, 70, 0.14);
}

.quick-poll-option:active:not(:disabled) {
  transform: scale(0.994);
}

/* A check mark is shown only after a deliberate click and a successful save. */
.quick-poll.has-results .quick-poll-option.is-selected {
  border-color: var(--green);
  background: #f7fbf9;
  box-shadow: 0 0 0 1px var(--green);
}

.quick-poll.has-results .quick-poll-option.is-selected .quick-poll-option-fill {
  background: rgba(15, 95, 70, 0.16);
}

.quick-poll.has-results .quick-poll-option.is-selected .quick-poll-option-label {
  color: #0b513b;
  font-weight: 500;
}

.quick-poll.has-results .quick-poll-option.is-selected .quick-poll-option-label::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: -1px;
}

.quick-poll-option:disabled {
  cursor: wait;
}

.quick-poll.is-saving .quick-poll-option {
  opacity: 0.64;
}

.quick-poll-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  min-height: 38px;
  margin-top: 15px;
  color: #68716c;
  font-size: 12px;
  line-height: 1.6;
}

.quick-poll-status,
.quick-poll-total {
  margin: 0;
}

.quick-poll-status {
  min-height: 20px;
}

.quick-poll.is-saving .quick-poll-status::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 7px;
  border: 2px solid rgba(15, 95, 70, 0.22);
  border-top-color: var(--green);
  border-radius: 50%;
  vertical-align: -2px;
  animation: quick-poll-spin 700ms linear infinite;
}

@keyframes quick-poll-spin {
  to { transform: rotate(360deg); }
}

.quick-poll-status.is-error {
  color: #a33a32;
}

.quick-poll-total {
  min-width: 66px;
  color: #626c66;
  text-align: right;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.quick-poll.has-results .quick-poll-total {
  visibility: visible;
  opacity: 1;
}

.quick-poll-total span:first-child {
  color: #202522;
  font-weight: 600;
}

@media (max-width: 620px) {
  .quick-poll {
    width: 100%;
    margin-top: 38px;
    padding: 22px 18px 19px;
    border-radius: 13px;
  }

  .quick-poll::before {
    width: 3px;
  }

  .quick-poll-eyebrow {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .quick-poll-heading h2 {
    font-size: 19px;
    line-height: 1.5;
  }

  .quick-poll-options {
    gap: 9px;
    margin-top: 19px;
  }

  .quick-poll-option {
    min-height: 50px;
    border-radius: 10px;
  }

  .quick-poll-option-copy {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
    min-height: 48px;
    padding: 12px 13px;
  }

  .quick-poll-option-label {
    font-size: 13px;
  }

  .quick-poll-percent {
    width: 44px;
    font-size: 12px;
  }

  .quick-poll-footer {
    display: block;
    min-height: 52px;
    margin-top: 13px;
  }

  .quick-poll-total {
    min-height: 19px;
    margin-top: 3px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-poll-option,
  .quick-poll-option-fill,
  .quick-poll-percent,
  .quick-poll-total {
    transition: none;
  }

  .quick-poll.is-saving .quick-poll-status::before {
    animation-duration: 1.4s;
  }
}

.reaction-widget {
  margin-top: 40px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-soft);
  text-align: center;
}

.reaction-question {
  margin: 0 0 14px;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 15px;
}

.reaction-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.reaction-button {
  min-height: 44px;
  min-width: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .1s ease, opacity .15s ease;
}

.reaction-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reaction-button:hover:not(:disabled) {
  border-color: #cfd5dc;
}

.reaction-button:active:not(:disabled) {
  transform: scale(0.97);
}

.reaction-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.reaction-button.is-selected {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
  font-weight: 500;
}

.reaction-button.is-selected svg {
  fill: currentColor;
}

.reaction-widget.is-saving .reaction-button:not(.is-selected) {
  opacity: 0.48;
}

.reaction-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: #555555;
}

.reaction-note.is-error {
  color: #a33a32;
}

.article-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 347px;
  object-fit: cover;
}

.article-body {
  width: min(100%, 710px);
  margin: 64px auto 0;
  font-size: 16px;
  line-height: 2.05;
}

.article-body p {
  margin: 0 0 27px;
}

.article-body h2 {
  margin: 46px 0 20px;
  font-size: 25px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.article-body ul {
  margin: 0 0 30px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-figure {
  margin: 42px 0;
}

.article-figure img {
  width: 100%;
  border-radius: var(--radius);
  background: #f4f4f4;
}

.article-figure figcaption {
  margin-top: 11px;
  color: #747b87;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.article-quote {
  margin: 38px 0;
  padding: 8px 0 8px 24px;
  border-left: 3px solid var(--green);
  color: #394150;
  font-size: 17px;
  line-height: 1.9;
}

.related-section {
  margin-top: 72px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.article-not-found {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.article-not-found h1 {
  font-weight: 500;
}

.article-not-found a {
  color: var(--green);
}

/* About */
.about-page {
  padding-top: 70px;
  padding-bottom: 90px;
}

.about-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  max-width: 1000px;
  margin-inline: auto;
}

.about-photo-wrap {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  background: #f4f4f4;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy .eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
}

.about-copy h1 {
  margin: 0 0 22px;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 42px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.about-copy p {
  margin: 0 0 18px;
  color: #424a57;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 300;
}

/* Tags */
.tags-page {
  padding-top: 60px;
  padding-bottom: 90px;
}

.tags-intro {
  max-width: 640px;
  margin-bottom: 34px;
}

.tags-intro .eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
}

.tags-intro h1 {
  margin: 0 0 14px;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 34px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.tags-intro p {
  margin: 0;
  color: #525866;
  font-size: 14px;
  line-height: 1.85;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 40px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: #3a4150;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 13px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tag-count {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #ffffff;
  color: #8b93a1;
  font-size: 11px;
  text-align: center;
}

.tag-pill:hover,
.tag-pill:focus-visible {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-soft);
  outline: none;
}

.tag-pill.is-active {
  color: #ffffff;
  border-color: var(--green);
  background: var(--green);
}

.tag-pill.is-active .tag-count {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.tag-results-section .article-grid:empty {
  display: none;
}

/* Search */
.search-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  padding: 70px 24px 24px;
  background: rgba(255, 255, 255, 0.97);
  overflow-y: auto;
}

.search-panel {
  width: min(760px, 100%);
  margin: 0 auto;
}

.search-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.search-topbar h2 {
  margin: 0;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 29px;
  font-weight: 400;
}

.search-topbar .icon-button {
  width: 48px;
  height: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.search-field {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #111111;
}

.search-field svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
}

.search-results {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.search-result-item img {
  width: 120px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-item h3 {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.search-empty {
  color: var(--muted);
  text-align: center;
  padding: 42px 0;
}

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 10px 16px;
  border-radius: 6px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1024px) {
  .home-feature {
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.85fr);
    gap: 32px;
  }

  .hero-card {
    max-height: 420px;
  }

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

  .article-hero {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.25fr);
    gap: 36px;
  }

  .about-card {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 50px;
  }

  .about-photo-wrap {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 820px) {
  .section-shell,
  .header-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .brand span {
    font-size: 15px;
  }

  .header-actions {
    min-height: 66px;
  }

  .header-inner {
    min-height: 66px;
  }

  .icon-button,
  .header-avatar {
    width: 66px;
  }

  .home-feature {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 28px;
  }

  .featured-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .newsletter-card {
    padding: 24px;
  }

  .newsletter-form {
    width: 100%;
  }

  .article-hero {
    grid-template-columns: 1fr;
  }

  .article-intro {
    order: 1;
  }

  .article-feature-image {
    order: 0;
  }

  .article-author-wrap {
    margin-top: 32px;
  }

  .about-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 38px;
  }

  .about-copy {
    max-width: 650px;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .header-inner {
    width: min(calc(100% - 24px), var(--content));
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .language-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: center;
    margin-inline: -12px;
    padding: 8px 12px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .language-nav a {
    min-height: 32px;
    padding-inline: 20px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    font-size: 14px;
  }

  .header-actions {
    border-left: 0;
  }

  .icon-button,
  .header-avatar {
    width: 52px;
    border-right: 0;
  }

  .header-actions .icon-button {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .header-avatar img {
    width: 34px;
    height: 34px;
  }

  .hero-card {
    aspect-ratio: 4 / 3;
    min-height: 280px;
    max-height: 420px;
  }

  .hero-copy {
    inset: auto 20px 20px 20px;
    max-width: 88%;
  }

  .hero-title {
    margin: 8px 0 13px;
    font-size: 21px;
    line-height: 1.4;
  }

  .section-title {
    font-size: 22px;
  }

  .featured-list {
    grid-template-columns: 1fr;
  }

  .featured-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .newsletter-card {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
  }

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

  .newsletter-field {
    flex-basis: auto;
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .card-title {
    font-size: 18px;
  }

  .latest-section {
    padding-bottom: 58px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
  }

  .footer-right {
    align-items: flex-start;
  }

  .tags-page {
    padding-top: 34px;
    padding-bottom: 65px;
  }

  .tags-intro h1 {
    font-size: 28px;
  }

  .tag-cloud {
    padding-bottom: 30px;
    margin-bottom: 34px;
  }

  .article-page {
    padding-top: 24px;
    padding-bottom: 65px;
  }

  .article-hero {
    gap: 26px;
    padding-bottom: 28px;
  }

  .article-feature-image,
  .article-feature-image img {
    min-height: 215px;
  }

  .article-title {
    font-size: 28px;
    line-height: 1.65;
  }

  .article-body {
    margin-top: 42px;
    font-size: 15px;
    line-height: 2;
  }

  .article-body h2 {
    font-size: 22px;
  }

  .article-figure {
    margin: 34px 0;
  }

  .about-page {
    padding-top: 42px;
    padding-bottom: 65px;
  }

  .about-photo-wrap {
    width: min(280px, 82vw);
    height: min(280px, 82vw);
  }

  .about-copy h1 {
    font-size: 34px;
  }

  .search-modal {
    padding: 24px 16px;
  }

  .search-result-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
  }

  .search-result-item img {
    width: 92px;
  }

  .search-result-item h3 {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Public comments */
.comments-section {
  width: min(100%, 860px);
  margin: 72px auto 0;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.comments-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.comments-heading-row h2 {
  margin: 0;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.comments-heading-row h2 span {
  display: inline-grid;
  min-width: 28px;
  min-height: 24px;
  place-items: center;
  margin-left: 7px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  vertical-align: middle;
}

.comments-eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.comments-heading-row > p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

.comment-form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.comment-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.comment-field {
  display: grid;
  gap: 8px;
}

.comment-field > span {
  color: #3f4a45;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.comment-field input,
.comment-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  outline: none;
  color: var(--text);
  font-family: "Noto Sans Sinhala", "Poppins", sans-serif;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.comment-field input {
  min-height: 46px;
  padding: 10px 12px;
}

.comment-field textarea {
  min-height: 130px;
  padding: 12px;
  line-height: 1.8;
  resize: vertical;
}

.comment-field input:focus,
.comment-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 95, 70, .09);
}

.comment-field small {
  justify-self: end;
  margin-top: -2px;
  color: #8a938e;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
}

.comment-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.comment-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 17px;
}

.comment-form-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.comment-form-footer p.is-success { color: var(--green); }
.comment-form-footer p.is-error { color: #a33a32; }

.comment-form-footer button {
  min-height: 42px;
  flex: none;
  padding: 9px 17px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.comment-form-footer button:hover:not(:disabled) { background: #0a4735; }
.comment-form-footer button:disabled { opacity: .6; cursor: wait; }

.comments-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.public-comment {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.public-comment:first-child { border-top: 1px solid var(--line); }

.public-comment-avatar {
  width: 42px;
  height: 42px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.public-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-comment-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 12px;
}

.public-comment-meta strong {
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.public-comment-meta time {
  color: var(--muted);
  font-family: "Poppins", sans-serif;
  font-size: 10px;
}

.comment-author-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.public-comment.is-admin {
  padding-left: 10px;
  border-left: 2px solid var(--green-soft);
}

.public-comment-replying-to {
  margin: 8px 0 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.public-comment-replying-to strong {
  color: var(--green-dark, var(--green));
  font-weight: 600;
}

.public-comment-content p {
  margin: 8px 0 0;
  color: #3d4743;
  font-family: "Noto Sans Sinhala", "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.public-comment.is-reply {
  margin-left: clamp(24px, 6vw, 56px);
  padding-top: 18px;
  padding-bottom: 18px;
}

.public-comment.is-reply .public-comment-avatar {
  width: 34px;
  height: 34px;
  font-size: 11px;
}

.public-comment-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.comment-like-button,
.comment-reply-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 12px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.comment-like-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comment-like-button:hover:not(:disabled),
.comment-reply-button:hover {
  background: var(--green-soft);
  color: var(--green-dark, var(--green));
}

.comment-like-button.is-liked {
  color: #c0392b;
}

.comment-like-button.is-liked svg {
  fill: #c0392b;
  stroke: #c0392b;
}

.comment-like-button:disabled {
  opacity: .6;
  cursor: wait;
}

.comment-reply-button.is-active {
  background: var(--green-soft);
  color: var(--green-dark, var(--green));
}

.reply-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfb;
}

.reply-form input[type="text"],
.reply-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  outline: none;
  color: var(--text);
  font-family: "Noto Sans Sinhala", "Poppins", sans-serif;
  font-size: 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.reply-form input[type="text"] {
  min-height: 40px;
  padding: 8px 11px;
}

.reply-form textarea {
  min-height: 84px;
  padding: 10px 11px;
  line-height: 1.7;
  resize: vertical;
}

.reply-form input:focus,
.reply-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 95, 70, .09);
}

.reply-form .comment-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.reply-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.reply-form-message {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.reply-form-message.is-success { color: var(--green); }
.reply-form-message.is-error { color: #a33a32; }

.reply-form-buttons {
  display: flex;
  flex: none;
  gap: 8px;
}

.reply-form-buttons button {
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.reply-form-buttons button[type="submit"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.reply-form-buttons button[type="submit"]:hover:not(:disabled) { background: #0a4735; }
.reply-form-buttons button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.reply-form-buttons button[data-reply-cancel]:hover { border-color: #c7d2ce; }

.comments-empty {
  margin: 28px 0 0;
  padding: 28px 18px;
  border: 1px dashed #d4dcd8;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 620px) {
  .comments-section {
    margin-top: 54px;
    padding-top: 30px;
  }

  .comments-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .comments-heading-row > p {
    max-width: none;
    text-align: left;
  }

  .comment-form {
    padding: 17px;
  }

  .comment-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .comment-form-footer button {
    width: 100%;
  }

  .public-comment {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
  }

  .public-comment-avatar {
    width: 36px;
    height: 36px;
  }

  .public-comment.is-reply {
    margin-left: 16px;
  }

  .reply-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .reply-form-buttons {
    justify-content: flex-end;
  }
}


/* Professional About page */
.about-page {
  padding-top: 42px;
  padding-bottom: 92px;
}

.about-cover {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-radius: 18px;
  background: #071b16;
  box-shadow: 0 24px 70px rgba(7, 27, 22, 0.18);
  isolation: isolate;
}

.about-cover-image,
.about-cover-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-cover-image {
  object-fit: cover;
}

.about-cover-overlay {
  background: linear-gradient(90deg, rgba(3, 12, 10, 0.84) 0%, rgba(3, 12, 10, 0.42) 58%, rgba(3, 12, 10, 0.15) 100%);
}

.about-cover-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 350px;
  max-width: 900px;
  padding: 48px 56px;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}

.about-cover-kicker {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.about-cover h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.about-cover-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.about-cover-social a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.about-cover-social a:hover,
.about-cover-social a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.about-cover-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-cover-social svg.icon-fill {
  fill: currentColor;
  stroke: none;
}

.about-profile-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  max-width: 1060px;
  margin: -46px auto 0;
  position: relative;
  z-index: 2;
}

.about-profile-card,
.about-content-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

.about-profile-card {
  padding: 28px;
  text-align: center;
}

.about-profile-photo {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  border: 5px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18);
}

.about-profile-heading h2 {
  margin: 0;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
}

.about-profile-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 12px;
  line-height: 1.65;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-stats div {
  min-width: 0;
}

.about-stats strong,
.about-stats span {
  display: block;
}

.about-stats strong {
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.about-stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-website-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #101815;
  color: #ffffff;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 13px;
  transition: transform 180ms ease, background 180ms ease;
}

.about-website-button:hover,
.about-website-button:focus-visible {
  transform: translateY(-1px);
  background: #0f6b4f;
  outline: none;
}

.about-content-card {
  padding: 52px 58px;
}

.about-content-card .eyebrow {
  margin: 0 0 13px;
  color: #0f6b4f;
}

.about-content-card h2 {
  max-width: 690px;
  margin: 0 0 26px;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.about-content-card p {
  margin: 0 0 18px;
  color: #424a57;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
}

.about-focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.about-focus-list span {
  padding: 7px 12px;
  border: 1px solid #d9eee5;
  border-radius: 999px;
  background: #f2faf6;
  color: #176148;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 11px;
}

@media (max-width: 900px) {
  .about-cover-content {
    padding: 54px 42px;
  }

  .about-profile-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
  }

  .about-content-card {
    padding: 40px 36px;
  }
}

@media (max-width: 720px) {
  .about-page {
    padding-top: 24px;
    padding-bottom: 68px;
  }

  .about-cover,
  .about-cover-content {
    min-height: 305px;
  }

  .about-cover-content {
    padding: 30px 28px;
  }

  .about-cover-overlay {
    background: linear-gradient(180deg, rgba(3, 12, 10, 0.25), rgba(3, 12, 10, 0.88));
  }

  .about-profile-layout {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    margin-top: -36px;
  }

  .about-profile-card {
    padding: 24px;
  }

  .about-content-card {
    padding: 34px 26px;
  }
}

@media (max-width: 440px) {
  .about-cover h1 {
    font-size: 20px;
  }

  .about-cover-kicker {
    font-size: 9px;
  }

  .about-cover-social a {
    width: 40px;
    height: 40px;
  }

  .about-content-card h2 {
    font-size: 27px;
  }
}

/* About hero overlap and mobile main-card backdrop fixes */
.about-profile-layout {
  /* Keep the layered card effect without covering the social icons. */
  margin-top: -18px;
}

@media (max-width: 720px) {
  .about-profile-layout {
    /* A light overlap on small screens leaves the full icon row visible. */
    margin-top: -8px;
  }
}

@media (max-width: 620px) {
  .hero-card {
    /* Clips the image and full-card gradient to exactly the same corners. */
    isolation: isolate;
  }

  .hero-card::after {
    border-radius: inherit;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 20%,
      rgba(0, 0, 0, 0.28) 48%,
      rgba(0, 0, 0, 0.78) 72%,
      rgba(0, 0, 0, 0.94) 100%
    );
  }

  .hero-copy {
    /* Full-width copy area removes the small left/right backdrop gaps. */
    inset: auto 0 0 0;
    width: 100%;
    max-width: none;
    padding: 70px 20px 20px;
  }

  .hero-copy::before {
    /* The card-wide gradient above replaces the smaller rounded blur panel. */
    content: none;
  }
}

/* ===== Main featured article: clean full-card opacity overlay ===== */
/*
  This replaces the previous blur panel with one smooth, full-card dark overlay.
  The image remains visible on desktop and mobile while the headline stays clear.
*/
.hero-card {
  position: relative;
  isolation: isolate;
  background: #111827;
}

.hero-card > img,
.hero-card img {
  position: relative;
  z-index: 0;
  display: block;
}

/* Remove the old blurred layer completely. */
.hero-card::before {
  content: none !important;
  display: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* Desktop: a smooth black-opacity layer covering the complete image. */
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      rgba(4, 8, 14, 0.48) 0%,
      rgba(4, 8, 14, 0.33) 52%,
      rgba(4, 8, 14, 0.21) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 8, 14, 0.05) 0%,
      rgba(4, 8, 14, 0.12) 46%,
      rgba(4, 8, 14, 0.40) 100%
    );
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero-copy {
  z-index: 2;
}

/* Remove the old small rounded backdrop behind only the text. */
.hero-copy::before {
  content: none !important;
  display: none !important;
  background: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.hero-title {
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.42),
    0 7px 20px rgba(0, 0, 0, 0.34);
}

.hero-category {
  background: rgba(12, 17, 24, 0.42);
  border-color: rgba(255, 255, 255, 0.38);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero-meta {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.48);
}

@media (max-width: 620px) {
  /*
    Mobile: keep the image visible and use only a softer opacity gradient.
    This deliberately avoids the heavy black block from the previous version.
  */
  .hero-card::after {
    background:
      linear-gradient(
        180deg,
        rgba(4, 8, 14, 0.08) 0%,
        rgba(4, 8, 14, 0.15) 34%,
        rgba(4, 8, 14, 0.34) 66%,
        rgba(4, 8, 14, 0.58) 100%
      ),
      linear-gradient(
        90deg,
        rgba(4, 8, 14, 0.23) 0%,
        rgba(4, 8, 14, 0.14) 100%
      );
  }

  .hero-copy {
    inset: auto 20px 20px 20px;
    width: auto;
    max-width: calc(100% - 40px);
    padding: 0;
  }

  .hero-title {
    margin: 9px 0 12px;
    font-size: clamp(18px, 5.35vw, 21px);
    line-height: 1.38;
    letter-spacing: -0.025em;
    text-shadow:
      0 2px 3px rgba(0, 0, 0, 0.52),
      0 6px 16px rgba(0, 0, 0, 0.40);
  }

  .hero-category {
    padding: 5px 11px;
    background: rgba(12, 17, 24, 0.46);
  }
}

/* --- Team, author, legal and custom CMS public additions --- */
.footer-inner{flex-wrap:wrap}.footer-team-wrap{display:grid;gap:7px;margin-left:auto}.footer-team-wrap>span{font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;color:#8b929d}.footer-team{display:flex;align-items:center}.footer-team a{display:block;margin-left:-8px;border-radius:50%;border:2px solid #fff;transition:transform .2s}.footer-team a:first-child{margin-left:0}.footer-team a:hover{transform:translateY(-3px);z-index:2}.footer-team img{display:block;width:34px;height:34px;border-radius:50%;object-fit:cover;background:#eef1f4}.footer-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.footer-links>a{font-size:.78rem;color:inherit;text-decoration:none}.footer-links>a:hover{text-decoration:underline}.author-row-link{text-decoration:none;color:inherit;border-radius:12px}.author-row-link:hover .author-name{text-decoration:underline}.team-page,.author-page,.static-page{padding-top:44px;padding-bottom:80px}.team-page-hero,.static-page-hero{max-width:860px;padding:32px 0 46px}.team-page-hero h1,.static-page-hero h1,.author-profile-hero h1{font-size:clamp(2.4rem,7vw,5.3rem);line-height:1.02;letter-spacing:-.055em;margin:0 0 18px}.team-page-hero>p:last-child,.static-page-hero>p:last-child{font-size:1.06rem;line-height:1.8;color:#667085;max-width:720px}.public-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.public-author-card{display:grid;grid-template-columns:190px minmax(0,1fr);background:#fff;border:1px solid #e4e7ec;border-radius:22px;overflow:hidden;min-height:250px}.public-author-photo{display:block;background:#eef2f6}.public-author-photo img{width:100%;height:100%;object-fit:cover}.public-author-copy{padding:25px}.public-author-role{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#0a875a;margin:0 0 8px}.public-author-copy h2{font-size:1.35rem;margin:0 0 12px}.public-author-copy h2 a{text-decoration:none;color:inherit}.public-author-copy>p:not(.public-author-role){color:#667085;line-height:1.65;font-size:.9rem}.public-author-meta,.author-profile-links{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.public-author-meta span,.author-profile-links span,.author-profile-links a{border:1px solid #e4e7ec;border-radius:999px;padding:7px 10px;font-size:.76rem;text-decoration:none;color:#475467;background:#fff}.author-profile-hero{display:grid;grid-template-columns:260px minmax(0,1fr);gap:42px;align-items:center;background:#fff;border:1px solid #e4e7ec;border-radius:28px;padding:36px}.author-profile-hero>img{width:100%;aspect-ratio:1;border-radius:24px;object-fit:cover;background:#eef2f6}.author-profile-hero>div>p:not(.eyebrow){font-size:1rem;line-height:1.8;color:#667085;max-width:760px}.author-articles{padding-top:50px}.static-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:34px;align-items:start}.static-content{background:#fff;border:1px solid #e4e7ec;border-radius:22px;padding:32px}.static-content h2{font-size:1.35rem;margin:34px 0 12px}.static-content h2:first-child{margin-top:0}.static-content p,.static-content li{line-height:1.85;color:#475467}.static-content a{color:#087f5b}.static-aside{background:#f2f8f5;border:1px solid #d8eee4;border-radius:20px;padding:23px}.static-aside h2{font-size:1.05rem;margin:0 0 10px}.static-aside p{color:#667085;line-height:1.7}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px}.contact-card,.contact-form-card{background:#fff;border:1px solid #e4e7ec;border-radius:22px;padding:26px}.contact-card h2,.contact-form-card h2{margin-top:0}.contact-list{display:grid;gap:12px;margin-top:22px}.contact-list a,.contact-list span{display:block;padding:12px 14px;border:1px solid #e4e7ec;border-radius:11px;text-decoration:none;color:#344054}.contact-form{display:grid;gap:14px}.contact-field{display:grid;gap:7px}.contact-field span{font-size:.8rem;font-weight:700}.contact-field input,.contact-field textarea{width:100%;border:1px solid #d0d5dd;border-radius:10px;padding:12px;font:inherit}.contact-field textarea{resize:vertical}.contact-form button{border:0;border-radius:11px;background:#12a66a;color:#fff;padding:13px 17px;font-weight:700;cursor:pointer}.contact-form button:disabled{opacity:.6}.contact-message{min-height:24px;color:#087f5b}.article-callout{padding:18px 20px;background:#eefaf5;border:1px solid #ccebdd;border-radius:14px;margin:24px 0}.video-embed{position:relative;aspect-ratio:16/9;margin:26px 0;border-radius:16px;overflow:hidden;background:#111}.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:960px){.public-team-grid{grid-template-columns:1fr}.static-layout,.contact-grid{grid-template-columns:1fr}.author-profile-hero{grid-template-columns:200px minmax(0,1fr)}.footer-team-wrap{order:3;width:100%;margin-left:0}}
@media(max-width:650px){.team-page,.author-page,.static-page{padding-top:22px}.public-author-card{grid-template-columns:105px minmax(0,1fr);min-height:190px}.public-author-copy{padding:18px}.public-author-copy>p:not(.public-author-role){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.author-profile-hero{grid-template-columns:1fr;padding:20px;gap:24px}.author-profile-hero>img{max-width:190px}.static-content,.contact-card,.contact-form-card{padding:20px}.team-page-hero h1,.static-page-hero h1,.author-profile-hero h1{font-size:2.45rem}.footer-links{gap:10px}.footer-team-wrap{margin-top:8px}}

/* Rich article blocks created by Tech Satahan Studio */
.article-callout.is-warning{background:#fff7ed;border-color:#fed7aa;color:#9a3412}.article-content-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:10px;background:#101828;color:#fff!important;text-decoration:none!important;font-weight:700}.article-content-button:hover{transform:translateY(-1px);opacity:.92}.article-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0}.article-gallery img{width:100%;height:100%;max-height:420px;object-fit:cover;border-radius:14px}.social-embed{display:grid;place-items:center;margin:26px auto;max-width:560px;min-height:260px}.social-embed iframe{width:100%;min-height:520px;border:0;border-radius:14px}.social-embed.is-tiktok{max-width:420px}.article-body table,.preview-pane table{width:100%;border-collapse:collapse;margin:24px 0;display:block;overflow-x:auto}.article-body th,.article-body td,.preview-pane th,.preview-pane td{border:1px solid #e4e7ec;padding:10px 12px;text-align:left;white-space:nowrap}.article-body th,.preview-pane th{background:#f8fafc;font-weight:700}@media(max-width:650px){.article-gallery{grid-template-columns:1fr}.social-embed iframe{min-height:440px}}

/* ==========================================================
   Tech Satahan rebrand — shared header, team and footer
   The supplied TS symbol remains an image-only mark. Brand text
   is separate HTML so the logo asset never contains wording.
   ========================================================== */
:root {
  --green: #0b9237;
  --green-dark: #056425;
  --green-soft: #edf9f1;
  --footer-bg: #07170d;
  --footer-muted: #a8b8ae;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-top: 3px solid var(--green-dark);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.header-inner {
  min-height: 76px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.brand {
  gap: 10px;
}

.brand-mark {
  width: 48px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
}

.brand-mark img,
.footer-logo-link img,
.login-brand img,
.sidebar-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.brand-name {
  color: #082d16;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: #59626f;
}

.primary-nav a {
  position: relative;
  padding: 27px 0 24px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transition: right 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--green-dark);
  outline: none;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  right: 0;
}

.brand img {
  border-radius: 0;
  object-fit: contain;
}

/* Team page inspired by the requested clean crew-card layout. */
.team-page {
  width: min(calc(100% - 48px), 1320px);
  padding-top: 0;
  padding-bottom: 96px;
}

.team-page-hero {
  max-width: none;
  padding: 70px 20px 52px;
  text-align: center;
}

.team-page-hero .eyebrow {
  color: var(--green-dark);
  margin-bottom: 12px;
}

.team-page-hero h1 {
  margin: 0 0 10px;
  color: #050b07;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.team-page-hero > p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: #5e6876;
  font-size: 1rem;
  line-height: 1.75;
}

.public-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.public-author-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 25px;
  overflow: visible;
  border: 1px solid #dfe5e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(9, 43, 22, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.public-author-card:hover {
  transform: translateY(-3px);
  border-color: #bcd9c5;
  box-shadow: 0 18px 46px rgba(9, 43, 22, 0.09);
}

.public-author-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.public-author-photo {
  width: 82px;
  height: 82px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: #eef3ef;
  box-shadow: inset 0 0 0 1px #e0e7e2;
}

.public-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-author-identity {
  min-width: 0;
}

.public-author-role {
  display: inline-flex;
  margin: 0 0 5px;
  color: var(--green-dark);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.public-author-identity h2 {
  margin: 0 0 3px;
  color: #0b1210;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.public-author-identity h2 a:hover {
  color: var(--green-dark);
}

.public-author-count {
  margin: 0;
  color: #67717e;
  font-family: "Poppins", sans-serif;
  font-size: .74rem;
}

.public-author-bio {
  margin: 20px 0 22px;
  color: #606b77;
  font-size: .86rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-author-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid #edf0ee;
}

.public-author-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-social-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe5e1;
  border-radius: 8px;
  color: #67717e;
  background: #fff;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.team-social-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-social-button svg.icon-fill {
  fill: currentColor;
  stroke: none;
}

.team-social-button:hover,
.team-social-button:focus-visible {
  border-color: #90c7a2;
  color: var(--green-dark);
  background: var(--green-soft);
  outline: none;
}

.view-author-link {
  color: var(--green-dark);
  font-family: "Poppins", sans-serif;
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
}

.view-author-link:hover {
  text-decoration: underline;
}

.author-profile-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.author-profile-labels span {
  padding: 6px 10px;
  border: 1px solid #cfe6d6;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-family: "Poppins", sans-serif;
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* A visibly structured publication footer with a dedicated Our Team area. */
.site-footer {
  border-top: 0;
  color: #f5faf6;
  background:
    radial-gradient(circle at 7% 12%, rgba(24, 151, 66, .22), transparent 27%),
    var(--footer-bg);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) minmax(130px, .65fr) minmax(140px, .7fr) minmax(260px, 1.25fr);
  gap: 42px;
  padding-top: 56px;
  padding-bottom: 42px;
}

.footer-brand-column p {
  max-width: 340px;
  margin: 18px 0 0;
  color: var(--footer-muted);
  font-size: .82rem;
  line-height: 1.8;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-link img {
  width: 54px;
  height: 46px;
  filter: drop-shadow(0 6px 18px rgba(37, 220, 91, .14));
}

.footer-logo-link span {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -.025em;
}

.footer-column,
.footer-team-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h2,
.footer-team-column h2 {
  margin: 0 0 17px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-column > a {
  margin: 0 0 11px;
  color: var(--footer-muted);
  font-family: "Poppins", sans-serif;
  font-size: .76rem;
}

.footer-column > a:hover,
.footer-column > a:focus-visible {
  color: #72df91;
  outline: none;
}

.footer-column-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-column-heading > a {
  margin-top: -17px;
  color: #72df91;
  font-family: "Poppins", sans-serif;
  font-size: .68rem;
}

.footer-team-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.footer-team-member {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
  transition: border-color 160ms ease, background 160ms ease;
}

.footer-team-member:hover,
.footer-team-member:focus-visible {
  border-color: rgba(104, 218, 135, .42);
  background: rgba(255, 255, 255, .07);
  outline: none;
}

.footer-team-member img {
  width: 37px;
  height: 37px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: #e9f2ec;
}

.footer-team-member span {
  min-width: 0;
  display: grid;
}

.footer-team-member strong,
.footer-team-member small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-team-member strong {
  color: #f9fffa;
  font-family: "Poppins", "Noto Sans Sinhala", sans-serif;
  font-size: .69rem;
  font-weight: 500;
}

.footer-team-member small {
  margin-top: 2px;
  color: #8eaa98;
  font-family: "Poppins", sans-serif;
  font-size: .59rem;
}

.footer-team-empty {
  color: var(--footer-muted);
  font-size: .75rem;
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #859b8c;
  font-family: "Poppins", sans-serif;
  font-size: .68rem;
}

.site-footer .footer-social a {
  color: #a7b9ad;
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}

.site-footer .footer-social a:hover,
.site-footer .footer-social a:focus-visible {
  color: #7be29a;
  border-color: rgba(123, 226, 154, .46);
  background: rgba(123, 226, 154, .08);
}

@media (max-width: 1080px) {
  .public-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.2fr .7fr .7fr; }
  .footer-team-column { grid-column: 1 / -1; }
  .footer-team-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .section-shell,
  .header-inner,
  .team-page { width: min(calc(100% - 32px), var(--content)); }
  .header-inner { min-height: 68px; column-gap: 12px; }
  .primary-nav { display: none; }
  .brand-mark { width: 42px; height: 39px; }
  .brand-name { font-size: 16px; }
  .header-avatar img { width: 38px; height: 38px; }
  .team-page-hero { padding: 48px 6px 36px; }
  .public-team-grid { grid-template-columns: 1fr; gap: 16px; }
  .public-author-card { min-height: 0; padding: 21px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding-top: 45px; }
  .footer-brand-column, .footer-team-column { grid-column: 1 / -1; }
  .footer-team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { padding: 20px 0; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .brand-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
  .header-actions { gap: 7px; }
  .public-author-main { align-items: flex-start; }
  .public-author-photo { width: 72px; height: 72px; }
  .public-author-actions { align-items: flex-end; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand-column, .footer-team-column { grid-column: auto; }
  .footer-team-list { grid-template-columns: 1fr; }
}

/* Tech Satahan publication introduction on the homepage */
.publication-intro{padding-top:18px;padding-bottom:22px}
.publication-intro-card{position:relative;overflow:hidden;display:grid;grid-template-columns:230px minmax(0,1fr);align-items:center;gap:42px;padding:38px 46px;border:1px solid #dce9e0;border-radius:22px;background:linear-gradient(135deg,#f5fbf7 0%,#fff 72%)}
.publication-intro-card::after{content:"";position:absolute;width:300px;height:300px;right:-130px;top:-160px;border-radius:50%;background:rgba(15,151,55,.07)}
.publication-intro-mark{height:170px;display:grid;place-items:center;border-right:1px solid #dce9e0}
.publication-intro-mark img{width:180px;height:150px;object-fit:contain;filter:drop-shadow(0 12px 28px rgba(6,100,37,.11))}
.publication-intro-copy{position:relative;z-index:1;max-width:720px}
.publication-intro-copy h2{margin:0 0 12px;font-size:clamp(1.75rem,4vw,2.75rem);line-height:1.15;letter-spacing:-.045em}
.publication-intro-copy>p:not(.eyebrow){margin:0;color:#5e6876;font-size:.94rem;line-height:1.8}
.publication-intro-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.publication-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border:1px solid #cfded4;border-radius:10px;color:#245431;background:#fff;font-family:"Poppins",sans-serif;font-size:.76rem;font-weight:500}
.publication-button.is-primary{border-color:var(--green-dark);color:#fff;background:var(--green-dark)}
.publication-button:hover{transform:translateY(-1px)}
@media(max-width:760px){.publication-intro-card{grid-template-columns:1fr;gap:24px;padding:28px}.publication-intro-mark{height:120px;border-right:0;border-bottom:1px solid #dce9e0}.publication-intro-mark img{width:140px;height:112px}.publication-intro-copy{text-align:center}.publication-intro-actions{justify-content:center}}
@media(min-width:1081px){.public-team-grid{grid-template-columns:repeat(auto-fit,minmax(320px,400px));justify-content:center}}

/* Rebranded article-end publication callout */
.article-publication-section{padding-top:12px;padding-bottom:18px}
.article-publication-cta{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:24px;padding:26px 30px;border:1px solid #dbe8df;border-radius:18px;background:#f7fbf8}
.article-publication-cta>img{width:86px;height:72px;object-fit:contain}
.article-publication-cta h2{margin:0 0 6px;font-size:1.25rem;line-height:1.35;letter-spacing:-.025em}
.article-publication-cta>div>p:not(.eyebrow){margin:0;color:#667085;font-size:.82rem;line-height:1.7}
.article-publication-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.article-publication-actions a{padding:9px 13px;border:1px solid #cbdacf;border-radius:9px;color:#174f29;background:#fff;font-family:"Poppins",sans-serif;font-size:.72rem;font-weight:500}
.article-publication-actions a:first-child{border-color:var(--green-dark);color:#fff;background:var(--green-dark)}
@media(max-width:760px){.article-publication-cta{grid-template-columns:70px minmax(0,1fr);gap:18px;padding:22px}.article-publication-cta>img{width:68px;height:58px}.article-publication-actions{grid-column:1/-1;justify-content:flex-start}}

/* ==========================================================
   Professional publication refinements
   - White footer without personal/founder promotion
   - Clean Our Team presentation
   - Organisation-focused About Us page
   ========================================================== */
.site-footer {
  border-top: 1px solid #e4e8e5;
  color: #1d2939;
  background: #ffffff;
}

.footer-main {
  grid-template-columns: minmax(260px, 1.45fr) minmax(130px, .65fr) minmax(150px, .75fr) minmax(230px, 1.05fr);
  gap: 44px;
  padding-top: 54px;
  padding-bottom: 42px;
}

.footer-brand-column p,
.footer-contact-column p {
  color: #667085;
}

.footer-logo-link img {
  filter: none;
}

.footer-logo-link span,
.footer-column h2,
.footer-contact-column h2 {
  color: #101828;
}

.footer-column > a,
.footer-contact-column > a {
  color: #667085;
}

.footer-column > a:hover,
.footer-column > a:focus-visible,
.footer-contact-column > a:hover,
.footer-contact-column > a:focus-visible {
  color: var(--green-dark);
  outline: none;
}

.footer-contact-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact-column h2 {
  margin: 0 0 17px;
  font-family: "Poppins", sans-serif;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-contact-column p {
  max-width: 290px;
  margin: 0 0 15px;
  font-size: .8rem;
  line-height: 1.7;
}

.footer-contact-column > a {
  font-family: "Poppins", sans-serif;
  font-size: .76rem;
  font-weight: 500;
  text-decoration: none;
}

.footer-bottom {
  min-height: 70px;
  border-top: 1px solid #e8ece9;
  color: #7b8491;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-legal a {
  color: #667085;
  font-family: "Poppins", sans-serif;
  font-size: .68rem;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--green-dark);
  outline: none;
}

.team-page-hero {
  padding-top: 66px;
}

.team-page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.15rem);
}

.public-author-role,
.author-profile-labels span {
  letter-spacing: .07em;
}

.about-us-hero {
  max-width: 920px;
  padding-bottom: 42px;
}

.about-us-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 82px;
}

.about-us-card {
  padding: 30px;
  border: 1px solid #e2e8e4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(16, 24, 40, .04);
}

.about-us-card h2 {
  margin: 0 0 12px;
  color: #101828;
  font-size: 1.35rem;
  line-height: 1.38;
  letter-spacing: -.025em;
}

.about-us-card > p:not(.eyebrow),
.about-us-card > div > p:not(.eyebrow) {
  margin: 0;
  color: #667085;
  font-size: .92rem;
  line-height: 1.8;
}

.about-us-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  background: linear-gradient(135deg, #f5fbf7, #fff 72%);
}

.about-us-logo {
  min-height: 150px;
  display: grid;
  place-items: center;
  border-right: 1px solid #dfe9e2;
}

.about-us-logo img {
  width: 150px;
  height: 130px;
  object-fit: contain;
}

.about-us-card-action {
  background: #f8faf9;
}

.about-us-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about-us-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #cfdcd3;
  border-radius: 10px;
  color: #245431;
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-size: .76rem;
  font-weight: 500;
  text-decoration: none;
}

.about-us-actions a:first-child {
  border-color: var(--green-dark);
  color: #fff;
  background: var(--green-dark);
}

@media (max-width: 920px) {
  .footer-main {
    grid-template-columns: 1.2fr .7fr .8fr;
  }
  .footer-contact-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-column,
  .footer-contact-column {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    align-items: flex-start;
  }
  .about-us-grid {
    grid-template-columns: 1fr;
  }
  .about-us-card-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .about-us-logo {
    min-height: 118px;
    border-right: 0;
    border-bottom: 1px solid #dfe9e2;
  }
}

@media (max-width: 460px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-brand-column,
  .footer-contact-column {
    grid-column: auto;
  }
  .footer-bottom {
    gap: 12px;
  }
  .about-us-card {
    padding: 23px;
  }
}


/* ==========================================================
   Final minimalist publication header
   - No Home / Topics / Team navigation in the header
   - Search remains available
   - TS symbol at the far right opens About Us
   - No dark-mode control or personal profile image
   ========================================================== */
.header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 0;
}

.header-spacer {
  min-width: 0;
  align-self: stretch;
}

.header-actions {
  min-height: 76px;
  gap: 0;
  border-left: 1px solid var(--line);
}

.header-actions .icon-button,
.header-about-logo {
  width: 80px;
  min-height: 76px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  color: #101828;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.header-actions .icon-button:hover,
.header-actions .icon-button:focus-visible,
.header-about-logo:hover,
.header-about-logo:focus-visible {
  color: var(--green-dark);
  background: #f6faf7;
  outline: none;
}

.header-about-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 66px;
    column-gap: 0;
  }

  .header-spacer {
    display: block;
  }

  .header-actions {
    min-height: 66px;
    gap: 0;
    border-left: 1px solid var(--line);
  }

  .header-actions .icon-button,
  .header-about-logo {
    width: 58px;
    min-height: 66px;
    border-right: 1px solid var(--line);
  }

  .header-about-logo img {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 460px) {
  .section-shell,
  .header-inner {
    width: min(calc(100% - 20px), var(--content));
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 38px;
    height: 36px;
  }

  .brand-name {
    max-width: 112px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions .icon-button,
  .header-about-logo {
    width: 52px;
  }

  .header-about-logo img {
    width: 31px;
    height: 31px;
  }
}

/* Explicit grid placement prevents older mobile header rules from stretching the action area. */
.header-inner > .brand {
  grid-column: 1;
  grid-row: 1;
}

.header-inner > .header-spacer {
  grid-column: 2;
  grid-row: 1;
}

.header-inner > .header-actions {
  grid-column: 3;
  grid-row: 1;
}

/* ==========================================================
   Tech Satahan v3.2 — balanced publication header
   - Search and About buttons use identical dimensions
   - A single vertical divider separates both controls
   - Full-width lower divider matches the reference header
   - The TS mark in the text brand and icon-only control share
     the same visual size
   ========================================================== */
.site-header {
  border-bottom: 1px solid #e2e7e4;
  box-shadow: none;
}

.header-inner {
  min-height: 76px;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.brand-mark img,
.header-about-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header-actions {
  min-height: 76px;
  border-left: 1px solid #e2e7e4;
}

.header-actions .icon-button,
.header-about-logo {
  box-sizing: border-box;
  width: 78px;
  min-width: 78px;
  height: 76px;
  min-height: 76px;
  border: 0;
}

/* The divider belongs to the second control, preventing a double line. */
.header-about-logo {
  border-left: 1px solid #e2e7e4;
  border-right: 1px solid #e2e7e4;
}

.header-actions .icon-button svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 760px) {
  .header-inner,
  .header-actions {
    min-height: 66px;
  }

  .brand-mark,
  .brand-mark img,
  .header-about-logo img {
    width: 34px;
    height: 34px;
  }

  .header-actions .icon-button,
  .header-about-logo {
    width: 58px;
    min-width: 58px;
    height: 66px;
    min-height: 66px;
  }

  .header-actions .icon-button svg {
    width: 23px;
    height: 23px;
  }
}

@media (max-width: 460px) {
  .brand-mark,
  .brand-mark img,
  .header-about-logo img {
    width: 31px;
    height: 31px;
  }

  .header-actions .icon-button,
  .header-about-logo {
    width: 52px;
    min-width: 52px;
  }
}


/* ==========================================================
   Tech Satahan v3.3 — forms, social links, search and profiles
   ========================================================== */
.footer-socials{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:20px}
.footer-social-link{width:38px;height:38px;display:grid;place-items:center;border:1px solid #dfe5e1;border-radius:10px;background:#fff;color:#52605a;text-decoration:none;transition:transform .16s ease,border-color .16s ease,color .16s ease,background-color .16s ease}
.footer-social-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.footer-social-link svg.icon-fill{fill:currentColor;stroke:none}
.footer-social-link:hover,.footer-social-link:focus-visible{transform:translateY(-2px);border-color:#9fcdb0;color:var(--green-dark);background:#f5fbf7;outline:none}
.footer-social-link.is-disabled{opacity:.38;cursor:not-allowed;transform:none;background:#f8faf9}
.author-social-icons{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
.author-social-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #dfe5e1;border-radius:11px;background:#fff;color:#53615a;text-decoration:none;transition:.16s ease}
.author-social-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.author-social-icon svg.icon-fill{fill:currentColor;stroke:none}
.author-social-icon:hover,.author-social-icon:focus-visible{border-color:#9fcdb0;color:var(--green-dark);background:#f5fbf7;transform:translateY(-1px);outline:none}
.public-author-photo,.author-profile-hero>img,.team-card img{aspect-ratio:1;border-radius:50%;object-fit:cover;object-position:center}
.public-author-photo{overflow:hidden;flex:0 0 auto}
.public-author-photo img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:center}
.search-modal{z-index:90;display:grid;align-items:start;justify-items:center;padding:max(22px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:rgba(249,251,250,.97);overflow:hidden}
.search-panel{width:min(780px,100%);max-height:calc(100dvh - max(44px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));display:flex;flex-direction:column;margin:0;border:1px solid #e1e7e3;border-radius:20px;background:#fff;box-shadow:0 24px 80px rgba(16,24,40,.14);overflow:hidden}
.search-topbar{flex:0 0 auto;min-height:74px;margin:0;padding:14px 16px 14px 24px;border-bottom:1px solid #e7ebe8;background:#fff}
.search-topbar h2{min-width:0;font-size:clamp(1.35rem,4vw,1.8rem);line-height:1.25}
.search-topbar .icon-button{flex:0 0 46px;width:46px;height:46px;min-height:46px;margin:0;border-radius:50%}
.search-field{flex:0 0 auto;margin:18px 24px 0;padding:0 2px;min-height:54px}
.search-results{min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:18px 0 0;padding:0 24px 24px}
.turnstile-block{display:grid;gap:7px;max-width:100%;overflow:hidden}
.turnstile-block>div{max-width:100%}
.turnstile-block p{margin:0;color:#7a857f;font-size:.72rem;line-height:1.5}
.form-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.contribute-layout{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);gap:22px;align-items:start;padding-bottom:80px}
.contribute-info-card{position:sticky;top:104px;padding:28px;border:1px solid #dce8e0;border-radius:22px;background:linear-gradient(145deg,#f3faf6,#fff)}
.contribute-info-card h2{margin:0 0 15px;font-size:1.45rem;line-height:1.35}
.contribute-info-card ul{display:grid;gap:12px;margin:18px 0;padding-left:20px;color:#475467;line-height:1.75}
.contribute-info-card>p:last-child{margin:20px 0 0;color:#667085;font-size:.85rem;line-height:1.75}
.social-profile-fieldset{min-width:0;margin:0;padding:16px;border:1px solid #dfe5e1;border-radius:13px}
.social-profile-fieldset legend{padding:0 7px;color:#344054;font-size:.8rem;font-weight:700}
.social-profile-fieldset legend span{color:#7a857f;font-weight:400}
.consent-row{display:flex;align-items:flex-start;gap:10px;color:#52605a;font-size:.8rem;line-height:1.65}
.consent-row input{flex:0 0 auto;width:17px;height:17px;margin-top:2px;accent-color:var(--green)}
@media(max-width:760px){.search-modal{padding:10px}.search-panel{max-height:calc(100dvh - 20px);border-radius:16px}.search-topbar{min-height:64px;padding:10px 10px 10px 16px}.search-topbar .icon-button{flex-basis:44px;width:44px;height:44px;min-height:44px}.search-field{margin:12px 16px 0}.search-results{margin-top:14px;padding:0 16px 18px}.form-two-columns,.contribute-layout{grid-template-columns:1fr}.contribute-info-card{position:static}.author-profile-links{align-items:center}.footer-socials{margin-top:16px}}
@media(max-width:420px){.search-modal{padding:0}.search-panel{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.search-topbar{padding-top:max(10px,env(safe-area-inset-top))}.search-results{padding-bottom:max(18px,env(safe-area-inset-bottom))}.search-result-item{grid-template-columns:78px minmax(0,1fr)}.search-result-item img{width:78px;height:62px}.form-two-columns{gap:12px}}


/* Tech Satahan v3.3.2 — compact About page and responsive contributor form */
.about-us-hero { max-width: 780px; padding-top: 10px; padding-bottom: 22px; }
.about-us-hero h1 { max-width: 720px; margin-bottom: 10px; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -.045em; }
.about-us-hero > p:last-child { max-width: 700px; margin: 0; font-size: .96rem; line-height: 1.65; }
.about-us-grid { gap: 16px; padding-bottom: 56px; }
.about-us-card { padding: 22px; border-radius: 17px; box-shadow: 0 8px 24px rgba(16, 24, 40, .035); }
.about-us-card h2 { margin-bottom: 9px; font-size: 1.18rem; line-height: 1.34; }
.about-us-card > p:not(.eyebrow),
.about-us-card > div > p:not(.eyebrow) { font-size: .88rem; line-height: 1.68; }
.about-us-card-featured { grid-template-columns: 145px minmax(0, 1fr); gap: 24px; }
.about-us-logo { min-height: 108px; }
.about-us-logo img { width: 112px; height: 96px; }
.about-us-actions { margin-top: 15px; }
body[data-page="contribute"] .static-page-hero { max-width: 800px; padding-top: 12px; padding-bottom: 28px; }
body[data-page="contribute"] .static-page-hero h1 { margin-bottom: 10px; font-size: clamp(2rem, 5vw, 3.25rem); }
body[data-page="contribute"] .static-page-hero > p:last-child { margin: 0; font-size: .97rem; line-height: 1.68; }
.contribute-layout { grid-template-columns: minmax(230px, .68fr) minmax(0, 1.32fr); gap: 18px; padding-bottom: 60px; }
.contribute-layout > * { min-width: 0; }
.contribute-info-card { top: 88px; padding: 22px; border-radius: 18px; }
.contribute-info-card h2 { margin-bottom: 11px; font-size: 1.25rem; }
.contribute-info-card ul { gap: 8px; margin: 13px 0; padding-left: 18px; font-size: .9rem; line-height: 1.62; }
.contribute-info-card > p:last-child { margin-top: 14px; line-height: 1.58; }
.contribute-form-card { min-width: 0; overflow: hidden; }
.contribute-form-card .contact-form { min-width: 0; }
.contribute-form-card .contact-field { min-width: 0; }
.contribute-form-card input,
.contribute-form-card textarea { min-width: 0; max-width: 100%; }
.required-mark { color: #c62828; font: inherit; }
.social-profile-fieldset { padding: 14px; background: #fbfcfb; }
.social-profile-fieldset .form-two-columns { gap: 11px; }
.social-profile-fieldset input::placeholder { color: #7d8781; opacity: .38; }
.social-profile-fieldset input { background: rgba(255, 255, 255, .86); }
.turnstile-block iframe { max-width: 100%; }
@media (max-width: 900px) {
  .about-us-card-featured { grid-template-columns: 125px minmax(0, 1fr); gap: 20px; }
  .about-us-logo img { width: 98px; height: 86px; }
  .contribute-layout { grid-template-columns: 1fr; }
  .contribute-info-card { position: static; }
}
@media (max-width: 650px) {
  .about-us-hero { padding-top: 4px; padding-bottom: 18px; }
  .about-us-grid { gap: 12px; padding-bottom: 42px; }
  .about-us-card { padding: 18px; }
  .about-us-card-featured { grid-template-columns: 82px minmax(0, 1fr); gap: 15px; align-items: start; }
  .about-us-logo { min-height: 82px; border-right: 1px solid #dfe9e2; border-bottom: 0; }
  .about-us-logo img { width: 70px; height: 66px; }
  body[data-page="contribute"] .static-page-hero { padding-top: 4px; padding-bottom: 20px; }
  .contribute-layout { gap: 14px; padding-bottom: 44px; }
  .contribute-info-card,
  .contribute-form-card { padding: 18px; border-radius: 16px; }
  .social-profile-fieldset { padding: 12px; }
  .contribute-form-card input,
  .contribute-form-card textarea { font-size: 16px; }
}
@media (max-width: 480px) {
  .about-us-card-featured { grid-template-columns: 1fr; }
  .about-us-logo { min-height: 66px; justify-items: start; border-right: 0; border-bottom: 1px solid #dfe9e2; }
  .about-us-logo img { width: 70px; height: 58px; }
  .social-profile-fieldset .form-two-columns { grid-template-columns: 1fr; }
  .contribute-info-card li { padding-left: 1px; }
}
