/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: A child theme for Hello Elementor
Author: Your Name
Author URI: https://yourwebsite.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-child
*/

html {
    scroll-behavior: smooth;
}

button {
    font-family: "IRANSans", Sans-serif;
    font-weight:600;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #fff;
}

::-webkit-scrollbar-thumb {
    background-color: var(--e-global-color-primary);
    border-radius: 20px;
}


* {
  box-sizing: border-box;
  outline: none;
  margin: 0;
  padding: 0;
  direction: rtl;
}


.form .wpforms-field {
  padding: 10px !important;
}

div.wpforms-container-full select:not([multiple])>option:not(.placeholder):checked {
  font-weight: 500 !important;
}

.contact-form select {
  -webkit-appearance: none !important;
}

.form .wpforms-title {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

.form .wpforms-field-large {
  border: none !important;
  background-color: #f0f0f1 !important;
  color: #322a2a;

  font-weight: 500 !important;
  font-size: 14px;
  appearance: auto;
}

.form .wpforms-field-large:focus {
  box-shadow: none !important;
}

.form .wpforms-submit-container {
  width: 100%;
  padding-right: 10px;
}

.form button {
  width: 100% !important;
  font-weight:600 !important;
}

form .comment-form-cookies-consent {
    display:none;
}

@media only screen and (max-width: 600px) {
    .form .wpforms-field-label {
        font-size: 13px !important;
    }
}

@media only screen and (max-width: 600px) {
    .form .wpforms-field-large {
        font-size: 13px !important;
    }
}

.book-page {
    display: none;
    width: 100%;
}
.book-page.active-page {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.book {
    position: relative;
    width: 100%;
    height: 350px;
    z-index: 9999;
    border-radius: 10px 10px 0 0;
    background-color: #fff;
    transform: preserve-3d;
    perspective: 2000px;
    display: flex;
    justify-content: center;
    color: #000;
    text-align: center;
}

.content {
    padding: 27px 35px;
    border-radius: 0 10px 10px 0;
    box-shadow: 8px 8px 16px rgba(174, 179, 204, 0.7),
                -8px -8px 16px rgba(255, 255, 255, 0.8),
                inset 1px 1px 0px rgba(255, 255, 255, 0.5);
}

.cover {
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;  
    background: linear-gradient(45deg, #0b4ea2, #073a7a);
    background-size: cover;
    transform-origin: left; 
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transition: transform 0.5s ease;
    cursor: grab;
    transform: rotateY(0deg);
    z-index: 999;
}

.cover h2 {
    color: white;
}

.cover p {
    color: white;
    padding: 0 15px;
}

.content .book-page p {
    text-align: justify;
    line-height: 2.5rem;
    font-size: 15px;
    color: var(--e-global-color-text);
}

.content .book-page h2 {
    font-size: 19px;
    text-align: justify;
    color:#034c9d;
    line-height: 2.3rem;
}

.cover > h2 > span {
    color: #1076c9;
    font-size: 28px;
    font-weight: bolder;
    position: absolute;
    bottom: 20px;
    color: white;
}

.content > p {
    margin-bottom: 10px;
}

.book-navigation {
    text-align: center;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.book-navigation button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d1d9e0;
    background-color: #ffffff;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.book-navigation button:hover:not(:disabled) {
    background-color: #0a2a43;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.book-navigation button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.book-navigation button:disabled {
    background-color: #f0f3f5;
    color: #b0b8c0;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.list-header .elementor-icon-list-icon {
    background: #3A6C8E;
    padding: 8px 5px 8px 7px;
    border-radius: 5000px;
}




.posts h2 {
    color: var( --e-global-color-primary ) !important;
	    margin-top: 20px;
	    margin-bottom: 5px;
	font-size: 20px;
}

.posts h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8em;
    margin-bottom: 5px;
	color: #FF7400;
}

.posts h4 {
    color: #000 !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6em;
    margin-bottom: 0;
    margin-top: 20px;
}

.posts h5 {
    color: #000 !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6em;
    margin-bottom: 0;
    margin-top: 20px;
}

.posts p[style*="text-align: center"] {
    background-color: #f2f5f5;
    border-right: 6px solid var(--e-global-color-primary);
    margin: 10px 0;
    border-radius: 5px;
    padding: 6px;
    text-align: right !important;

}

.posts p:has(img) {
    display: flex
;
    flex-direction: column;
    align-items: center;
}

.posts p[style*="text-align: center"] span {
    background-color: transparent !important;

}

.posts img {
    border-radius: 10px !important;
	margin-bottom: 10px;
	display: block;
    margin: auto;
}

.flex {
	display: flex;
}

/* ============================================
   بخش ۱: استایل‌های دسکتاپ (جدول استاندارد)
============================================ */
table {
    width: 100% !important;
    border-collapse: collapse;
    font-size: 0.9em;
}

table thead tr {
    background-color: #034c9d;
    color: #ffffff;
    text-align: center;
    border-radius: 5px 5px 0 0;
    padding: 5px;
}

table th,
table td {
    padding: 12px 0px;
    text-align: center;
}

table tbody tr {
    border-bottom: 1px solid #dddddd;
}

table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}


.posts p {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 2.4rem;
	  margin-block-end: unset;
	  margin-bottom:5px;
}

.posts p span {
	font-size: 16px !important;
}

.posts a {
	font-size: 17px;
    color: var( --e-global-color-accent );
    font-weight: 600;
    background-color: transparent !important;
}

.posts ul {
    padding: 0px 15px 0px 7px;
    display: flex;
    flex-direction: column;
}

.posts ol {
	padding: 0px 15px 0px 7px;
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 600px) {
    .posts h2 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.7em;
        margin-bottom: 0px;
        margin-top: 3px;
    }
}

