/* =========================================================
   TRIMLINK BLOG - SHARED RESPONSIVE STYLESHEET
   Homepage + Blogs page + All future article pages

   No universal (*) selector is used.
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

html {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;

  background: #f5f7fa;
  color: #172033;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  font-size: 16px;
  line-height: 1.7;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* =========================================================
   TARGETED RESET
========================================================= */

main,
header,
nav,
section,
article,
footer,
figure,
figcaption,
div {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
ul,
ol {
  margin-top: 0;
}

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

iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

button,
input,
textarea,
select {
  box-sizing: border-box;
  font: inherit;
}


/* =========================================================
   LINKS
========================================================= */

a {
  color: #0f766e;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a:hover {
  color: #095e58;
  text-decoration: none;
}


/* =========================================================
   SHARED CONTAINER
========================================================= */

.site-container {
  width: 100%;
  max-width: 1100px;

  margin-left: auto;
  margin-right: auto;

  padding-left: 20px;
  padding-right: 20px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: relative;
  z-index: 50;

  width: 100%;

  background: #ffffff;

  border-bottom: 1px solid #e7ebf0;
}

.header-inner {
  min-height: 78px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


/* =========================================================
   BRAND / LOGO
========================================================= */

.brand {
  display: flex;
  align-items: center;

  flex: 0 1 auto;

  min-width: 0;

  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  display: block;

  width: 175px;
  max-width: 100%;
  height: auto;
}


/* =========================================================
   NAVIGATION
========================================================= */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 24px;

  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;

  min-height: 40px;

  color: #596579;

  font-size: 0.93rem;
  font-weight: 600;

  line-height: 1.4;

  white-space: nowrap;

  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #0f766e;
}


/* =========================================================
   HOMEPAGE HERO
========================================================= */

.hero {
  width: 100%;

  padding: 95px 0 90px;

  background:
    linear-gradient(
      135deg,
      #ecfdf9 0%,
      #f8fbfd 55%,
      #ffffff 100%
    );
}

.hero-content {
  width: 100%;
  max-width: 850px;

  margin-left: auto;
  margin-right: auto;

  text-align: center;
}

.hero-label {
  display: inline-block;

  margin-bottom: 18px;
  padding: 6px 13px;

  background: #e5faf6;

  border: 1px solid #d2f2ec;

  border-radius: 999px;

  color: #0f766e;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 22px;

  color: #101828;

  font-size: clamp(2.15rem, 5vw, 3.7rem);

  line-height: 1.12;

  font-weight: 800;

  letter-spacing: -0.045em;

  overflow-wrap: anywhere;
}

.hero-description {
  max-width: 760px;

  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;

  color: #586477;

  font-size: 1.1rem;

  line-height: 1.85;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
  width: 100%;

  padding: 75px 0 45px;

  background: #ffffff;
}

.about-content {
  width: 100%;
  max-width: 820px;

  margin-left: auto;
  margin-right: auto;

  text-align: center;
}

.about-content h2 {
  margin-bottom: 18px;

  color: #111827;

  font-size: clamp(1.7rem, 3vw, 2.3rem);

  line-height: 1.3;

  font-weight: 800;

  letter-spacing: -0.025em;
}

.about-content p {
  margin-bottom: 18px;

  color: #596579;

  font-size: 1.02rem;

  line-height: 1.85;
}

.about-content p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   SHARED SECTION HEADING
========================================================= */

.section-heading {
  width: 100%;
  max-width: 800px;

  margin: 0 auto 35px;

  text-align: center;
}

.section-heading .section-label,
.section-label {
  display: inline-block;

  margin-bottom: 10px;

  color: #0f766e;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.4;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 12px;

  color: #111827;

  font-size: clamp(1.7rem, 3vw, 2.3rem);

  line-height: 1.3;

  font-weight: 800;

  letter-spacing: -0.025em;
}

.section-heading p {
  margin-bottom: 0;

  color: #667085;

  font-size: 1rem;

  line-height: 1.7;
}


/* =========================================================
   TOOLS
========================================================= */

.tools-section {
  width: 100%;

  padding: 60px 0 75px;

  background: rgb(245, 247, 250);
}

.tools-grid {
  width: 100%;
  max-width: 1000px;

  margin-left: auto;
  margin-right: auto;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;
}

.tool-card {
  min-width: 0;

  display: flex;
  flex-direction: column;

  padding: 26px;

  background: #ffffff;

  border: 1px solid #e2e7ed;

  border-radius: 18px;

  box-shadow:
    0 8px 25px rgba(16, 24, 40, 0.045);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-3px);

  border-color: #cfeee9;

  box-shadow:
    0 15px 35px rgba(16, 24, 40, 0.08);
}

