﻿@font-face {
  font-family: "Baloo Bhaijaan 2";
  src:
    url("../fonts/BalooBhaijaan2VF.woff2") format("woff2-variations"),
    url("../fonts/BalooBhaijaan2VF.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --clr-primary: #0041e5;
  --clr-secondary: #012c67;
  --clr-accent: #4db2ec;
  --clr-decoration-pink: #f7e3dd;
  --clr-text-main: #363d4d;
  --clr-text-muted: #5c7099;
  --clr-text-inverse: #ebf3ff;
  --clr-text-meta: #7d93b2;
  --clr-bg-body: #ebf3ff;
  --clr-bg-surface: #ffffff;
  --clr-bg-light: #fcfeff;
  --clr-bg-section: #eef2f6;
  --clr-border: #a6cbff;
  --clr-header-border: #dee4ed;
  --clr-nav-text: #012c67;
  --clr-icon: #0054ff;
  --clr-hero-bg: #0445e6;

  --gradient-hero-overlay: linear-gradient(
    215deg,
    #9ac2ff 31%,
    #5a97ff 52%,
    rgba(52, 127, 224, 0.6) 73%
  );

  /* Typography */
  --font-primary: "Baloo Bhaijaan 2", sans-serif;

  /* Layout */
  --container-width: 1240px;
  --header-height: 80px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 8px rgba(1, 44, 103, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  background-color: var(--clr-bg-body);
  color: var(--clr-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--clr-secondary);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1rem;
  color: var(--clr-text-muted);
}

.hide {
  display: none;
}

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.grid-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* Creates 12 equal columns */
  gap: 24px;
}

/* Column Spans */
.span-4 {
  grid-column: span 4; /* Occupies 4 columns (1/3 of width) */
}

.span-6 {
  grid-column: span 6; /* Occupies 6 columns (1/2 of width) */
}

.span-8 {
  grid-column: span 8; /* Occupies 8 columns (2/3 of width) */
}

.span-12 {
  grid-column: span 12; /* Occupies full width */
}

.partner-separator {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 0 4px;
}

.icon {
  display: inline-block;
  vertical-align: middle;
  fill: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}
.card-box {
  background-color: var(--clr-bg-surface);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
}

/* search form used on archive/author pages */
.box-search {
  max-width: 500px;
  margin-bottom: 1.5rem;
}

.box-search form {
  display: flex;
  align-items: center;
  background-color: var(--clr-bg-surface);
  border: 2px solid var(--clr-border);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 65, 229, 0.04);
}

.box-search form:focus-within {
  border-color: var(--clr-primary);
  box-shadow: 0 6px 20px rgba(0, 65, 229, 0.12);
}

.box-search .search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 16px;
  color: var(--clr-text-main);
  outline: none;
  width: 100%;
}

.box-search .search-input::placeholder {
  color: var(--clr-text-meta);
}

.box-search .search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
  border: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.site-header {
  background-color: #2c3dc1;
  border-bottom: 1px solid var(--clr-nav-text);
  position: relative;
  width: 100%;
  z-index: 100;
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding .logo-img {
  max-height: 45px;
  width: auto;
}

.top-sticky-banner {
  width: 100%;
  background-color: var(--clr-bg-section);
  position: sticky;
  top: 0;
  z-index: 1000;
  line-height: 0;
}

.top-sticky-banner a,
.top-sticky-banner picture {
  width: 100%;
  height: 100%;
}

.top-sticky-banner img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-close-btn {
  display: none;
}

/* Menu
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.main-navigation {
  margin: 0 30px;
  flex-grow: 1;
}

.nav-menu {
  gap: 32px;
}

.nav-menu li a {
  color: var(--clr-bg-surface);
  font-weight: 600;
  font-size: 16px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a {
  color: var(--clr-header-border);
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-header-border);
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

.header-tools {
  gap: 24px;
}

.lang-link {
  gap: 8px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.lang-link:hover {
  background-color: rgba(0, 65, 229, 0.08);
}

.flag-icon {
  width: 24px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-name {
  font-weight: 600;
  font-size: 12px;
  color: var(--clr-bg-surface);
  line-height: 1;
}

.search-trigger {
  padding: 8px;
}

.search-trigger .icon-search {
  color: var(--clr-bg-surface);
}

/* Home Page
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Hero Section */
.hero-section {
  /* background: var(--clr-hero-bg); */
  background: #0041e5 url(../images/hero-background.svg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
  padding: 80px 0 100px;
  color: var(--clr-text-inverse);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  /* max-width: 800px; */
  margin: 0 auto 60px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--clr-text-inverse);
}

