/*
Theme Name:   فارسی‌ساز هوشمند فلوکس پرو
Theme URI:    https://themes.wpmonster.co/landing/phlox-landing
Description:  مدرن، انعطاف پذیر، قدرتمند. فلوکس بهترین قالب المنتور دنیاست...
Author:       هیولای وردپرس
Author URI:   https://wpmonster.co
Template:     phlox-pro
Version:      2.1.2
Text Domain:  phlox-pro-child
--------------------------------------------------------------------------------
This set of fonts are used in iDivi.ir project under the relevant licenses.
IRANSans:   (T6GT9B)
IRANSansDN: (NGGPAS)
IRANYekan:  (VEYR4W)
IRANSharp:  (B2XBWP)
IRANGerd:   (ZW423N)
IRAN:       (EAXDCW)
Dana:       (CSF6GB)
Anjoman:    (KGNYN8)
Kalameh:    (HDPDCA)
Aviny:      (93BABR)
Mahboubeh:  (3FW72N)
Hilda:      (Y2XCKY)
Farhang:    (7G7UWB)
Gohar:      (MKTQGB)
Tahamtan:   (REDFP6)
Katibeh:    (FQUDWQ)
Damavand:   (6PHQNW)
Emkan:      (RA74M4)
*/

/* custom law menu */
.horizontal-menu {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  background-color: #f8f8f8;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.horizontal-menu a {
  display: inline-block;
  padding: 10px 15px;
  margin-right: 10px;
  text-decoration: none;
  color: #333;
  background-color: #e0e0e0;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.horizontal-menu a:hover {
  background-color: #ccc;
}


/* retaled votes shortcode */

.related-votes-section {
    margin: 30px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.related-votes-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.related-votes-list {
    list-style: none;
    padding: 0;
}

.related-vote-item {
    margin-bottom: 10px;
}

.related-vote-item a {
    color: #3498db;
    text-decoration: none;
    font-size: 1.1rem;
}

.related-vote-item a:hover {
    text-decoration: underline;
}


/* post type laws css */


.law-hr-part {
  border-top: 0.5px solid #4a90e2;
  margin: 2rem 0;
  opacity:40%;	
}

.law-hr-chapter {
  border-top: 0.5px solid #7ed6df;
  margin: 1.5rem 0;
  opacity:40%;	
}

.law-hr-article {
  border-top: 0.3px solid #ccc;
  margin: 1rem 0;
  opacity:40%;
}

.law-hr-section {
  border-top: 0.5px solid #bbb;
  margin: 1rem 0;
  opacity:40%;	
}

.law-titr {
	margin-top:1.5em;
}

/* grow text */


.vakilcoach-features {
  list-style: none;
  padding-right: 1.5em;
  margin: 1em 0;
  line-height: 1.5;
  position: relative;
}

.vakilcoach-features > li {
  margin-bottom: 1.25em;
  position: relative;
  padding-right: 1.8em;
}

.vakilcoach-features > li::before {
  content: "✓";
  color: #0033ad;
  position: absolute;
  right: 0;
  top: 0;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

.expandable-text {
            position: relative;
            overflow: hidden;
            line-height: 1.5em;
            max-height: 12em; 
            transition: max-height 0.4s ease;
        }
        /* سایه گرادیانت با ::before */
.expandable-text::before {
            content: "";
            pointer-events: none;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3em; /* ارتفاع سایه */
            background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 90%);
            transition: opacity 0.4s ease;
            opacity: 1;
            z-index: 2;
        }
.expandable-text h1 {
		     font-size: 2rem;
   		 	 font-weight: 500;
  		     line-height: 2.1
		}
.expandable-text h2, h3 {
	   	     font-size: 1.4rem;
   			 font-weight: 500;
  		     line-height: 2.15
		}
.expandable-text p {
			font-size: 1rem;
			font-weight: 300;
			line-height: 2.17;
		}
.expandable-text hr {
		opacity: 40%;
		margin-bottom: 2rem;
		}
        /* وقتی متن باز شد سایه حذف شود */
.expandable-text.expanded {
            -webkit-line-clamp: unset;
            max-height: 2600px;
        }
.expandable-text.expanded::before {
            opacity: 0;
            display: none;
        }
.expand-btn {
            display: inline-block;
            margin-top: 10px;
            cursor: pointer;
            color: #0033ad;
            font-weight: 600;
            user-select: none;
        }

/* search form */
.vakilcoach-search-form {
  text-align: center;
  margin: 2rem auto 1.5rem;

}
.vakilcoach-search-form form {
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.vakilcoach-search-form input[type="text"] {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  #width: 250px;
  font-size: 1rem;
}
.vakilcoach-search-form button {
  padding: 0.5rem 1.2rem;
  border: none;
  background-color: #0033ad;
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  margin-right: 8px;
  cursor: pointer;	

  
}
.vakilcoach-search-form button:hover {
  background-color: #002a8a;
}


.vakilcoach-search-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1rem auto 2rem;
}
.vakilcoach-tab-link {
  padding: 6px 12px;
  background: #f1f1f1;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background 0.3s;
}
.vakilcoach-tab-link:hover {
  background: #002a8a;
}

.search-section {
  margin-bottom: 3rem;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #fafafa;
}
.search-section-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #0033ad;
  border-right: 4px solid #0033ad;
  padding-right: 10px;
}
.search-result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-result-item {
  padding: 0.75rem 0;
  border-bottom: 1px dashed #ccc;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}
.search-result-item a:hover {
  text-decoration: underline;
}

.inner-load-more {
	  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}