.tool-card-icon {
  width: 48px;
  height: 48px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 18px;

  background: #e8faf7;

  color: #0f766e;

  border: 1px solid #d2f2ec;

  border-radius: 12px;

  font-size: 11px;

  font-weight: 800;

  line-height: 1;

  text-align: center;

  text-transform: uppercase;

  overflow: hidden;
}

.tool-card h3 {
  margin-bottom: 12px;

  color: #111827;

  font-size: 1.2rem;

  line-height: 1.35;

  font-weight: 800;

  letter-spacing: -0.015em;
}

.tool-card h3 a {
  color: #111827;
}

.tool-card h3 a:hover {
  color: #0f766e;
}

.tool-card p {
  margin-bottom: 20px;

  color: #667085;

  font-size: 0.94rem;

  line-height: 1.7;
}

.tool-link {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  margin-top: auto;

  color: #0f766e;

  font-size: 0.9rem;

  font-weight: 700;

  line-height: 1.5;
}

.tool-link:hover {
  color: #095e58;
}


/* =========================================================
   HOMEPAGE LATEST BLOG SECTION
========================================================= */

.featured-section {
  width: 100%;

  padding: 62px 0 85px;

  background: #ffffff;
}

.featured-heading {
  margin-bottom: 30px;
}


/* =========================================================
   BLOG CAROUSEL
========================================================= */

.blog-carousel {
  position: relative;

  width: 100%;
  max-width: 1000px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 44px minmax(0, 1fr) 44px;

  align-items: center;

  gap: 12px;
}

.blog-carousel-viewport {
  width: 100%;
  min-width: 0;

  overflow: hidden;

  border-radius: 18px;
}

.blog-carousel-track {
  display: flex;

  width: 100%;

  transform: translateX(0);

  transition: transform 0.35s ease;
}

.blog-carousel-item {
  flex: 0 0 50%;

  min-width: 0;

  padding-right: 12px;
}

.blog-carousel-item:last-child {
  padding-right: 0;
}


/* =========================================================
   BLOG CARD
========================================================= */

.blog-card {
  min-width: 0;

  height: 100%;

  display: flex;
  flex-direction: column;

  background: #ffffff;

  border: 1px solid #e2e7ed;

  border-radius: 18px;

  overflow: hidden;

  box-shadow:
    0 8px 25px rgba(16, 24, 40, 0.06);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);

  box-shadow:
    0 15px 35px rgba(16, 24, 40, 0.10);
}


/* =========================================================
   BLOG IMAGE
========================================================= */

.blog-image-link {
  display: block;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #edf2f5;
}

.blog-image-link img {
  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;

  transition: transform 0.3s ease;
}

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


/* =========================================================
   BLOG CONTENT
========================================================= */

.blog-card-content {
  min-width: 0;

  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 27px;
}

