/* Line Services — Blog (news module): list, article, homepage "Son məqalələr".
   Loaded from index.header.tpl only on blog pages and the homepage (blog_assets block).
   Palette follows the site: green #008257 / #00623f / #EAF7F1, navy #15212a, text #5e686c. */

.lsblog {
  --lsb-green: #008257;
  --lsb-green-dark: #00623f;
  --lsb-green-light: #EAF7F1;
  --lsb-navy: #15212a;
  --lsb-ink: #22313a;
  --lsb-muted: #5e686c;
  --lsb-line: #e7e7e7;
  --lsb-radius: 14px;
}

/* ---------- Hero (list + article) ---------- */
.lsblog-hero .heading {
  font-size: 44px !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  max-width: 900px;
}
.lsblog-hero .lsblog-hero__intro {
  color: rgba(255, 255, 255, .85);
  font-size: 18px;
  max-width: 720px;
  margin: 12px 0 0;
}
.lsblog-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
}
.lsblog-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: .6;
}
.lsblog-crumbs a {
  color: #fff;
}
.lsblog-crumbs a:hover {
  text-decoration: underline !important;
}
.lsblog-hero__meta {
  margin-top: 14px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}

/* ---------- Cards ---------- */
.lsblog-grid {
  row-gap: 24px;
}
.lsblog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--lsb-line);
  border-radius: var(--lsb-radius);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.lsblog-card:hover {
  border-color: #00a36c;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}
.lsblog-card__img {
  display: block;
  aspect-ratio: 1200 / 630;
  background: var(--lsb-green-dark);
  overflow: hidden;
}
.lsblog-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lsblog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.lsblog-date {
  color: var(--lsb-green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
}
.lsblog-card__title {
  margin: 8px 0 10px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}
.lsblog-card__title a {
  color: var(--lsb-navy);
}
.lsblog-card:hover .lsblog-card__title a {
  color: var(--lsb-green-dark);
}
.lsblog-card__text {
  color: var(--lsb-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.lsblog-card__text p {
  margin: 0;
}
.lsblog-card__more {
  margin-top: auto;
  color: var(--lsb-green);
  font-weight: 600;
  font-size: 15px;
}
.lsblog-card__more i {
  margin-left: 6px;
  transition: transform .25s ease;
}
.lsblog-card:hover .lsblog-card__more i {
  transform: translateX(4px);
}

/* ---------- Paging ---------- */
.lsblog-pages {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.lsblog-pages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-weight: 600;
}
.lsblog-pages a[href]:hover {
  border-color: #00a36c;
}
.lsblog-pages a:not([href]) {
  background: var(--lsb-green);
  border-color: var(--lsb-green);
}

/* ---------- Article ---------- */
.lsblog-cover {
  margin: 0 0 28px;
  border-radius: var(--lsb-radius);
  overflow: hidden;
}
.lsblog-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.lsblog-article {
  background: #fff;
  border-radius: var(--lsb-radius);
  padding: 44px 52px;
  color: var(--lsb-ink);
  font-size: 17px;
  line-height: 1.75;
}
.lsblog-article > *:first-child {
  margin-top: 0;
}
.lsblog-article p,
.lsblog-article ul,
.lsblog-article ol {
  margin: 0 0 18px;
  color: var(--lsb-ink);
}
.lsblog-article h2 {
  margin: 36px 0 14px;
  color: var(--lsb-navy);
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
}
.lsblog-article h3 {
  margin: 28px 0 10px;
  color: var(--lsb-navy);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}
.lsblog-article ul,
.lsblog-article ol {
  padding-left: 1.5em;
}
.lsblog-article ul {
  list-style: disc;
}
.lsblog-article ol {
  list-style: decimal;
}
.lsblog-article li {
  display: list-item;
  margin-bottom: 8px;
}
.lsblog-article li::marker {
  color: var(--lsb-green);
  font-weight: 700;
}
.lsblog-article a {
  color: var(--lsb-green-dark);
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.lsblog-article a:hover {
  color: var(--lsb-green);
}
.lsblog-article strong {
  color: var(--lsb-navy);
}
.lsblog-article .lsblog-note {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--lsb-green-light);
  border-left: 4px solid var(--lsb-green);
  border-radius: 0 10px 10px 0;
}
.lsblog-article .lsblog-note p:last-child {
  margin-bottom: 0;
}
.lsblog-article .lsblog-table {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 22px;
}
.lsblog-article table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15px;
}
.lsblog-article th,
.lsblog-article td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--lsb-line);
  text-align: left;
  vertical-align: top;
}
.lsblog-article th {
  background: var(--lsb-green-light);
  color: var(--lsb-navy);
  font-weight: 700;
}

/* Share + CTA */
.lsblog-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
}
.lsblog-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  transition: background-color .25s ease, border-color .25s ease;
}
.lsblog-share a:hover {
  background: var(--lsb-green);
  border-color: var(--lsb-green);
}
.lsblog-cta {
  margin-top: 32px;
  padding: 32px 36px;
  border-radius: var(--lsb-radius);
  background: linear-gradient(240deg, #00a36c 0%, #008257 55%, #00623f 100%);
  color: #fff;
}
.lsblog-cta__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}
.lsblog-cta p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .9);
}
.lsblog-back {
  display: inline-block;
  margin-top: 28px;
  color: #fff;
  font-weight: 600;
}
.lsblog-back:hover {
  color: #00a36c;
}
.lsblog-more {
  margin-top: 64px;
}
.lsblog-more__title {
  margin: 0 0 24px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

/* ---------- Homepage block ---------- */
.lsblog--home .lsblog-home__all {
  text-align: center;
  margin-top: 36px;
}

@media (max-width: 991px) {
  .lsblog-hero .heading {
    font-size: 34px !important;
  }
}
@media (max-width: 767px) {
  .lsblog-hero .heading {
    font-size: 28px !important;
  }
  .lsblog-hero .lsblog-hero__intro {
    font-size: 16px;
  }
  .lsblog-article {
    padding: 26px 20px;
    font-size: 16px;
  }
  .lsblog-article h2 {
    font-size: 22px;
  }
  .lsblog-cta {
    padding: 24px 20px;
  }
  .lsblog-more__title {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lsblog-card,
  .lsblog-card__more i {
    transition: none;
  }
  .lsblog-card:hover {
    transform: none;
  }
}