@media only screen and (max-width: 600px) {
    .posts h3 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 0px;
        margin-right: -4px;
        margin-left: -17px;
    }
}

@media only screen and (max-width: 600px) {
    .posts h4 {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.5em;
        margin-bottom: 0px;
        margin-right: -4px;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .posts p {
        margin-bottom: 0px;
        margin-top: 3px;
    }

    .posts p[style*="text-align: center"] span {
        font-size: 12px !important;
        font-weight: 700;
    }
    .posts p[style*="text-align: center"] a {
        font-size: 14px !important;
    }
}

.posts ul li {
    align-items: baseline;
    position: relative;
    padding: 5px 0px 5px 0px;
}

.posts ul li b {
	    color: black;
}
.posts ol li {
    align-items: baseline;
    position: relative;
    padding: 0px 5px 5px 0px;
}


#ez-toc-container {
	display:none;
}


.form-container {
    text-align: right;
    background: #FFFFFF;
    border-radius: 10px;
}

.form-container form {
	flex-direction: column;
    display: flex;
    gap: 20px;
    padding: 15px;
}

.form-container h2 {
font-size: 22px;
text-align: center;
color: #2c3e50;
margin-bottom: 15px;
}


.form-row .form-group {
flex: 1;
min-width: 140px;
}

.form-group label {
display: block;
margin-bottom: 6px;
font-weight: 500;
color: #444;
}

.form-group textarea {
resize: vertical;
min-height: 70px;
}


.warranty-options {
display: flex;
gap: 20px;
flex-wrap: wrap;
margin-top: 8px;
}
.warranty-options label {
font-size: 14px;
display: flex;
align-items: center;
gap: 6px;
}

.form-actions {
display: flex;
justify-content: space-between;
gap: 15px;
margin: 25px 0 15px;
flex-wrap: wrap;
}

.icon-button {
flex: 1;
background-color: #eef3fc;
border: 1px solid #4a90e2;
color: #2d6cdf;
border-radius: 10px;
font-size: 16px;
padding: 12px;
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
text-align: center;
}

.icon-button:hover {
background-color: #d0e3ff;
color: #1c4fb3;
}

.form-submit button:hover {
background-color: #3b7cc7;
}

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

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

.input-with-button .input-wrapper {
position: relative;
display: flex;
}

.input-with-button .input-wrapper input,
.input-with-button .input-wrapper textarea {
padding-left: 40px;
padding-right: 12px;
width: 100%;
resize: vertical;
}

.inline-icon {
position: absolute;
left: 5px;
top: 50%;
transform: translateY(-50%);
background: #eef3fc;
border: 1px solid #4a90e2;
color: #2d6cdf;
font-size: 18px;
padding: 5px 10px;
border-radius: 8px;
cursor: pointer;
transition: 0.3s ease;
z-index: 2;
}

.inline-icon:hover {
background-color: #d0e3ff;
color: #1c4fb3;
}

.form-group {
flex: 1;
min-width: 180px;
}