.blog-category {
  display: inline-block;

  margin-bottom: 11px;

  color: #0f766e;

  font-size: 11px;

  font-weight: 700;

  line-height: 1.4;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.blog-card-content h3 {
  margin-bottom: 13px;

  color: #111827;

  font-size: clamp(1.25rem, 2vw, 1.55rem);

  line-height: 1.35;

  font-weight: 800;

  letter-spacing: -0.02em;

  overflow-wrap: anywhere;
}

.blog-card-content h3 a {
  color: #111827;
}

.blog-card-content h3 a:hover {
  color: #0f766e;
}

.blog-card-content p {
  margin-bottom: 20px;

  color: #596579;

  font-size: 0.95rem;

  line-height: 1.75;
}

.read-more {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  margin-top: auto;

  color: #0f766e;

  font-size: 0.9rem;

  font-weight: 700;

  line-height: 1.5;
}

.read-more:hover {
  color: #095e58;
}


/* =========================================================
   CAROUSEL ARROWS
========================================================= */

.carousel-arrow {
  width: 44px;
  height: 44px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 0;

  background: #ffffff;

  border: 1px solid #dbe2e8;

  border-radius: 50%;

  color: #0f766e;

  font-size: 28px;

  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 5px 18px rgba(16, 24, 40, 0.07);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.carousel-arrow:hover:not(:disabled) {
  transform: scale(1.04);

  background: #e8faf7;

  border-color: #bfe6df;

  color: #095e58;
}

.carousel-arrow:disabled {
  opacity: 0.4;

  cursor: not-allowed;

  box-shadow: none;
}


/* =========================================================
   VIEW ALL BLOGS
========================================================= */

.featured-blog-footer {
  width: 100%;

  display: flex;

  justify-content: center;

  margin-top: 28px;
}

.view-all-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 11px 19px;

  background: #0f766e;

  color: #ffffff;

  border: 1px solid #0f766e;

  border-radius: 9px;

  font-size: 0.9rem;

  font-weight: 700;

  line-height: 1.4;

  white-space: nowrap;

  box-shadow:
    0 5px 16px rgba(15, 118, 110, 0.14);
}

.view-all-button:hover {
  background: #095e58;

  border-color: #095e58;

  color: #ffffff;

  text-decoration: none;
}


/* =========================================================
   BLOGS PAGE HERO
========================================================= */

.blogs-hero {
  width: 100%;

  padding: 70px 0 75px;

  background:
    linear-gradient(
      135deg,
      #123746 0%,
      #204e5f 52%,
      #2c6470 100%
    );

  color: #ffffff;
}

.blogs-hero .site-container {
  width: 100%;
  max-width: 1100px;
}

.blogs-hero-content {
  width: 100%;
  max-width: 1100px;

  margin-left: auto;
  margin-right: auto;

  text-align: left;
}

.blogs-hero .hero-label {
  background: rgba(255, 255, 255, 0.10);

  border-color: rgba(255, 255, 255, 0.20);

  color: #d9fffa;
}

.blogs-hero h1 {
  max-width: 760px;

  margin-bottom: 12px;

  color: #ffffff;

  font-size: clamp(2.2rem, 5vw, 3.3rem);

  line-height: 1.15;

  font-weight: 800;

  letter-spacing: -0.035em;
}

.blogs-hero-content p {
  max-width: 720px;

  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.88);

  font-size: 1rem;

  line-height: 1.75;
}


/* =========================================================
   ALL BLOGS
========================================================= */

.all-blogs-section {
  width: 100%;

  padding: 52px 0 85px;

  background: #f4f8fb;
}

.blogs-section-heading {
  width: 100%;
  max-width: 800px;

  margin: 0 auto 32px;

  text-align: center;
}

.blogs-section-heading h2 {
  margin-bottom: 8px;

  color: #103b4b;

  font-size: clamp(1.65rem, 3vw, 2.15rem);

  line-height: 1.3;

  font-weight: 800;
}

.blogs-section-heading p {
  margin-bottom: 0;

  color: #667085;

  font-size: 0.95rem;

  line-height: 1.7;
}


/* =========================================================
   BLOGS GRID
========================================================= */

.blogs-grid {
  width: 100%;
  max-width: 1020px;

  margin-left: auto;
  margin-right: auto;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;

  align-items: stretch;
}

