/*
Theme Name: Tavoos
Theme URI: http://example.com/
Author: Your Name
Author URI: http://example.com/
Description: A simple WordPress theme example
Version: 1.0
*/

/* مخفی کردن action ها به صورت پیش‌فرض */
.thumb-info-action {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* جلوگیری از تعامل قبل از hover */
}

/* وقتی موس روی wrapper است */
.thumb-info-wrapper:hover .thumb-info-action {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* فعال شدن تعامل */
}

/* wrapper باید position relative باشد */
.thumb-info-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
}

.about-box {
    direction: rtl;
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-right: 5px solid #0b4f9c;
    margin-top: 30px;
}

.about-box p {
    font-size: 16px;
    line-height: 2.4;
    color: #444;
    text-align: justify;
    margin-bottom: 20px;
    position: relative;
    padding-right: 18px;
}

.about-box p::before {
    content: "";
    position: absolute;
    right: 0;
    top: 14px;
    width: 7px;
    height: 7px;
    background: #0b4f9c;
    border-radius: 50%;
}

.about-box p:last-child {
    margin-bottom: 0;
}
.modir {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 10px;
    gap: 20px;
    margin: 20px 0px;
    padding: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(221, 221, 221);
    border-image: initial;
    border-radius: 12px;
    background: rgb(255, 255, 255);
    transition: transform 0.2s, box-shadow 0.3s;
}
.modir .info {
    flex: 1 1 0%;
}
.modir .info h3 {
    color: rgb(243, 146, 0);
    font-size: 20px;
    margin: 0px 0px 8px;
}
.modir .info ul, .modir .info ol {
    line-height: 1.8;
    font-size: 14px;
    margin: 0px 12px 10px 20px;
    padding: 0px;
}
.modir img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 10px;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(221, 221, 221);
    border-image: initial;
}
  .modir:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
  }
article{width:100%}