label {
display: block;
margin-bottom: 6px;
font-weight: bold;
}

.required-label {
color: #d22;
font-size: 13px;
}

input,
select,
textarea {
    font-family: "IRANSans", Sans-serif;
width: 100%;
padding: 10px 14px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 14px;
box-sizing: border-box;
}

textarea {
resize: vertical;
}

.form-submit button:hover {
background-color: #3b7cd9;
}

#map-container {
display: none;
margin-top: 15px;
}

#map {
height: 320px;
width: 100%;
border-radius: 12px;
}

.map-toggle {
background-color: #eef3fc;
color: #2d6cdf;
padding: 10px 14px;
border: 1px solid #4a90e2;
border-radius: 8px;
cursor: pointer;
}

.map-toggle:hover {
background-color: #dce8ff;
}

.location-box {
border: 1px solid #e0e0e0;
border-radius: 8px;
overflow: hidden;
margin-bottom: 20px;
}

.map-box {
height: 220px;
}

.location-actions {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background: #f9f9f9;
}

#my-location-btn {
    flex: 1 1 auto;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
        background-color: transparent;
        color: #c36;
        border: 1px solid #c36;
}

#my-location-btn:hover {
    color:black;
}

#location-status {
    font-weight: 600;
font-size: 14px;
padding: 5px 10px;
border-radius: 6px;
background-color: #e8f0fe;
color: #2d6cdf;
transition: background-color 0.3s, color 0.3s;
}

.status.success {
background-color: #4caf50 !important;
color: white !important;
}


.leaflet-control-geocoder {
margin-top: 8px;
margin-right: 10px;
font-size: 13px;
z-index: 1000;
border: none !important;
}

.leaflet-control-geocoder-alternatives {
text-align: left;
border-top: 1px solid black;
}

.dropdown.open {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}


.dropdown-container .list-container.open {
display: block;
overflow-y: auto;
}


.form-container h2 {
    font-size: 22px;
    text-align: center;
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 20px; 
}

.form-group {
    flex: 1;
    min-width: 250px; 
    display: flex;
    flex-direction: column;
}

.form-group label,
.form-guarentee label {
    display: block;
    font-weight: 600;
    color: #555;
}

.leaflet-control-attribution {
    display:none;
}

.required-label {
    color: #aaa;
    font-weight: normal;
    font-size: 12px;
}

.list {
    padding: 10px;
    cursor: pointer;
}

.list:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007cba; 
    outline: none;
}

.validation-error {
    color: #dc3232; 
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group input:invalid,
.form-group textarea:invalid {
    
}

.form-guarentee {
    width: 100%;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    margin-bottom: 0;
}

#map {
    width: 100%;
    height: 250px;
    background-color: #e9e9e9;
    margin-bottom: 10px;
    border-radius: 4px;
}

.location-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.location-actions button {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.location-actions button img {
    display:none !important;
}

.location-actions button#clear-location-btn {
    background-color: #dc3232;
}

.status.success {
    color: #46b450;
}

.dropdown-container {
    position: relative;
}

.dropdown {
display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    appearance: none;
    outline: none;
    border-radius: 8px;
    cursor: pointer;
}

.dropdown::after {
    content: '▼';
    font-size: 12px;
}

.dropdown-container .list-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background-color: #fff;
    z-index: 9999;
    padding: 10px;
}

#deviceSearchBox, #brandSearchBox {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #eee;
}



#repair-form .form-submit button {
    width: 100%;
    padding: 12px 25px;
background-color: var(--e-global-color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit button:hover {
background-color: var(--e-global-color-primary);
}

#messageBox {
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
}



@media (max-width: 768px) {
    .form-group {
        min-width: 100%; 
    }
    
    .form-row .form-group:last-child {
        margin-bottom: 0;
    }

    .location-actions {
        flex-direction: column;
        align-items: stretch; 
        gap: 10px;
    }
    

    .form-submit button {
        width: 100%;
    }
    .form-row.no-stack {
        flex-direction: row; 
        gap: 15px;
    }
    #location-status {
        text-align:center;
    }
}

/* =======================================================
   Pro Service Callout – Blue Theme
   ======================================================= */