.blog-list-card {
  min-width: 0;

  display: flex;
  flex-direction: column;

  background: #ffffff;

  border: 1px solid #e0e8ed;

  border-radius: 14px;

  overflow: hidden;

  box-shadow:
    0 7px 24px rgba(16, 24, 40, 0.055);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-list-card:hover {
  transform: translateY(-3px);

  box-shadow:
    0 14px 34px rgba(16, 24, 40, 0.09);
}

.blog-list-image {
  display: block;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #edf2f5;
}

.blog-list-image img {
  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;

  transition: transform 0.3s ease;
}

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

.blog-list-content {
  min-width: 0;

  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 21px 21px 23px;
}

.blog-list-content h3 {
  margin-bottom: 10px;

  color: #0f3d4d;

  font-size: 1.18rem;

  line-height: 1.3;

  font-weight: 800;

  letter-spacing: -0.015em;

  overflow-wrap: anywhere;
}

.blog-list-content h3 a {
  color: #0f3d4d;
}

.blog-list-content h3 a:hover {
  color: #0f766e;
}

.blog-list-content p {
  margin-bottom: 17px;

  color: #667085;

  font-size: 0.9rem;

  line-height: 1.65;
}

.blog-list-content .read-more {
  margin-top: auto;
}


/* =========================================================
   BLOG PAGINATION
========================================================= */

.blog-pagination {
  width: 100%;

  margin: 38px auto 0;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  flex-wrap: wrap;
}

.pagination-button {
  min-width: 34px;
  min-height: 34px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 7px 10px;

  background: #ffffff;

  border: 1px solid #dbe3e8;

  border-radius: 7px;

  color: #35505c;

  font-size: 0.76rem;

  font-weight: 700;

  line-height: 1.2;

  cursor: pointer;
}

.pagination-button.active {
  background: #f28a62;

  border-color: #f28a62;

  color: #ffffff;
}

.pagination-button:hover:not(:disabled):not(.active) {
  background: #edf8f7;

  border-color: #cdeae5;

  color: #0f766e;
}

.pagination-button:disabled {
  opacity: 0.55;

  cursor: not-allowed;
}


/* =========================================================
   COMING SOON
========================================================= */

.coming-soon-box {
  width: 100%;
  max-width: 820px;

  margin: 50px auto 0;

  padding: 30px 25px;

  background: #e8f7f8;

  border-radius: 14px;

  text-align: center;
}

.coming-soon-box h2 {
  margin-bottom: 10px;

  color: #123d4c;

  font-size: 1.3rem;

  line-height: 1.35;
}

.coming-soon-box p {
  max-width: 620px;

  margin: 0 auto 18px;

  color: #667085;

  font-size: 0.9rem;

  line-height: 1.65;
}

.coming-soon-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 10px 17px;

  background: #f28a62;

  border: 1px solid #f28a62;

  border-radius: 7px;

  color: #ffffff;

  font-size: 0.85rem;

  font-weight: 700;

  line-height: 1.4;
}

.coming-soon-button:hover {
  background: #e8754b;

  border-color: #e8754b;

  color: #ffffff;

  text-decoration: none;
}


/* =========================================================
   ARTICLE PAGE
========================================================= */

.blog-page {
  width: 100%;

  padding: 50px 20px 70px;

  overflow-x: hidden;
}

.blog-container {
  width: 100%;
  max-width: 820px;

  margin-left: auto;
  margin-right: auto;
}

.blog-article {
  width: 100%;
  max-width: 100%;

  padding: 50px;

  background: #ffffff;

  border: 1px solid #e3e7ec;

  border-radius: 20px;

  box-shadow:
    0 10px 30px rgba(16, 24, 40, 0.06);

  overflow: hidden;
}

.article-header {
  width: 100%;

  margin-bottom: 32px;
}

.article-category {
  display: inline-block;

  margin-bottom: 16px;

  padding: 5px 11px;

  background: #e8faf7;

  color: #0f766e;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.4;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.article-header h1 {
  width: 100%;

  margin-bottom: 20px;

  color: #101828;

  font-size: clamp(2rem, 5vw, 3.25rem);

  line-height: 1.13;

  font-weight: 800;

  letter-spacing: -0.035em;

  overflow-wrap: anywhere;
}

.article-intro {
  width: 100%;

  margin-bottom: 0;

  color: #596579;

  font-size: 1.08rem;

  line-height: 1.8;
}

.blog-article p {
  margin-bottom: 22px;

  color: #465264;

  font-size: 1rem;

  line-height: 1.85;
}

.blog-article strong {
  color: #172033;

  font-weight: 700;
}

.blog-article h2 {
  margin-top: 55px;
  margin-bottom: 20px;

  color: #111827;

  font-size: clamp(1.65rem, 3vw, 2.1rem);

  line-height: 1.3;

  font-weight: 800;

  letter-spacing: -0.02em;

  overflow-wrap: anywhere;
}

.blog-article h3 {
  margin-top: 38px;
  margin-bottom: 14px;

  color: #1d2939;

  font-size: clamp(1.2rem, 2.2vw, 1.42rem);

  line-height: 1.4;

  font-weight: 700;

  overflow-wrap: anywhere;
}

.blog-article ul,
.blog-article ol {
  margin-top: 0;

  margin-bottom: 25px;

  padding-left: 24px;
}

.blog-article li {
  margin-bottom: 9px;

  color: #465264;

  font-size: 1rem;

  line-height: 1.7;
}

.takeaways {
  width: 100%;

  margin: 30px 0;

  padding: 25px;

  background: #f1fbf9;

  border: 1px solid #d3eee9;

  border-radius: 16px;

  overflow: hidden;
}

.takeaways h2 {
  margin-top: 0;
  margin-bottom: 15px;

  color: #123331;

  font-size: 1.45rem;

  line-height: 1.35;
}