.hero-cards {
  position: relative;
  z-index: 10;
}

.hero-card-link {
  display: block;
}

.hero-card {
  background-color: var(--clr-bg-surface);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 65, 229, 0.15);
}

.hero-card-icon-wrap {
  color: var(--clr-secondary);
}

.hero-card-info h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--clr-secondary);
}

/* Banner slider */
.banner-slider,
.single-banner-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 65, 229, 0.08);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

.splide__arrow {
  background: rgba(255, 255, 255, 0.85);
  width: 44px;
  height: 44px;
  transition: all 0.3s ease;
}

.splide__arrow svg {
  fill: var(--clr-primary);
  width: 18px;
  height: 18px;
  transition: fill 0.3s ease;
}

.splide__arrow:hover {
  background: var(--clr-primary);
  opacity: 1;
}

.splide__arrow:hover svg {
  fill: var(--clr-bg-surface);
}

.splide__pagination {
  bottom: 15px;
}

.splide__pagination__page {
  background: rgba(255, 255, 255, 0.5);
  width: 10px;
  height: 10px;
  margin: 3px;
  transition: all 0.3s ease;
}

.splide__pagination__page.is-active {
  background: var(--clr-bg-surface);
  transform: scale(1.3);
}

/* Sections */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.modern-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.3rem;
  color: var(--clr-text-muted);
  font-weight: 600;
  margin: 0;
}

/* Banner Section */
.banner-section {
  background-color: var(--clr-bg-surface);
  padding: 20px 0;
}

/* Sticky Section */

/* --- Sticky Section Layout --- */
.sticky-blog-section {
  padding: 60px 0;
  background-color: var(--clr-bg-body);
}