:root {
  --brand: #034C9D;
  --brand-light: #0A63C7;
  --brand-dark: #023B79;

  --bg: #034C9D;
  --bg-secondary: #023B79;

  --ink: #f8f9fa;
  --muted: #d6e3f5;

  --accent: #4DA3FF;
  --accent-soft: rgba(77, 163, 255, 0.15);

  --cta-start: #0A63C7;
  --cta-end: #4DA3FF;

  --radius: 20px;

  --shadow: 0 15px 40px rgba(3, 76, 157, .28);
  --shadow-lg: 0 20px 50px rgba(3, 76, 157, .38);
}

/* ===== Container ===== */
.pro-service-callout {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      var(--bg) 0%,
      var(--bg-secondary) 100%
    );

  border-radius: var(--radius);
  color: var(--ink);

  width: min(100%, 920px);
  max-height: none;

  margin: 30px auto;

  box-shadow: var(--shadow);

  transition:
    box-shadow .4s ease,
    transform .3s ease;
}

.pro-service-callout:hover {
  box-shadow: var(--shadow-lg);
}

/* ===== Glow Background ===== */
.pro-service-callout::before {
  content: '';
  position: absolute;
  inset: -20%;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(77, 163, 255, .35) 0%,
      transparent 42%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(255, 255, 255, .12) 0%,
      transparent 40%
    );

  opacity: 1;
  transform: rotate(12deg);

  z-index: 0;
  pointer-events: none;
}

/* ===== Image ===== */
.pro-service-callout .pro-service-image {
  flex: 0 0 320px;
  height: 100%;
  margin: 0;
  position: relative;
  z-index: 1;
}

.pro-service-callout .pro-service-image img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;

  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* ===== Content ===== */
.pro-service-callout .pro-service-content {
  padding: 20px 0 20px 30px;

  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;

  position: relative;
  z-index: 2;
}

/* ===== Pretitle ===== */
.pro-service-callout .pro-service-pretitle {
  color: var(--accent);

  font-weight: 600;
  letter-spacing: .5px;

  margin: 0 0 8px;

  font-size: clamp(.9rem, 2.1vw, 1rem);
}

/* ===== Title ===== */
.pro-service-callout .pro-service-title {
  color: #fff;

  font-weight: 800;
  line-height: 1.35;

  margin: 0;

  font-size: clamp(1.25rem, 4.2vw, 1.8rem);
}

/* ===== Description ===== */
.pro-service-callout .pro-service-description {
  color: var(--muted);

  line-height: 2;

  font-size: clamp(.92rem, 2.6vw, 1rem);

  margin-top: 10px;
}

/* ===== Features ===== */
.pro-service-callout .pro-service-features {
  display: grid;
  grid-template-columns: 1fr;
}

.pro-service-callout .feature-item-pro {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #eaf2ff;

  margin-bottom: 12px;

  font-size: 1.05rem;
}

.pro-service-callout .feature-item-pro .icon-checkmark {
  font-size: 1.2rem;
  line-height: 1;
}

.pro-service-callout .feature-item-pro .icon-checkmark .elementor-icon {
  width: 24px;
  height: 24px;
}

.pro-service-callout .feature-item-pro .icon-checkmark svg {
  font-size: 30px;
}

.pro-service-callout .feature-item-pro .icon-checkmark .elementor-icon svg {
  fill: var(--accent);
}

/* ===== CTA ===== */
.pro-service-callout .pro-service-cta {
  margin: 0;
}

.pro-service-callout .pro-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background:
    linear-gradient(
      90deg,
      var(--cta-start) 0%,
      var(--cta-end) 100%
    );

  color: #fff;

  padding: 12px 28px;

  border-radius: 999px;

  text-decoration: none;

  font-weight: 800;

  font-size: clamp(1rem, 3.5vw, 1.2rem);

  transition:
    transform .2s ease,
    box-shadow .3s ease,
    background .3s ease;

  box-shadow: 0 10px 30px rgba(77, 163, 255, .35);
}

.pro-service-callout .pro-cta-button:hover {
  background:
    linear-gradient(
      90deg,
      var(--cta-end) 0%,
      var(--cta-start) 100%
    );

  transform: translateY(-3px);

  box-shadow: 0 15px 40px rgba(77, 163, 255, .5);
}

.pro-service-callout .pro-cta-button .icon-phone-pro {
  font-size: 1.3rem;
}

/* ===== Bottom Info ===== */
.pro-service-callout .pro-additional-info {
  display: flex;
  justify-content: flex-start;
  gap: 40px;

  font-size: 1rem;

  border-top: 1px solid rgba(255, 255, 255, .12);

  padding-top: 25px;
  margin-top: 25px;
}