.takeaways ul {
  margin-bottom: 0;
}

.video-wrapper {
  position: relative;

  width: 100%;
  max-width: 100%;

  margin: 32px 0 40px;

  aspect-ratio: 16 / 9;

  background: #111827;

  border-radius: 16px;

  overflow: hidden;

  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.12);
}

.video-wrapper iframe {
  position: absolute;

  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

.article-image {
  display: block;

  width: 100%;
  max-width: 100%;

  margin: 32px 0 38px;

  overflow: hidden;
}

.article-image img {
  display: block;

  width: 100%;
  max-width: 100%;
  height: auto;

  border-radius: 15px;

  object-fit: contain;

  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.10);
}

.article-image figcaption {
  margin-top: 10px;

  color: #667085;

  text-align: center;

  font-size: 0.85rem;

  line-height: 1.5;
}

.blog-article code {
  display: inline;

  max-width: 100%;

  padding: 3px 6px;

  background: #f2f4f7;

  color: #b42318;

  border-radius: 5px;

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    monospace;

  font-size: 0.88em;

  overflow-wrap: anywhere;
}

.blog-article blockquote {
  margin: 28px 0;

  padding: 18px 20px;

  background: #f8fafc;

  border-left: 4px solid #14b8a6;

  border-radius: 0 12px 12px 0;

  overflow: hidden;
}

.blog-article blockquote p {
  margin: 0;

  color: #344054;

  font-size: 1rem;

  line-height: 1.75;

  font-style: italic;
}

.faq-section {
  width: 100%;

  margin-top: 50px;
}

.faq-section > h2 {
  margin-top: 0;

  margin-bottom: 25px;
}

.faq-item {
  width: 100%;

  padding: 22px 0;

  border-top: 1px solid #eaecf0;
}

.faq-item:last-child {
  border-bottom: 1px solid #eaecf0;
}

.faq-item h3 {
  margin-top: 0;

  margin-bottom: 10px;
}

.faq-item p {
  margin-bottom: 0;
}

.final-thoughts {
  width: 100%;

  margin-top: 45px;

  padding: 26px;

  background: #f8fafc;

  border: 1px solid #e5e7eb;

  border-radius: 16px;

  overflow: hidden;
}

.final-thoughts h2 {
  margin-top: 0;
}