.sticky-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* --- Base Card Styles --- */
.sticky-card {
  background: var(--clr-bg-surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.sticky-card:hover {
  transform: translateY(-5px);
}

.sticky-card-inner {
  display: flex; /* افقی کردن محتوای کارت */
  height: 100%;
  text-decoration: none;
}

/* --- Featured Card (Top Large One) --- */
.featured-card {
  width: 100%; /* تمام عرض */
}

.featured-card .sticky-card-image {
  flex: 0 0 43%;
  height: 300px;
}

.featured-card .sticky-card-content {
  padding: 30px;
  flex: 1;
}

.normal-card {
  width: calc(50% - 10px);
}

.normal-card .sticky-card-image {
  flex: 0 0 180px;
  height: 180px;
}

.normal-card .sticky-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- Content Elements --- */
.sticky-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sticky-tag {
  color: var(--clr-primary);
  border: 1px solid var(--clr-border);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.sticky-date {
  font-size: 13px;
  color: #99aebb;
}

.sticky-card-title {
  color: var(--clr-secondary);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}

.normal-card .sticky-card-title {
  font-size: 1.05rem;
}

.sticky-card-excerpt {
  margin-top: 15px;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- RTL Support --- */
body.rtl .sticky-card-inner {
  flex-direction: row; /* در حالت راست‌چین هم افقی بماند */
}
/* --- Button --- */
.sticky-btn-wrapper {
  margin-top: 40px;
  text-align: center;
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 32px;
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  font-weight: 600;
  color: var(--clr-text-muted);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-pill-outline:hover {
  background-color: var(--clr-primary);
  color: var(--clr-bg-surface);
  border-color: var(--clr-primary);
}

/* Article Cards */
.article-section {
  padding: 60px 0;
  background-color: var(--clr-bg-light);
}

.article-layout {
  display: flex;
  gap: 24px;
}

.article-posts {
  flex: 0 0 72%;
}

.article-sidebar {
  flex: 0 0 calc(28% - 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

/* --- Featured Card (Top) --- */
.featured-article-card,
.small-article-card {
  background: var(--clr-bg-body);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.featured-article-card {
  margin-bottom: 24px;
}

.featured-article-inner {
  display: flex;
  text-decoration: none;
}

.featured-article-img {
  flex: 0 0 50%;
  height: 250px;
}

.featured-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-article-content {
  padding: 20px;
  flex: 1;
}

.small-article-inner {
  display: block;
  text-decoration: none;
}

.small-article-img {
  height: 156px;
}

.small-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.small-article-body {
  padding: 15px;
}

.pet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* --- Elements Styling --- */
.article-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.article-tag,
.article-tag-small {
  color: var(--clr-primary);
  border: 1px solid var(--clr-border);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}

.article-title-main {
  font-size: 20px;
  color: var(--clr-secondary);
}

.article-excerpt {
  margin-bottom: 0;
}
.small-article-title {
  font-size: 15px;
  color: var(--clr-secondary);
  margin: 10px 0;
  line-height: 1.4;
  height: 42px;
  overflow: hidden;
}

.article-date,
.article-date-small {
  color: var(--clr-text-muted);
  font-size: 12px;
  font-weight: 500;
}

/* --- Banner Styling --- */
.article-banner img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* --- Articles --- */
.posts-car,
.posts-health,
.posts-pet {
  margin-bottom: 60px;
}

.category-section-wrapper {
  margin-bottom: 50px;
  background-color: var(--clr-bg-body);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 65, 229, 0.03);
}

.health-posts-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.health-card-row {
  display: flex;
  align-items: center;
}

.health-card-img {
  flex: 0 0 38%;
}

.health-card-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.health-card-content {
  padding: 16px;
  height: 160px;
}

/* Single Post */

.single-post-wrapper {
  padding: 20px 0 60px;
}

/* --- Breadcrumb (RankMath) --- */
.single-breadcrumb {
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--clr-text-meta);
}

.single-breadcrumb a {
  color: var(--clr-text-meta);
  text-decoration: none;
}

.single-breadcrumb span.separator {
  margin: 0 8px;
  color: #b0bcd1;
}

.single-breadcrumb .last {
  color: var(--clr-text-main);
  font-weight: 600;
}

/* --- Layout Grid --- */
.single-layout {
  display: flex;
  gap: 24px;
}

.single-content {
  flex: 0 0 72%;
  max-width: 72%;
}

.single-sidebar {
  flex: 0 0 calc(28% - 24px);
  max-width: calc(28% - 24px);
}

/* --- Post Header Elements --- */
.single-cats {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.cat-pill {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid #a6cbff;
  border-radius: 50px;
  color: #0041e5;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.single-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1f2b;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* --- Meta Data (Author & Date) --- */
.single-meta {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  color: var(--clr-text-meta);
  font-size: 14px;
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-author img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.meta-name {
  font-weight: 500;
  color: var(--clr-text-meta);
}

.meta-divider {
  margin: 0 15px;
  color: #d0dbed;
}

/* --- Featured Image --- */
.single-featured-image {
  margin-bottom: 30px;
}

.single-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 20px; /* گردی گوشه‌ها مطابق عکس */
  display: block;
}

/* --- Content Typography --- */
.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--clr-text-main);
  margin-bottom: 40px;
}

.entry-content p {
  margin-bottom: 20px;
}

/* --- Table of Contents Placeholder --- */

#rank-math-toc {
  overflow: hidden;
  transition: all 0.3s ease;
}

#rank-math-toc > p,
#rank-math-toc > h2,
#rank-math-toc > h3 {
  margin: 0 !important;
  font-size: 18px;
  font-weight: 600;
  color: #363d4d;
  background-color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  user-select: none;
}

#rank-math-toc > p::after,
#rank-math-toc > h2::after,
#rank-math-toc > h3::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #60789e;
  border-bottom: 2px solid #60789e;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin: 0 15px;
}

#rank-math-toc.toc-open > p::after,
#rank-math-toc.toc-open > h2::after,
#rank-math-toc.toc-open > h3::after {
  transform: rotate(-135deg);
  margin-top: 5px;
}

#rank-math-toc nav {
  display: none;
  padding: 0 20px 20px 20px;
  border-top: 1px solid transparent;
  transition: border-color 0.3s;
}

#rank-math-toc.toc-open nav {
  display: block;
  border-top-color: #f0f6ff;
}