.pro-service-callout .info-item {
  display: flex;
  align-items: center;
  gap: 8px;

  opacity: .95;
}

.pro-service-callout .info-item .icon-clock,
.pro-service-callout .info-item .icon-shield {
  font-size: 1.2rem;
  color: var(--accent);
}

/* =======================================================
   Responsive
   ======================================================= */

@media (max-width: 850px) {

  .pro-service-callout {
    flex-direction: column;
    text-align: center;

    border-radius: 16px;

    margin: 28px auto;
  }

  /* تصویر جدا حذف میشه */
  .pro-service-callout .pro-service-image {
    display: none;
  }

  /* ===== تصویر تکنسین پشت محتوا ===== */
  .pro-service-callout .pro-service-content {
    position: relative;

    background:
      linear-gradient(
        to bottom,
        rgba(3, 76, 157, 0.92) 0%,
        rgba(2, 59, 121, 0.96) 100%
      ),
      url("https://achartehran.com/wp-content/uploads/2025/10/Image_fx-13-copy.webp");

    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;

    color: #fff;

    padding: 15px 20px;

    border-radius: 0;
  }

  /* ===== فیچرها ===== */
  .pro-service-callout .pro-service-features {
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    align-items: baseline;

    margin: 10px 0;
  }

  .pro-service-callout .feature-item-pro {
    justify-content: center;

    flex-direction: column;

    gap: 6px;

    margin: 0;

    line-height: 2rem;

    font-size: .75rem;
  }

  .pro-service-callout .feature-item-pro .icon-checkmark .elementor-icon svg {
    fill: var(--accent);
  }

  /* ===== دکمه ===== */
  .pro-service-callout .pro-cta-button {
    padding: 7px 13px;

    font-size: 14px;
    margin: 0 10px;
    box-shadow: 0 10px 24px rgba(77, 163, 255, .35);
  }

  /* ===== اطلاعات پایین ===== */
  .pro-service-callout .pro-additional-info {
    gap: 8px;

    margin-top: 20px;
    padding-top: 20px;

    font-size: .95rem;
  }

  .ab-services-title {
    font-size: 17px;
  }

  .ab-row > div:nth-child(1) {
    font-size: 15px;
  }
}

.custom-toc-wrapper {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    overflow: hidden;
}
.custom-toc-header {
    background: #244591;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}
.toc-title {
    font-size: 15px;
}
.custom-toc-body {
    max-height: 600px;
    overflow-y: auto;
    transition: all 0.4s ease-in-out;
    background: #fff;
    padding: 20px;
}
.toc-icon {
    margin-left: 10px;
}
.custom-toc-body {
    max-height: 600px;
    overflow-y: auto;
    transition: all 0.4s ease-in-out;
    background: #fff;
    padding: 15px;
}
.custom-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc-counter;
}
ol {
    margin: 0 13px !important;
}
main .first-column ol li {
    padding: 0px 5px;
    color: #565663;
    line-height: 2.4rem;
    font-weight: 400;
    font-size: 15px;
    position: relative;
}

@counter-style persian-numbers {
    system: numeric;
    symbols: "۰" "۱" "۲" "۳" "۴" "۵" "۶" "۷" "۸" "۹";
    suffix: "";
}

.custom-toc-list {
    counter-reset: toc-counter;
}

.custom-toc-list li {
    position: relative;
    counter-increment: toc-counter;
}

.custom-toc-list li::before {
    content: counter(toc-counter, persian-numbers);
    background: #4a90e2;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    right: -22px;
    top: 7px;
}
main .first-column .entry-content a {
    color: #f67f00;
    font-size: 17px;
    font-weight: 600;
    padding-top: 20px;
    margin-top: 0;
}

.custom-toc-list a {
    color: #333 !important;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
    font-weight: 400 !important;
}
.toc-toggle {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
}
@media (max-width: 850px) {
    .custom-toc-header {
    padding: 5px 20px;
  }
  .toc-title {
    font-size: 14px;
  }
  .toc-toggle {
      font-size: 13px;
  }
  .custom-toc-wrapper {
    margin-top: 20px;
    margin-bottom: 0px;
    font-size: 15px;
  }
  .custom-toc-list a {
      font-size: 13px;
  }
  .acs-reading-time {
    font-size: 12px;
  }
}