.final-thoughts p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 900px) {

  .site-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-inner {
    gap: 20px;
  }

  .brand-logo {
    width: 155px;
  }

  .site-nav {
    gap: 17px;
  }

  .hero {
    padding: 75px 0 70px;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

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

  .blog-page {
    padding: 35px 16px 55px;
  }

  .blog-container {
    max-width: 780px;
  }

  .blog-article {
    padding: 40px;
    border-radius: 18px;
  }

  .blogs-hero {
    padding: 62px 0 66px;
  }

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

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 600px) {

  .site-container {
    padding-left: 14px;
    padding-right: 14px;
  }


  /* HEADER */

  .header-inner {
    min-height: auto;

    padding-top: 14px;
    padding-bottom: 14px;

    flex-direction: column;

    gap: 13px;
  }

  .brand-logo {
    width: 145px;
  }

  .site-nav {
    width: 100%;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
  }

  .site-nav a {
    min-height: 32px;

    font-size: 0.82rem;
  }


  /* HERO */

  .hero {
    padding: 58px 0 55px;
  }

  .hero-label {
    margin-bottom: 14px;

    padding: 5px 10px;

    font-size: 10px;
  }

  .hero h1 {
    margin-bottom: 17px;

    font-size: 2rem;

    line-height: 1.18;
  }

  .hero-description {
    font-size: 0.97rem;

    line-height: 1.75;
  }


  /* ABOUT */

  .about-section {
    padding: 55px 0 30px;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }

  .about-content p {
    font-size: 0.96rem;

    line-height: 1.75;
  }


  /* TOOLS */

  .tools-section {
    padding: 45px 0 55px;
  }

  .tools-grid {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .tool-card {
    padding: 22px;
    border-radius: 14px;
  }

  .tool-card-icon {
    width: 44px;
    height: 44px;

    margin-bottom: 15px;
  }

  .tool-card h3 {
    font-size: 1.16rem;
  }

  .tool-card p {
    font-size: 0.93rem;
  }


  /* LATEST BLOGS */

  .featured-section {
    padding: 45px 0 58px;
  }

  .featured-heading {
    margin-bottom: 24px;
  }

  .blog-carousel {
    display: block;

    max-width: 100%;

    padding: 0 2px;
  }

  .blog-carousel-viewport {
    width: 100%;

    border-radius: 14px;
  }

  .blog-carousel-track {
    width: 100%;
  }

  .blog-carousel-item {
    flex: 0 0 100%;

    padding-right: 0;
  }

  .carousel-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    width: 38px;
    height: 38px;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.96);
  }

  .carousel-arrow:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.04);
  }

  .carousel-arrow-prev {
    left: 7px;
  }

  .carousel-arrow-next {
    right: 7px;
  }

  .blog-card {
    border-radius: 14px;
  }

  .blog-card-content {
    padding: 23px 20px 25px;
  }

  .blog-card-content h3 {
    font-size: 1.3rem;
  }

  .blog-card-content p {
    font-size: 0.95rem;
  }

  .featured-blog-footer {
    margin-top: 22px;
  }


  /* BLOGS HERO */

  .blogs-hero {
    padding: 54px 0 58px;
  }

  .blogs-hero-content {
    text-align: center;
  }

  .blogs-hero h1 {
    max-width: 100%;

    font-size: 2rem;
  }

  .blogs-hero-content p {
    max-width: 100%;

    font-size: 0.95rem;
  }


  /* ALL BLOGS */

  .all-blogs-section {
    padding: 45px 0 60px;
  }

  .blogs-grid {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .blogs-section-heading {
    margin-bottom: 25px;
  }

  .blogs-section-heading h2 {
    font-size: 1.55rem;
  }

  .blogs-section-heading p {
    font-size: 0.93rem;
  }

  .blog-list-content {
    padding: 20px;
  }

  .blog-list-content h3 {
    font-size: 1.15rem;
  }

  .blog-list-content p {
    font-size: 0.9rem;
  }


  /* PAGINATION */

  .blog-pagination {
    margin-top: 30px;
  }

  .pagination-button {
    font-size: 0.74rem;
  }

  .coming-soon-box {
    margin-top: 35px;

    padding: 24px 18px;
  }


  /* ARTICLE */

  .blog-page {
    padding: 10px 10px 35px;
  }

  .blog-container {
    width: 100%;
    max-width: 100%;
  }

  .blog-article {
    width: 100%;
    max-width: 100%;

    padding: 25px 18px 35px;

    border-radius: 14px;
  }

  .article-header {
    margin-bottom: 27px;
  }

  .article-category {
    margin-bottom: 13px;

    padding: 5px 9px;

    font-size: 10px;
  }

  .article-header h1 {
    margin-bottom: 16px;

    font-size: 1.95rem;

    line-height: 1.18;

    letter-spacing: -0.025em;
  }

  .article-intro {
    font-size: 0.98rem;

    line-height: 1.7;
  }

  .blog-article p {
    font-size: 0.96rem;

    line-height: 1.75;

    margin-bottom: 18px;
  }

  .blog-article h2 {
    margin-top: 40px;

    margin-bottom: 16px;

    font-size: 1.5rem;
  }

  .blog-article h3 {
    margin-top: 30px;

    margin-bottom: 11px;

    font-size: 1.18rem;
  }

  .blog-article ul,
  .blog-article ol {
    padding-left: 20px;
  }

  .blog-article li {
    font-size: 0.95rem;
  }

  .takeaways {
    margin: 25px 0;

    padding: 19px 16px;

    border-radius: 13px;
  }

  .takeaways h2 {
    font-size: 1.3rem;
  }

  .video-wrapper {
    margin: 25px 0 32px;

    border-radius: 11px;
  }

  .article-image {
    margin: 25px 0 30px;
  }

  .article-image img {
    border-radius: 11px;
  }

  .blog-article blockquote {
    margin: 23px 0;

    padding: 16px;
  }

  .faq-section {
    margin-top: 40px;
  }

  .faq-item {
    padding: 20px 0;
  }

  .final-thoughts {
    margin-top: 34px;

    padding: 19px 16px;

    border-radius: 13px;
  }


  /* FOOTER */

  .site-footer,
  .blog-footer {
    padding: 24px 15px;
  }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media screen and (max-width: 480px) {

  .brand-logo {
    width: 42px;
    height: 42px;

    object-fit: contain;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media screen and (max-width: 380px) {

  .site-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero h1,
  .blogs-hero h1 {
    font-size: 1.72rem;
  }

  .hero-description,
  .blogs-hero-content p {
    font-size: 0.92rem;
  }

  .about-content h2,
  .section-heading h2,
  .blogs-section-heading h2 {
    font-size: 1.42rem;
  }

  .blog-card-content {
    padding: 20px 16px 22px;
  }

  .blog-card-content h3 {
    font-size: 1.2rem;
  }

  .blog-list-content {
    padding: 18px;
  }

  .blog-list-content h3 {
    font-size: 1.1rem;
  }

  .blog-article {
    padding-left: 15px;
    padding-right: 15px;
  }

  .article-header h1 {
    font-size: 1.7rem;
  }

  .article-intro {
    font-size: 0.93rem;
  }

  .blog-article p {
    font-size: 0.94rem;
  }

  .blog-article h2 {
    font-size: 1.38rem;
  }

  .blog-article h3 {
    font-size: 1.1rem;
  }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid #14b8a6;

  outline-offset: 3px;

  border-radius: 4px;
}


/* =========================================================
   FINAL LAYOUT OVERRIDES
   Added so the same stylesheet works consistently across:
   index.html, blogs.html, and future article pages.
========================================================= */


/* =========================================================
   FOOTER - CENTER EVERYTHING
========================================================= */

.site-footer,
.blog-footer {
  width: 100%;
  background: #f5f7fa;
  border-top: 1px solid #e6eaf0;

  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center;
}

.site-footer .site-container {
  width: 100%;
  max-width: 1100px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
}

.site-footer .copyright,
.blog-footer .copyright {
  width: 100%;

  margin: 0;
  padding: 0;

  color: #667085;

  font-size: 14px;
  line-height: 1.6;

  text-align: center;
}

.site-footer .copyright a,
.blog-footer .copyright a {
  color: #0f766e;
  font-weight: 600;
}


/* =========================================================
   FEATURED BLOGS - EXACT SAME CARD WIDTH
========================================================= */

.featured-blog-list {
  width: 100%;
  max-width: 1000px;

  margin-left: auto;
  margin-right: auto;

  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 24px;
}


/* =========================================================
   HOME BLOG CAROUSEL
========================================================= */

.blog-carousel {
  position: relative;

  width: 100%;
  max-width: 1000px;

  margin-left: auto;
  margin-right: auto;

  display: grid;

  grid-template-columns:
    44px
    minmax(0, 1fr)
    44px;

  align-items: center;

  column-gap: 12px;
}

.blog-carousel-viewport {
  width: 100%;
  min-width: 0;

  overflow: hidden;

  border-radius: 18px;
}

.blog-carousel-track {
  width: 100%;

  display: flex;

  column-gap: 24px;

  transition:
    transform 0.35s ease;

  will-change: transform;
}

.blog-carousel-item {
  flex: 0 0 calc((100% - 24px) / 2);

  width: calc((100% - 24px) / 2);

  min-width: 0;

  padding: 0;
}


/* Both home cards use exactly the same image box */

.blog-carousel-item .blog-image-link {
  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;
}

.blog-carousel-item .blog-image-link img {
  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;
}


/* =========================================================
   MORE GAP BETWEEN ARTICLE CARDS
========================================================= */

.blog-carousel-item + .blog-carousel-item {
  margin-left: 0;
}


/* =========================================================
   CAROUSEL ARROWS
========================================================= */

.carousel-arrow {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  background: #ffffff;

  border: 1px solid #dbe2e8;

  border-radius: 50%;

  color: #0f766e;

  font-size: 28px;
  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 5px 18px rgba(16, 24, 40, 0.07);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.carousel-arrow:hover:not(:disabled) {
  background: #e8faf7;

  border-color: #bfe6df;

  color: #095e58;

  transform: scale(1.04);
}

.carousel-arrow:disabled {
  opacity: 0.4;

  cursor: not-allowed;

  box-shadow: none;
}


/* =========================================================
   VIEW ALL BLOGS - CENTERED
========================================================= */

.featured-blog-footer {
  width: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-top: 30px;

  text-align: center;
}

.featured-blog-footer .view-all-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 11px 19px;

  background: #0f766e;

  color: #ffffff;

  border: 1px solid #0f766e;

  border-radius: 9px;

  font-size: 0.9rem;

  font-weight: 700;

  line-height: 1.4;

  white-space: nowrap;

  box-shadow:
    0 5px 16px rgba(15, 118, 110, 0.14);
}

.featured-blog-footer .view-all-button:hover {
  background: #095e58;

  border-color: #095e58;

  color: #ffffff;

  text-decoration: none;
}


/* =========================================================
   BLOGS PAGE HERO - FULL WIDTH
========================================================= */

.blogs-hero {
  display: block;

  width: 100%;
  max-width: 100%;

  padding: 70px 0 75px;

  background:
    linear-gradient(
      135deg,
      #123746 0%,
      #204e5f 52%,
      #2c6470 100%
    );

  color: #ffffff;
}

.blogs-hero .site-container {
  width: 100%;
  max-width: 1100px;
}

.blogs-hero-content {
  width: 100%;
  max-width: 850px;

  margin-left: auto;
  margin-right: auto;

  text-align: center;
}

.blogs-hero h1 {
  max-width: 800px;

  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
}

.blogs-hero-content p {
  max-width: 760px;

  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}


/* =========================================================
   BLOGS PAGE GRID
========================================================= */

.blogs-grid {
  width: 100%;
  max-width: 1020px;

  margin-left: auto;
  margin-right: auto;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;

  align-items: stretch;
}


/* =========================================================
   BLOG PAGINATION - ALWAYS CENTERED
========================================================= */

.blog-pagination {
  width: 100%;

  margin: 40px auto 0;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  flex-wrap: wrap;

  text-align: center;
}

.blog-pagination .pagination-button {
  flex: 0 0 auto;
}


/* =========================================================
   MOBILE CAROUSEL
========================================================= */

@media screen and (max-width: 600px) {

  .blog-carousel {
    display: block;

    max-width: 100%;

    padding: 0;
  }

  .blog-carousel-viewport {
    width: 100%;

    border-radius: 14px;
  }

  .blog-carousel-track {
    column-gap: 0;
  }

  .blog-carousel-item {
    flex: 0 0 100%;

    width: 100%;
  }

  .carousel-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    width: 38px;
    height: 38px;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.96);
  }

  .carousel-arrow:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.04);
  }

  .carousel-arrow-prev {
    left: 7px;
  }

  .carousel-arrow-next {
    right: 7px;
  }

  .featured-blog-footer {
    margin-top: 22px;
  }

  .featured-blog-footer .view-all-button {
    padding: 10px 16px;

    font-size: 0.86rem;
  }

  .blogs-hero {
    width: 100%;

    padding: 54px 0 58px;
  }

  .blogs-hero .site-container {
    width: 100%;
  }

  .blogs-hero-content {
    max-width: 100%;

    margin: 0 auto;

    text-align: center;
  }

  .blogs-hero h1 {
    max-width: 100%;
  }

}