/* استایل لینک‌ها */
#rank-math-toc ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 10px 0 0 0 !important;
}

#rank-math-toc ul li {
  margin-bottom: 10px !important;
  padding-left: 10px;
}

#rank-math-toc ul li a {
  text-decoration: none;
  color: var(--clr-text-muted);
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.2s;
}

#rank-math-toc ul li a:hover {
  color: #0041e5;
}

#rank-math-toc ul ul {
  margin-top: 10px !important;
  padding-left: 15px !important;
  border-left: 2px solid #e1e8f0;
}

/* =========================================
   2. Share Section Style
   ========================================= */

.share-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #363d4d;
  font-weight: 700;
  margin-top: 0;
}

.share-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #6b7a99;
  color: #fff;

  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.share-btn:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
}

.share-btn.fb {
  background-color: #1877f2;
}

.share-btn.x {
  background-color: #000000;
}

.share-btn.li {
  background-color: #0a66c2;
}

.share-btn.tg {
  background-color: #229ed9;
}

.share-btn.wa {
  background-color: #25d366;
}

.share-svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

/* =========================================
   Custom Summary Block (Gutenberg)
   ========================================= */

.custom-summary-block {
  background-color: var(--clr-bg-section);
  border-left: 5px solid var(--clr-primary); /* نوار آبی رنگ کنار باکس */
  border-radius: 0 12px 12px 0;
  padding: 30px 35px;
  margin: 40px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.custom-summary-block .summary-title {
  display: flex;
  align-items: center;
  color: var(--clr-primary);
  font-size: 22px;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 15px;
}

.custom-summary-block .summary-title svg {
  color: var(--clr-accent); /* آیکون با رنگ مکمل */
}

.custom-summary-block .summary-content {
  color: var(--clr-text-main);
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
}

/* Comment */
.comments-wrapper {
  padding: 20px 0;
}
.comments-title,
.reply-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-secondary);
  margin-top: 0;
  margin-bottom: 30px;
}

.custom-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 45px 0;
}

.custom-comment-list li {
  margin-bottom: 30px;
}

.comment-card {
  background-color: var(--clr-bg-surface);
  border-radius: 16px;
  padding: 12px 20px;
  border: 1px solid var(--clr-header-border);
  transition: box-shadow 0.3s ease;
}

.comment.depth-1 > .comment-card {
  background-color: var(--clr-text-inverse);
}

.comment-card:hover {
  box-shadow: 0 8px 20px rgba(0, 65, 229, 0.04);
}

.comment-card-header {
  margin-bottom: 12px;
}

.author-info {
  display: flex;
  justify-content: space-between;
}

.comment-author-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--clr-secondary);
  margin: 0;
}

.comment-date {
  font-size: 15px;
  color: var(--clr-text-meta);
  font-weight: 500;
}

.comment-card-body p {
  margin: 0;
  line-height: 1.8;
  color: var(--clr-text-muted);
  font-weight: 600;
}

.reply-link-wrapper {
  margin-top: 18px;
  text-align: right;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-primary);
  text-decoration: none;
  background-color: rgba(0, 65, 229, 0.08);
  padding: 8px 18px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.comment-reply-link:hover {
  background-color: var(--clr-primary);
  color: var(--clr-bg-surface);
  transform: translateY(-2px);
}

.custom-comment-list .children {
  list-style: none;
  padding-left: 0;
  margin-left: 30px;
  margin-top: 16px;
  /* border-left: 3px solid var(--clr-header-border);  */
}

.custom-comment-list .children li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 24px;
}

.custom-comment-list .children li:last-child {
  margin-bottom: 0;
}

.comment-form {
  margin-bottom: 20px;
}
.comment-reply-title {
  display: flex;
  justify-content: space-between;
}

.custom-comment-form .logged-in-as,
.comment-notes {
  font-size: 14px;
  color: var(--clr-text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.custom-comment-form .logged-in-as a {
  color: var(--clr-primary);
  font-weight: 600;
  text-decoration: none;
}

.form-group {
  margin-bottom: 20px;
}

.form-group textarea,
.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #bdcadb;
  border-radius: 12px;
  font-size: 15px;
  background-color: var(--clr-bg-light);
  color: var(--clr-text-main);
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

.form-group textarea:focus,
.form-group input:focus {
  border-color: var(--clr-primary);
  background-color: var(--clr-bg-surface);
  box-shadow: 0 0 0 4px rgba(0, 65, 229, 0.08); /* افکت فوکوس مدرن */
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.form-row-inputs {
  display: flex;
  gap: 20px;
}

.input-half {
  flex: 1;
}

.form-submit {
  margin: 0;
}

.submit-btn-blue {
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
  border: none;
  padding: 14px 35px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 65, 229, 0.15);
  display: inline-block;
}

.submit-btn-blue:hover {
  background-color: var(--clr-hero-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 65, 229, 0.25);
}

/* Sidebar Author Widget */

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.widget-title {
  font-size: 16px;
  color: #60789e;
  font-weight: 500;
  margin: 0;
}

.all-posts-link {
  font-size: 13px;
  color: #0041e5;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 5px;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.author-avatar-large img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.author-name-large {
  font-size: 18px;
  font-weight: 700;
  color: #1a1f2b;
  margin: 0;
}

.author-bio {
  font-size: 14px;
  color: #60789e;
  line-height: 1.6;
  margin: 0;
}

/* Related */

.related-sidebar-item {
  display: flex;
  background: #fff;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  height: 80px;
}

.related-sidebar-image {
  flex: 0 0 40%;
}

.related-sidebar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-sidebar-content {
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 10px;
}
/* Archive
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Category
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.category-hero-section {
  background: #0041e5 url(../images/hero-background.svg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
  padding: 60px 0;
}

.category-hero-section .container {
  gap: 40px;
}

.category-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-hero-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--clr-text-inverse);
  margin: 0;
}

.category-hero-description p {
  color: var(--clr-text-inverse);
  opacity: 0.8;
}

.category-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--clr-bg-surface);
  color: var(--clr-primary);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.category-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.category-hero-btn svg {
  transition: transform 0.3s ease;
}

.category-hero-btn:hover svg {
  transform: translateX(4px);
}

.category-hero-image-box {
  flex-shrink: 0;
  width: 380px;
  height: 260px;
}

.category-placeholder-image {
  width: 100%;
  height: 100%;
  background-color: #d9e2ec;
  border-radius: 4px;
}

/* Author
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.author-bio-box {
  background-color: var(--clr-bg-section);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
}

.author-bio-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--clr-bg-surface);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.author-name {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--clr-text-main);
}

.author-bio-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--clr-text-muted);
  font-weight: 500;
}

/* Sidebar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.article-sidebar .widget-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--clr-secondary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--clr-bg-section);
  position: relative;
}

.article-sidebar .widget-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--clr-primary);
}

.article-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-sidebar ul li {
  margin-bottom: 12px;
}

.article-sidebar ul li:last-child {
  margin-bottom: 0;
}

.article-sidebar ul li a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--clr-bg-light);
  color: var(--clr-text-main);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid var(--clr-header-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.article-sidebar ul li a::before {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--clr-bg-section);
  color: var(--clr-text-muted);
  border-radius: 50%;
  margin-right: 12px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}

body.rtl .article-sidebar ul li a::before {
  content: "←";
  margin-right: 0;
  margin-left: 12px;
}

.article-sidebar ul li a:hover {
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
  border-color: var(--clr-primary);
  transform: translateX(4px);
  box-shadow: 0 4px 10px rgba(0, 65, 229, 0.15);
}

body.rtl .article-sidebar ul li a:hover {
  transform: translateX(-4px);
}

.article-sidebar ul li a:hover::before {
  background-color: var(--clr-bg-surface);
  color: var(--clr-primary);
}

/* Pagination
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.pagination {
  margin: 40px 0;
  text-align: center;
}

.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 15px;
  background-color: var(--clr-bg-surface);
  color: var(--clr-text-main);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a.page-numbers:hover {
  background-color: var(--clr-bg-section);
  color: var(--clr-primary);
  border-color: var(--clr-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 65, 229, 0.1);
}

.pagination .page-numbers.current {
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
  border-color: var(--clr-primary);
}

.pagination .page-numbers.dots {
  background-color: transparent;
  border-color: transparent;
  color: var(--clr-text-muted);
  min-width: auto;
  padding: 0 5px;
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
  color: var(--clr-primary);
  background-color: var(--clr-bg-surface);
}

.pagination .prev.page-numbers:hover,
.pagination .next.page-numbers:hover {
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
}

/* 404
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.error-404-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  gap: 10px;
  margin-bottom: 100px;
}

.error-404-card h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--clr-secondary);
  padding-inline-end: 24px;
  margin-inline-end: 20px;
  border-inline-end: 1.5px solid var(--clr-header-border);
  margin-bottom: 0;
  line-height: 40px;
}
.error-404-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 49px;
  margin: 0;
  color: var(--clr-secondary);
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.site-footer {
  background-color: #eef5ff;
  padding: 80px 0 30px;
  color: #363d4d;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about {
  flex: 0 0 32%;
}

.footer-logo img {
  margin-bottom: 25px;
  height: 40px;
  padding: 0 30px;
}

.footer-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--clr-text-muted);
  margin-bottom: 30px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--clr-text-muted);
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.social-svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.social-icon:hover {
  color: var(--clr-primary);
  transform: translateY(-3px);
}

.footer-nav {
  flex: 1;
}

.footer-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-nav-text);
  margin-bottom: 30px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 18px;
}

.footer-links a {
  font-size: 15px;
  color: #363d4d;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
  display: block;
}

.footer-links a:hover {
  color: var(--clr-nav-text);
}

.footer-divider {
  border: 0;
  border-top: 1px solid #d0dbed;
  margin-bottom: 25px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--clr-text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-bottom-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-bottom-menu li a {
  text-decoration: none;
  color: var(--clr-text-muted);
  transition: color 0.2s;
  font-weight: 500;
}

.footer-bottom-menu li a:hover {
  color: var(--clr-primary);
}

.footer-copy-right {
  margin-left: 10px;
}

/* Laptop */
@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md,
  .visible-lg,
  .visible-sm,
  .visible-xs {
    display: none;
  }
  .visible-md,
  .hidden-lg,
  .hidden-sm,
  .hidden-xs {
    display: block;
  }
  .container {
    width: 950px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm,
  .visible-lg,
  .visible-md,
  .visible-xs {
    display: none;
  }
  .visible-sm,
  .hidden-lg,
  .hidden-md,
  .hidden-xs {
    display: block;
  }
  .container {
    width: 100%;
    padding: 0 20px;
  }
  .colm {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hidden-xs,
  .visible-lg,
  .visible-md,
  .visible-sm {
    display: none;
  }
  .visible-xs,
  .hidden-lg,
  .hidden-md,
  .hidden-sm {
    display: block;
  }

  .container {
    width: 100%;
  }
  .colm {
    width: 100%;
  }
  .flex {
    flex-wrap: wrap;
  }
  .grid-row {
    grid-template-columns: 1fr;
  }

  figure {
    margin: 0;
  }

  .top-sticky-banner {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  }

  .top-sticky-banner .container {
    padding: 0;
  }

  .top-sticky-banner img {
    height: 60px;
  }

  .banner-close-btn {
    display: flex !important;
    position: absolute;
    top: -12px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1010;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  /* Header */
  .site-branding {
    display: flex;
    align-items: center;
  }
  .lang-link {
    padding: 0;
  }
  .mobile-menu-toggle {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-secondary);
    transition:
      color 0.3s ease,
      transform 0.3s ease;
    border-radius: 8px;
  }

  .mobile-menu-toggle:hover {
    color: var(--clr-primary);
    background-color: rgba(0, 65, 229, 0.05);
  }

  .mobile-menu-toggle:active {
    transform: scale(0.95);
  }
  .header-tools {
    gap: 0;
  }
  /* Editor's Pick */
  .sticky-card-inner,
  .featured-article-inner,
  .article-layout {
    flex-wrap: wrap;
  }
  .featured-card .sticky-card-image,
  .normal-card .sticky-card-image,
  .featured-article-img,
  .article-posts {
    height: auto;
    flex: auto;
  }
  .normal-card {
    width: auto;
  }

  /* Single */
  .single-layout {
    flex-direction: column;
    align-items: unset;
  }
  .single-content,
  .single-sidebar {
    flex: auto;
    max-width: unset;
  }

  .related-sidebar-image {
    min-height: 120px;
  }

  .related-sidebar-title {
    font-size: 16px;
    line-height: 1.35;
  }

  /* Comment */

  .form-row-inputs {
    flex-direction: column;
    gap: 0;
  }

  .custom-comment-list .children {
    margin-left: 0;
  }

  .custom-comment-list .children li {
    padding-left: 15px;
  }

  .footer-logo img {
    padding: 0;
  }
  .footer-top {
    flex-wrap: wrap;
    flex-direction: column-reverse;
    margin-bottom: 20px;
  }
  .footer-socials {
    justify-content: space-evenly;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-bg-surface);
    z-index: 9999;
    padding: 20px 25px;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 !important;
  }

  .main-navigation.is-open {
    transform: translateY(0);
  }

  .mobile-menu-close {
    background: transparent;
    border: none;
    padding: 5px;
    margin-bottom: 30px;
    cursor: pointer;
    color: var(--clr-secondary);
    display: flex;
  }

  .main-navigation .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .main-navigation .nav-menu li {
    width: 100%;
  }

  .main-navigation .nav-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e1e8f0;
    font-size: 18px;
    color: var(--clr-secondary);
    font-weight: 600;
  }

  .main-navigation .nav-menu li a::after {
    display: none;
  }

  .main-navigation .nav-menu li a::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012c67' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    order: 2;
  }
}