/* =========================================================
   MOBILE FOOTER
========================================================= */

@media screen and (max-width: 600px) {

  .site-footer,
  .blog-footer {
    min-height: 70px;

    padding: 22px 14px;
  }

  .site-footer .site-container {
    padding-left: 0;
    padding-right: 0;
  }

  .site-footer .copyright,
  .blog-footer .copyright {
    font-size: 13px;

    text-align: center;
  }

}


/* =========================================================
   FINAL FOOTER NORMALIZATION
   Same centered footer across homepage, blogs and articles.
   Keeps the compact height used by the earlier layout.
========================================================= */

.site-footer,
.blog-footer {
  width: 100%;
  min-height: 72px;

  padding: 20px 20px;

  background: rgb(245, 247, 250);

  border-top: 1px solid #e6eaf0;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.site-footer .site-container,
.blog-footer .site-container {
  width: 100%;
  max-width: 1100px;

  margin-left: auto;
  margin-right: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.site-footer p,
.blog-footer p,
.site-footer .copyright,
.blog-footer .copyright {
  width: 100%;

  margin: 0;
  padding: 0;

  color: #667085;

  font-size: 14px;
  line-height: 1.5;

  text-align: center;
}

.site-footer a,
.blog-footer a {
  color: #0f766e;
  font-weight: 600;
}

@media screen and (max-width: 600px) {

  .site-footer,
  .blog-footer {
    min-height: 72px;
    padding: 20px 14px;
  }

  .site-footer .site-container,
  .blog-footer .site-container {
    padding-left: 0;
    padding-right: 0;
  }

  .site-footer p,
  .blog-footer p,
  .site-footer .copyright,
  .blog-footer .copyright {
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
  }

}