/* splide */
.splide__container {
  box-sizing: border-box;
  position: relative;
}
.splide__list {
  backface-visibility: hidden;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
.splide.is-initialized:not(.is-active) .splide__list {
  display: block;
}
.splide__pagination {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}
.splide__pagination li {
  display: inline-block;
  line-height: 1;
  list-style-type: none;
  margin: 0;
  pointer-events: auto;
}
.splide:not(.is-overflow) .splide__pagination {
  display: none;
}
.splide__progress__bar {
  width: 0;
}
.splide {
  position: relative;
  visibility: hidden;
}
.splide.is-initialized,
.splide.is-rendered {
  visibility: visible;
}
.splide__slide {
  backface-visibility: hidden;
  box-sizing: border-box;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  list-style-type: none !important;
  margin: 0;
  position: relative;
}
.splide__slide img {
  vertical-align: bottom;
}
.splide__spinner {
  animation: splide-loading 1s linear infinite;
  border: 2px solid #999;
  border-left-color: transparent;
  border-radius: 50%;
  bottom: 0;
  contain: strict;
  display: inline-block;
  height: 20px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
}
.splide__sr {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.splide__toggle.is-active .splide__toggle__play,
.splide__toggle__pause {
  display: none;
}
.splide__toggle.is-active .splide__toggle__pause {
  display: inline;
}
.splide__track {
  overflow: hidden;
  position: relative;
  z-index: 0;
}
@keyframes splide-loading {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(1turn);
  }
}
.splide__track--draggable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.splide__track--fade > .splide__list > .splide__slide {
  margin: 0 !important;
  opacity: 0;
  z-index: 0;
}
.splide__track--fade > .splide__list > .splide__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.splide--rtl {
  direction: rtl;
}
.splide__track--ttb > .splide__list {
  display: block;
}
.splide__arrow {
  -ms-flex-align: center;
  align-items: center;
  background: #ccc;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: -ms-flexbox;
  display: flex;
  height: 2em;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0.7;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2em;
  z-index: 1;
}
.splide__arrow svg {
  fill: #000;
  height: 1.2em;
  width: 1.2em;
}
.splide__arrow:hover:not(:disabled) {
  opacity: 0.9;
}
.splide__arrow:disabled {
  opacity: 0.3;
}
.splide__arrow:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide__arrow--prev {
  left: 1em;
}
.splide__arrow--prev svg {
  transform: scaleX(-1);
}
.splide__arrow--next {
  right: 1em;
}
.splide.is-focus-in .splide__arrow:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide__pagination {
  bottom: 0.5em;
  left: 0;
  padding: 0 1em;
  position: absolute;
  right: 0;
  z-index: 1;
}
.splide__pagination__page {
  background: #ccc;
  border: 0;
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  margin: 3px;
  opacity: 0.7;
  padding: 0;
  position: relative;
  transition: transform 0.2s linear;
  width: 8px;
}
.splide__pagination__page.is-active {
  background: #fff;
  transform: scale(1.4);
  z-index: 1;
}
.splide__pagination__page:hover {
  cursor: pointer;
  opacity: 0.9;
}
.splide__pagination__page:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide.is-focus-in .splide__pagination__page:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide__progress__bar {
  background: #ccc;
  height: 3px;
}
.splide__slide {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.splide__slide:focus {
  outline: 0;
}
@supports (outline-offset: -3px) {
  .splide__slide:focus-visible {
    outline: 3px solid #0bf;
    outline-offset: -3px;
  }
}
@media screen and (-ms-high-contrast: none) {
  .splide__slide:focus-visible {
    border: 3px solid #0bf;
  }
}
@supports (outline-offset: -3px) {
  .splide.is-focus-in .splide__slide:focus {
    outline: 3px solid #0bf;
    outline-offset: -3px;
  }
}
@media screen and (-ms-high-contrast: none) {
  .splide.is-focus-in .splide__slide:focus {
    border: 3px solid #0bf;
  }
  .splide.is-focus-in .splide__track > .splide__list > .splide__slide:focus {
    border-color: #0bf;
  }
}
.splide__toggle {
  cursor: pointer;
}
.splide__toggle:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide.is-focus-in .splide__toggle:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide__track--nav > .splide__list > .splide__slide {
  border: 3px solid transparent;
  cursor: pointer;
}
.splide__track--nav > .splide__list > .splide__slide.is-active {
  border: 3px solid #000;
}
.splide__arrows--rtl .splide__arrow--prev {
  left: auto;
  right: 1em;
}
.splide__arrows--rtl .splide__arrow--prev svg {
  transform: scaleX(1);
}
.splide__arrows--rtl .splide__arrow--next {
  left: 1em;
  right: auto;
}
.splide__arrows--rtl .splide__arrow--next svg {
  transform: scaleX(-1);
}
.splide__arrows--ttb .splide__arrow {
  left: 50%;
  transform: translate(-50%);
}
.splide__arrows--ttb .splide__arrow--prev {
  top: 1em;
}
.splide__arrows--ttb .splide__arrow--prev svg {
  transform: rotate(-90deg);
}
.splide__arrows--ttb .splide__arrow--next {
  bottom: 1em;
  top: auto;
}
.splide__arrows--ttb .splide__arrow--next svg {
  transform: rotate(90deg);
}
.splide__pagination--ttb {
  bottom: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  left: auto;
  padding: 1em 0;
  right: 0.5em;
  top: 0;
}
