/*
Theme Name: Bimeh197 template
Theme URI: https://bimeh197.ir/
Author: Amirali Mohammadi
Author URI: https://www.linkedin.com/in/amirmocoder/
Description: A custom WordPress theme built for Bimeh197.
Version: 1.0
Tested up to: 1.0
Requires at least: 1.0
Text Domain: Bimeh197
*/
@charset "UTF-8";
@keyframes fade-carousel {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@keyframes portfolio-slider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(120px * var(--portfolio-logo-count)));
  }
}
/* A Complete CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

/* Reset lists to remove default styles */
ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote::before, blockquote::after,
q::before, q::after {
  content: "";
  content: none;
}

/* Reset table elements */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Resetting links */
a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  cursor: pointer;
}

/* Resetting images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Form elements reset */
button, input, select, textarea {
  font: inherit;
  margin: 0;
}

button {
  all: unset;
  display: inline-block;
  cursor: pointer;
}

button:focus, button:active {
  outline: none;
}

input:focus::placeholder {
  opacity: 0;
}

span, button {
  -webkit-tap-highlight-color: transparent;
}

/* Box sizing reset */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Remove animations and transitions for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: Sahel;
  src: url("fonts/Farsi-Digits/Sahel-FD.eot");
  src: url("fonts/Farsi-Digits/Sahel-FD.eot?#iefix") format("embedded-opentype"), url("fonts/Farsi-Digits/Sahel-FD.woff") format("woff"), url("fonts/Farsi-Digits/Sahel-FD.woff2") format("woff2"), url("fonts/Farsi-Digits/Sahel-FD.ttf") format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: Sahel;
  src: url("fonts/Farsi-Digits/Sahel-Bold-FD.eot");
  src: url("fonts/Farsi-Digits/Sahel-Bold-FD.eot?#iefix") format("embedded-opentype"), url("fonts/Farsi-Digits/Sahel-Bold-FD.woff") format("woff"), url("fonts/Farsi-Digits/Sahel-Bold-FD.woff2") format("woff2"), url("fonts/Farsi-Digits/Sahel-Bold-FD.ttf") format("truetype");
  font-weight: bold;
}
@font-face {
  font-family: Sahel;
  src: url("fonts/Farsi-Digits/Sahel-Black-FD.eot");
  src: url("fonts/Farsi-Digits/Sahel-Black-FD.eot?#iefix") format("embedded-opentype"), url("fonts/Farsi-Digits/Sahel-Black-FD.woff") format("woff"), url("fonts/Farsi-Digits/Sahel-Black-FD.woff2") format("woff2"), url("fonts/Farsi-Digits/Sahel-Black-FD.ttf") format("truetype");
  font-weight: 900;
}
body {
  font-family: "Sahel", "Segoe UI", Tahoma, sans-serif;
  font-weight: normal;
  line-height: 1.4;
}

html {
  font-size: 100%;
  font-size: 0.8rem;
}

* {
  font-family: "Sahel", "Segoe UI", Tahoma, sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Sahel", "Segoe UI", Tahoma, sans-serif;
  font-weight: 500;
  line-height: 1.6;
}

h1 {
  font-size: 1.3rem;
  font-weight: bold;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1.15rem;
}

h5 {
  font-size: 1.1rem;
}

p, time {
  font-size: 1.05rem;
}

small,
.text_small,
span {
  font-size: 1rem;
  font-weight: normal;
}

.rtl {
  direction: rtl;
  text-align: right;
}

body {
  background-color: #F9F9F9;
}

input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #F5F5F5;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #555;
}

main {
  z-index: 500;
}

hr {
  border-top: 2px solid lightgray;
  border-radius: 50%;
}

.bold {
  font-weight: bold;
}

.bolder {
  font-weight: 900;
}

h1, h2, h3, h4, h5, h6, p, code, li, label, tr, th, td, details {
  color: black;
}

.hover, .wp-block-button .wp-element-button {
  transition-duration: 250ms;
}
.hover:hover, .wp-block-button .wp-element-button:hover {
  opacity: 0.75;
}

time {
  color: rgb(197, 0, 61);
}

input.no-border {
  border: none;
  outline: none;
}

.text-small {
  word-spacing: -0.1rem;
}

.sub-text {
  word-spacing: -0.1rem;
  opacity: 0.95;
}

.anchor {
  cursor: default;
}

#main-logo {
  z-index: 550;
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 4px;
}
#main-logo img {
  width: 20vw;
  min-width: 140px;
  max-width: 180px;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1200;
  justify-content: center;
  align-items: center;
}
.overlay .fullscreen-img {
  border-radius: 12px;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
.overlay svg {
  fill: #fff;
  position: absolute;
  top: 30px;
  right: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.btn, .wp-block-button .wp-element-button {
  display: grid;
  align-items: center;
  justify-items: center;
  border-radius: 12px;
}
.btn *, .wp-block-button .wp-element-button * {
  color: #fff;
}
.btn, .wp-block-button .wp-element-button {
  background-color: rgb(197, 0, 61);
  cursor: pointer;
}

.wp-block-button .wp-element-button {
  border-radius: 12px;
  color: #fff !important;
  width: fit-content;
  height: 48px;
  padding: 0 40px;
}
.wp-block-button .wp-element-button * {
  font-size: 1.2rem;
  font-weight: bold;
}

.wp-block-table {
  overflow-x: scroll;
}

video {
  display: block;
  max-height: 600px;
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  text-align: center;
  border-radius: 12px;
}
table caption {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 10px;
  color: black;
  font-weight: bold;
}
table th, table td {
  padding: 12px;
  text-align: left;
  border: 2px solid rgb(30, 30, 30);
  word-wrap: break-word;
  text-align: center;
}
table th {
  background-color: rgb(197, 0, 61);
  color: #fff;
  font-weight: bold;
}
table tbody tr:nth-of-type(even) {
  background-color: #e6e6e6;
}
table tbody tr:nth-of-type(odd) {
  background-color: #fff;
}

.release-date, .view-counter, .post-id {
  color: rgb(197, 0, 61) !important;
  font-weight: bold;
  display: inline;
  font-size: 1.1rem;
}

.release-date::before {
  content: "\f1fe";
  font-family: "Bootstrap-icons";
  font-size: 0.85rem;
  display: inline-flex;
  padding-left: 3px;
  font-weight: normal;
}
.release-date::after {
  content: "|";
}

.view-counter::after {
  content: "بازدید";
  margin-right: 3px;
}

@media (max-width: 768px) {
  table {
    font-size: 0.8em;
  }
  table th, table td {
    padding: 8px;
  }
  video {
    border-radius: 4px;
  }
  .overlay svg {
    right: 30px;
  }
  .wp-block-button .wp-element-button {
    padding: 0 24px;
  }
  .wp-block-button .wp-element-button * {
    font-size: 1.1rem;
    font-weight: bold;
  }
}
.main-section {
  margin-bottom: 160px;
  padding: 0 10%;
  width: 100%;
  direction: rtl;
  text-align: right;
}
.main-section * {
  color: black;
}
.main-section .anchor {
  width: fit-content;
  margin-bottom: 40px;
  padding-bottom: 4px;
  border-bottom: 3px solid black;
}
.main-section .anchor > * {
  font-size: 1.8rem;
  font-weight: bold;
  transition-duration: 500ms;
  margin-left: max(48px, 2vw);
  margin-right: 12px;
  width: 200px;
}
.main-section .anchor > *:hover {
  margin-left: 0;
}
.main-section__container {
  width: 100%;
  padding: 0 4%;
  display: grid;
  justify-items: center;
  align-items: center;
}

@media screen and (max-width: 1080px) {
  .main-section .anchor > * {
    font-size: 1.4rem;
    width: 140px;
  }
  .main-section .anchor > *:hover {
    margin-left: 16px;
  }
}
.xmain-section * {
  color: #fff;
}
.xmain-section {
  margin-bottom: 80px;
}
.xmain-section .anchor {
  width: fit-content;
  padding-bottom: unset;
  border-bottom: unset;
  margin-bottom: 36px;
  margin-right: 4%;
  padding-top: 40px;
}
.xmain-section .anchor > * {
  transition-duration: unset;
  margin-left: unset;
  margin-right: unset;
  width: unset;
}
.xmain-section .anchor > *:hover {
  margin-left: unset;
}

@media screen and (max-width: 1080px) {
  .xmain-section .anchor > * {
    font-size: 1.8rem;
    width: unset;
  }
  .xmain-section .anchor > *:hover {
    margin-left: unset;
  }
}
header {
  width: 100%;
  z-index: 900;
}
header .header__topbar *, header .header__topbar ::placeholder {
  color: #fff;
}
header .header__topbar {
  width: 100%;
  background-color: rgb(2, 139, 255);
  height: 52px;
  padding: 0 6vw;
  position: fixed;
  top: 0;
}
header .header__topbar__container {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 2.5fr 2fr 1.5fr;
  gap: 12px;
  align-items: center;
  justify-items: center;
}
header .header__topbar__container div svg {
  margin-left: 2px;
}
header .header__topbar__container__date time {
  font-size: 1.05rem;
}
header .header__topbar__container__date svg {
  margin-bottom: -5px;
}
header .header__topbar__container__searchbar form {
  position: relative;
  width: 12vw;
  height: 36px;
  position: relative;
  border-radius: 50px;
  background-color: rgb(1, 125, 230);
  overflow: hidden;
}
header .header__topbar__container__searchbar form input {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: 0 auto;
  right: 1vw;
  left: 36px;
  background-color: transparent;
}
header .header__topbar__container__searchbar form svg {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  margin-left: 12px;
}
header .header__topbar__container__title * {
  line-height: 1;
}
header .header__topbar__container__title h1 {
  word-spacing: -0.1rem;
  margin-bottom: 0.25rem;
}
header .header__topbar__container__title span {
  padding-right: 0.5rem;
}
header .header__topbar__container__tel span {
  font-size: 1.2rem;
}
header .header__topbar__container__tel svg {
  margin-bottom: -4px;
}

@media screen and (max-width: 1310px) {
  .header__topbar__container__title span {
    display: none;
  }
}
@media screen and (max-width: 1080px) {
  .header__topbar__container__searchbar, .header__topbar__container__date svg, .header__topbar__gap {
    display: none;
  }
  .header__topbar__container {
    grid-template-columns: 1fr 2fr 1fr !important;
  }
}
@media screen and (max-width: 650px) {
  .header__topbar__container__date, .header__topbar__container__tel {
    display: none;
  }
  .header__topbar__container {
    grid-template-columns: 1fr !important;
  }
}
nav {
  transition: top 250ms;
}
nav.js-action {
  top: 0;
}
nav {
  z-index: 1000;
  width: 100%;
  position: fixed;
  top: 52px;
}
nav .navbar {
  width: 100%;
  height: 80px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
nav .navbar__container {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: center;
  justify-items: center;
  padding: 0 6vw 0 4vw;
}
nav .navbar__container__special {
  transition-duration: 500ms;
  width: 100%;
  height: 100%;
  position: relative;
}
nav .navbar__container__special__btn {
  width: 100%;
  max-width: 300px;
  min-width: 230px;
  height: 70%;
  text-align: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
nav .navbar__container__special__btn h4 {
  font-size: 0.95rem;
}
nav .navbar__container__special__btn h2 {
  font-size: 1.2rem;
}
nav .navbar__container__special__btn span {
  font-size: 0.85rem;
  position: absolute;
  top: 0;
  left: 0;
  margin: 5px 10px;
}
nav .navbar__container__menu {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 20fr;
  align-items: center;
  justify-items: right;
}
nav .navbar__container__menu__hamburger {
  width: 100%;
  height: 100%;
  display: none;
}
nav .navbar__container__menu__hamburger .btn-hamburger {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-items: right;
}
nav .navbar__container__menu__hamburger .btn-hamburger * {
  transition-duration: 1s;
}
nav .navbar__container__menu__hamburger .btn-hamburger .bi {
  font-family: "Bootstrap-icons";
  color: rgb(197, 0, 61);
  font-size: 36px;
  line-height: 36px;
}
nav .navbar__container__menu__hamburger .btn-hamburger .bi.js-action {
  transform: rotate(90deg);
}
nav .navbar__container__menu__hamburger .btn-hamburger span {
  font-weight: bold;
  font-size: 1.15rem;
  color: rgb(197, 0, 61);
}
nav .navbar__container__menu__hamburger .btn-hamburger span.js-action {
  visibility: hidden;
  opacity: 0;
}
nav .navbar__container__menu__flag {
  width: 4px;
  height: 50%;
  transition-duration: 500ms;
  margin-left: 3vw;
}
nav .navbar__container__menu__flag.js-action {
  background-color: rgb(2, 139, 255);
}
nav .navbar__container__menu__container {
  height: 100%;
  width: auto;
}
nav .navbar__container__menu__container .navbar-nav {
  height: 100%;
  width: auto;
}
nav .navbar__container__menu__container .navbar-nav .sub-menu {
  background-color: #fff;
}
nav .navbar__container__menu__container .navbar-nav > .menu-item {
  width: fit-content;
  height: 100%;
  justify-content: center;
  margin-left: 28px;
  float: right;
}
nav .navbar__container__menu__container .navbar-nav > .menu-item span {
  height: 100%;
  display: inline-flex;
  align-items: center;
  font-size: 1.15rem;
  cursor: default;
}
nav .navbar__container__menu__container .navbar-nav > .menu-item > span {
  font-weight: bold;
}
nav .navbar__container__menu__container .navbar-nav > .menu-item > span {
  transition: border 500ms;
  border-bottom: 3px solid transparent;
}
nav .navbar__container__menu__container .navbar-nav > .menu-item > span:hover {
  border-bottom: 3px solid rgb(197, 0, 61);
}
nav .navbar__container__menu__container .navbar-nav .menu-item-has-children {
  position: relative;
}
nav .navbar__container__menu__container .navbar-nav .menu-item-has-children:hover > .sub-menu {
  transition-duration: 500ms;
  visibility: visible;
  opacity: 1;
}
nav .navbar__container__menu__container .navbar-nav .menu-item-has-children > .sub-menu .menu-item {
  font-weight: normal;
}
nav .navbar__container__menu__container .navbar-nav .menu-item-has-children > .sub-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  z-index: -1;
  right: -14px;
  width: 250px;
  height: fit-content;
  padding: 16px 28px 16px 0;
  border-radius: 4px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
nav .navbar__container__menu__container .navbar-nav .menu-item-has-children > .sub-menu > li {
  width: 100%;
  height: 100%;
  padding: 10px 0;
  transition-duration: 250ms;
}
nav .navbar__container__menu__container .navbar-nav .menu-item-has-children > .sub-menu > li:hover {
  color: rgb(197, 0, 61);
}
nav .navbar__container__menu__container .navbar-nav .menu-item-has-children > .sub-menu > li ul {
  top: 0;
  right: 222px;
  margin-right: 1px;
}
nav .navbar__container__menu__container .navbar-nav .menu-item-has-children > span {
  display: inline-flex;
  align-items: center;
}
nav .navbar__container__menu__container .navbar-nav .menu-item-has-children > span::after {
  content: "\f282";
  font-family: "Bootstrap-icons";
  font-size: 1rem;
  font-weight: bolder;
  margin-right: 1px;
}
nav .navbar__container__menu__container {
  transition: top 250ms;
}
nav .navbar__container__menu__container.js-action-i.responsive {
  top: 80px;
}
nav .navbar__container__menu__container.js-action.responsive {
  transition: 250ms;
  visibility: visible;
  opacity: 1;
  position: fixed;
  z-index: -1;
  bottom: 0;
  top: 132px;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100vw;
  left: 0;
  right: 0;
  background-color: #fff;
}
nav .navbar__container__menu__container.js-action.responsive .navbar-nav .sub-menu {
  background-color: transparent;
}
nav .navbar__container__menu__container.js-action.responsive .navbar-nav {
  width: auto;
  margin: 60px 0;
  height: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
nav .navbar__container__menu__container.js-action.responsive .navbar-nav > .menu-item {
  position: unset;
  height: auto;
  width: 100%;
  float: unset;
  margin-left: unset;
  margin-bottom: 32px;
}
nav .navbar__container__menu__container.js-action.responsive .navbar-nav > .menu-item > span {
  padding-bottom: 8px;
}
nav .navbar__container__menu__container.js-action.responsive .navbar-nav .menu-item-has-children {
  position: unset;
}
nav .navbar__container__menu__container.js-action.responsive .navbar-nav .menu-item-has-children span.js-action ~ .sub-menu {
  transition-duration: 500ms;
  visibility: visible;
  opacity: 1;
  position: unset;
}
nav .navbar__container__menu__container.js-action.responsive .navbar-nav .menu-item-has-children > .sub-menu {
  transition-duration: unset;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  display: block;
  z-index: unset;
  width: fit-content;
  height: fit-content;
  padding: 16px 24px 0 0;
  border-radius: unset;
  box-shadow: unset;
}
nav .navbar__container__menu__container.js-action.responsive .navbar-nav .menu-item-has-children > .sub-menu > li {
  padding: 0;
  margin-bottom: 16px;
}
nav .navbar__container__menu__container.js-action.responsive .navbar-nav .menu-item-has-children > .sub-menu > li ul {
  margin-right: unset;
}

nav.js-responsive .navbar__container {
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 0 4vw;
}
nav.js-responsive .navbar__container__special__btn {
  right: unset;
}
nav.js-responsive .navbar__container__menu {
  display: block;
}
nav.js-responsive .navbar__container__menu__hamburger {
  display: block;
}
nav.js-responsive .navbar__container__menu__flag {
  display: none;
}
nav.js-responsive .navbar__container__menu__container {
  visibility: hidden;
  opacity: 0;
  position: absolute;
}

@media screen and (max-width: 480px) {
  .navbar__container__special span {
    display: none;
  }
}
#main-carousel {
  z-index: 500;
  position: relative;
  margin-top: 132px;
  width: 100%;
  background-color: lightgray;
  height: min(100vw + 40px, 75vh);
  min-height: 480px;
  margin-bottom: 8vh;
}
#main-carousel .carousel__container {
  position: relative;
  width: 100%;
  height: 100%;
}
#main-carousel .carousel__container .slide {
  width: 100%;
  height: 100%;
  z-index: 520;
  display: none;
  animation-name: fade-carousel;
  animation-duration: 1.5s;
}
#main-carousel .carousel__container .slide img {
  width: 100%;
  height: 100%;
}
#main-carousel .carousel__container .slide__container {
  z-index: 550;
  position: absolute;
  right: 0;
  bottom: 80px;
  padding: 16px 3% 16px 24px;
  border-radius: 12px 0 0 12px;
  transition-duration: 250ms;
  background-color: rgba(30, 30, 30, 0.8);
}
#main-carousel .carousel__container .slide__container:hover {
  background-color: rgba(197, 0, 61, 0.8);
}
#main-carousel .carousel__container .slide__container * {
  color: #fff;
  font-weight: bold;
  word-spacing: 0.15rem;
  line-height: 2rem;
  direction: rtl;
  text-align: right;
}
#main-carousel .carousel__container__tools {
  width: 100%;
}
#main-carousel .carousel__container__tools__control .prev-slide, #main-carousel .carousel__container__tools__control .next-slide {
  z-index: 560;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 18px;
  transform: translateY(-50%);
  color: #fff;
  font-weight: bold;
  font-size: 28px;
  transition: 500ms ease;
  border-radius: 0 12px 12px 0;
  user-select: none;
}
#main-carousel .carousel__container__tools__control .prev-slide:hover, #main-carousel .carousel__container__tools__control .next-slide:hover {
  background-color: rgba(255, 255, 255, 0.75);
  color: #000;
}
#main-carousel .carousel__container__tools__control .next-slide {
  right: 0;
  border-radius: 12px 0 0 12px;
}
#main-carousel .carousel__container__tools__dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
}
#main-carousel .carousel__container__tools__dots .dot {
  cursor: pointer;
  height: 18px;
  width: 18px;
  margin: 0 2px;
  background-color: lightgray;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
#main-carousel .carousel__container__tools__dots .dot:hover {
  background-color: rgb(30, 30, 30);
}
#main-carousel .carousel__container__tools__dots .dot.js-action, #main-carousel .carousel__container__tools__dots .dot:active {
  background-color: rgb(197, 0, 61);
}

@media screen and (max-width: 680px) {
  #main-carousel {
    min-height: 400px !important;
  }
  #main-carousel .carousel__container .slide__container {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    max-width: 80vw !important;
  }
  #main-carousel .carousel__container .slide__container * {
    word-spacing: 0 !important;
    font-size: 1.1rem !important;
  }
  #main-carousel .carousel__container__tools__control .prev-slide, #main-carousel .carousel__container__tools__control .next-slide {
    padding: 12px !important;
    font-size: 24px !important;
    border-radius: 0 8px 8px 0 !important;
  }
  #main-carousel .carousel__container__tools__control .next-slide {
    border-radius: 8px 0 0 8px !important;
  }
  #main-carousel .carousel__container__tools__dots {
    margin-bottom: 4px !important;
  }
  #main-carousel .carousel__container__tools__dots .dot {
    height: 16px !important;
    width: 16px !important;
  }
}
@media screen and (max-width: 480px) {
  #main-carousel .carousel__container .slide__container {
    bottom: 70px !important;
  }
}
#introduction .main-section__container {
  grid-template-columns: repeat(auto-fit, minmax(546px, 1fr));
  gap: 60px;
}
#introduction .introduction__container__text {
  width: 100%;
  text-align: justify;
}
#introduction .introduction__container__text * {
  font-size: 1.3rem;
  line-height: 2.6rem;
}
#introduction .introduction__container__text p {
  margin-bottom: 0.5rem;
}
#introduction .introduction__container__text ul {
  list-style: circle;
  padding-right: 6rem;
  font-weight: bold;
}
#introduction .introduction__container__img {
  width: fit-content;
  height: 100%;
}
#introduction .introduction__container__img img {
  aspect-ratio: 3/2;
  border-radius: 24px;
  height: 100%;
  width: 560px;
  transform: rotate3d(1, 1, 0, 15deg);
}

@media screen and (max-width: 1582px) {
  #introduction .introduction__container__text {
    order: 2;
  }
  #introduction .introduction__container__img {
    order: 1;
  }
}
@media screen and (max-width: 1080px) {
  #introduction .main-section__container {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
  }
  #introduction .introduction__container__text * {
    font-size: 1.2rem;
    line-height: 2.4rem;
  }
}
@media screen and (max-width: 760px) {
  #introduction {
    padding: 0 8%;
  }
  #introduction .main-section__container {
    padding: 0 2%;
  }
  #introduction .introduction__container__text ul {
    padding-right: 3rem;
  }
}
@media screen and (max-width: 600px) {
  #introduction .main-section__container {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}
#offerbox {
  background-color: rgb(2, 139, 255);
}
#offerbox .anchor * {
  color: #fff;
}
#offerbox .anchor h3 {
  line-height: 2rem;
}
#offerbox .anchor h3 span {
  padding-right: 1.4rem;
  font-weight: bold;
  opacity: 0.95;
}
#offerbox .offerbox__container {
  display: grid;
  justify-items: center;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  width: min(800px, 100%);
}
#offerbox .offerbox__container__grid {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
  justify-items: center;
}
#offerbox .offerbox__container__grid__box {
  width: 160px;
  margin-bottom: 32px;
  background-color: #F9F9F9;
  border-radius: 24px;
  padding: 24px 0;
}
#offerbox .offerbox__container__grid__box__circle {
  border: 3px solid black;
  border-radius: 25%;
  position: relative;
  width: 96px;
  height: 96px;
}
#offerbox .offerbox__container__grid__box > a {
  display: grid;
  justify-items: center;
  align-items: center;
  text-align: center;
  gap: 16px;
}
#offerbox .offerbox__container__grid__box > a h4 {
  font-size: 1.2rem;
  font-weight: bold;
  color: black;
}
#offerbox .offerbox__container__grid__box > a svg {
  fill: black;
  width: 68px;
  height: 68px;
  position: absolute;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

@media screen and (max-width: 560px) {
  #offerbox .main-section__container {
    padding: 0 4%;
  }
  #offerbox .offerbox__container {
    margin-bottom: 24px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  #offerbox .offerbox__container__grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
  }
  #offerbox .offerbox__container__grid__box {
    width: 120px;
    margin-bottom: 20px;
  }
  #offerbox .offerbox__container__grid__box__circle {
    width: 76px;
    height: 76px;
  }
  #offerbox .offerbox__container__grid__box > a {
    gap: 12px;
  }
  #offerbox .offerbox__container__grid__box > a svg {
    width: 48px;
    height: 48px;
  }
  #offerbox .offerbox__container__grid__box > a h4 {
    font-size: 1.1rem;
  }
  #offerbox .offerbox__container__grid__box:last-child h4 {
    font-size: 1rem;
  }
}
#portfolio {
  height: 260px;
  background-color: lightgray;
}
#portfolio * {
  color: black;
}
#portfolio .anchor {
  margin-bottom: 48px;
}
#portfolio .main-section__container {
  padding: 0 12%;
}
#portfolio .portfolio__container {
  width: 100%;
  overflow: hidden;
}
#portfolio .portfolio__container ul {
  width: 100%;
  display: inline-flex;
  gap: 40px;
}
#portfolio .portfolio__container ul:hover li {
  animation-play-state: paused;
}
#portfolio .portfolio__container ul li {
  animation: portfolio-slider 40s linear infinite;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
}
#portfolio .portfolio__container ul li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 250ms ease;
}
#portfolio .portfolio__container ul li img:hover {
  filter: grayscale(0);
}

#bulletin .main-section__container > a {
  min-width: 280px;
  max-width: 760px;
  width: 80%;
  margin-top: 40px;
  height: 60px;
}
#bulletin .main-section__container > a * {
  color: #fff;
}
#bulletin .main-section__container > a .bulletin-btn * {
  color: rgb(197, 0, 61);
  transition-duration: 250ms;
}
#bulletin .main-section__container > a .bulletin-btn {
  background-color: transparent;
  border: 1px solid rgb(197, 0, 61);
  width: 100%;
  height: 100%;
  transition-duration: 250ms;
}
#bulletin .main-section__container > a .bulletin-btn:hover * {
  color: rgb(30, 30, 30);
}
#bulletin .main-section__container > a .bulletin-btn:hover {
  border-color: rgb(30, 30, 30);
}
#bulletin .main-section__container > a .bulletin-btn span {
  display: inline-flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: bold;
}
#bulletin .main-section__container > a .bulletin-btn span::before {
  content: "\f470";
  font-family: "Bootstrap-icons";
  font-size: 1.4rem;
  margin-left: 3px;
}
#bulletin .bulletin__container {
  width: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
}
#bulletin .bulletin__container__box {
  max-width: 380px;
  min-width: 280px;
  padding: 12px;
  border-radius: 24px;
  background-color: #fff;
  border: 2px solid rgba(211, 211, 211, 0.5);
  background-clip: padding-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#bulletin .bulletin__container__box__banner {
  display: grid;
  justify-items: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: fit-content;
  position: relative;
  transition: opacity 250ms;
}
#bulletin .bulletin__container__box__banner.js-action::after {
  content: "مطالعه کامل خبر >>";
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#bulletin .bulletin__container__box__banner img {
  border-radius: 8px;
  width: 340px;
  height: 200px;
  transition-duration: 250ms;
}
#bulletin .bulletin__container__box__banner img.js-action {
  filter: brightness(0.4) contrast(0.8);
}
#bulletin .bulletin__container__box__info {
  padding: 16px 6% 0 6%;
  width: 100%;
}
#bulletin .bulletin__container__box__info * {
  text-align: justify;
  width: 100%;
}
#bulletin .bulletin__container__box__info .title {
  font-size: 1.2rem;
  line-height: 1.6rem;
  font-weight: bold;
  word-spacing: -0.1rem;
  margin-bottom: 6px;
  transition-duration: 250ms;
}
#bulletin .bulletin__container__box__info .title:hover {
  color: rgb(197, 0, 61);
}
#bulletin .bulletin__container__box__info .description, #bulletin .bulletin__container__box__info__tool > * {
  font-size: 1rem;
  line-height: 1.5rem;
}
#bulletin .bulletin__container__box__info .description::after {
  content: "...";
  margin-right: -2px;
  font-weight: bold;
}
#bulletin .bulletin__container__box__info__text {
  width: 100%;
  min-height: 120px;
  max-height: 180px;
  overflow: hidden;
  margin-bottom: 16px;
}
#bulletin .bulletin__container__box__info__tool {
  text-align: left;
  width: 100%;
  height: 20px;
  margin-bottom: 2px;
}

@media screen and (max-width: 1684px) {
  #bulletin .bulletin__container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
@media screen and (max-width: 1348px) {
  #bulletin .bulletin__container > * {
    display: none;
  }
  #bulletin .bulletin__container > :nth-child(-n+4) {
    display: block;
  }
}
@media screen and (max-width: 680px) {
  #bulletin {
    padding: 0 8%;
  }
  #bulletin .main-section__container {
    padding: 0 2%;
  }
  #bulletin .main-section__container > a .bulletin-btn span {
    font-size: 1.1rem;
  }
}
@media screen and (max-width: 480px) {
  #bulletin .bulletin__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
#news .main-section__container {
  justify-items: unset;
}
#news .news__container {
  width: 100%;
}
#news .news__container__ul {
  width: 800px;
}
#news .news__container__ul .news-item {
  display: inline-flex;
  width: 100%;
}
#news .news__container__ul .news-item__capture {
  width: 180px;
  height: 100px;
}
#news .news__container__ul .news-item__capture img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  transition: 250ms ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#news .news__container__ul .news-item__capture img:hover {
  opacity: 0.6;
  filter: grayscale(100%);
}
#news .news__container__ul .news-item__content {
  margin-right: 16px;
  display: grid;
  align-items: center;
}
#news .news__container__ul .news-item__content__title {
  font-size: 1.2rem;
  font-weight: bold;
  transition-duration: 250ms;
}
#news .news__container__ul .news-item__content__title:hover {
  color: rgb(197, 0, 61);
}
#news .news__container__ul .news-item__content__detail {
  font-size: 1.05rem;
}
#news .news__container__ul .news-item__content__detail::after {
  content: "خبرگزاری مهر";
  font-size: 0.9rem;
  color: rgb(197, 0, 61);
}
#news .news__container__ul .news-item__content__date {
  font-size: 1rem;
  color: rgb(197, 0, 61);
}
#news .news__container__ul .news-item__content__date::before {
  content: "\f293";
  font-family: "Bootstrap-icons";
  font-size: 0.75rem;
  display: inline-flex;
  padding-left: 3px;
}
#news .news__container__ul hr {
  width: 90%;
  margin-bottom: 28px;
  margin-top: 12px;
}

@media screen and (max-width: 1080px) {
  #news .news__container__ul {
    width: max(300px, 100%);
    list-style-type: decimal;
    list-style-position: inside;
    font-weight: bold;
  }
  #news .news__container__ul .news-item__capture {
    display: none;
  }
  #news .news__container__ul .news-item__content {
    margin-right: unset;
    display: unset;
    padding: unset;
  }
  #news .news__container__ul .news-item__content__title {
    margin-bottom: 16px;
  }
  #news .news__container__ul .news-item__content__detail {
    margin-bottom: 12px;
    font-weight: normal;
  }
  #news .news__container__ul .news-item__content__date {
    font-weight: normal;
  }
  #news .news__container__ul hr {
    margin-bottom: 32px;
    margin-top: 8px;
  }
}
footer {
  width: 100%;
  background-color: rgb(30, 30, 30);
  height: 400px;
  position: relative;
}
footer * {
  color: #fff;
}
footer #dev-right {
  position: absolute;
  letter-spacing: -0.02rem;
  left: 16px;
  bottom: 8px;
  transition: opacity 250ms;
}
footer #dev-right:hover {
  opacity: 0.5;
}
footer #copyright {
  position: absolute;
  background-color: rgb(2, 139, 255);
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 60%;
  display: grid;
  justify-items: center;
  align-items: center;
  height: 48px;
  border-radius: 100px 100px 0 0;
}
footer #copyright p {
  font-weight: bold;
  font-size: 1.1rem;
}
footer .footer__container {
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
  direction: rtl;
  text-align: right;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-right: 8%;
  padding-left: 4%;
}
footer .footer__container .anchor * {
  font-weight: bold;
  font-size: 1.2rem;
}
footer .footer__container .anchor {
  border-right: 2px solid #fff;
  padding-right: 6px;
  margin-bottom: 16px;
  transition: border-color 500ms;
}
footer .footer__container .anchor:hover {
  border-color: rgb(2, 139, 255);
}
footer .footer__container > div {
  width: 100%;
  height: 80%;
  align-items: center;
  justify-items: right;
}
footer .footer__container > div > div {
  padding-right: 24px;
}
footer .footer__container__contactus__area {
  width: max(90%, 320px);
}
footer .footer__container__contactus__area__list {
  width: 100%;
  height: 100%;
}
footer .footer__container__contactus__area__list .location-text, footer .footer__container__contactus__area__list .contact-info {
  font-size: 1.15rem;
  word-spacing: -0.05rem;
  text-align: right;
  line-height: 1.6rem;
  margin-bottom: 8px;
}
footer .footer__container__contactus__area__list .location-text::before, footer .footer__container__contactus__area__list .contact-info::before {
  content: "\f3e7";
  font-family: "Bootstrap-icons";
  font-weight: bold;
  margin-right: -16px;
  transition: color 500ms;
}
footer .footer__container__contactus__area__list .location-text:hover:before, footer .footer__container__contactus__area__list .contact-info:hover:before {
  color: rgb(2, 139, 255);
}
footer .footer__container__contactus__area__list .contact-info {
  font-weight: bold;
}
footer .footer__container__contactus__area__list .contact-info * {
  font-weight: normal;
}
footer .footer__container__contactus__area__list .contact-info::before {
  content: "\f6b9";
}
footer .footer__container__contactus__area__list .contact-info ul {
  margin-right: 32px;
  margin-top: 4px;
  width: fit-content;
  list-style-type: disc;
}
footer .footer__container__contactus__area__list .contact-info ul a li {
  width: fit-content;
  line-height: 2rem;
  transition: opacity 250ms;
}
footer .footer__container__contactus__area__list .contact-info ul a li:hover {
  opacity: 0.5;
}
footer .footer__container__links__area {
  width: 250px;
}
footer .footer__container__links__area__list {
  list-style-type: circle;
}
footer .footer__container__links__area__list .item-links span {
  font-size: 1.1rem;
  line-height: 2.2rem;
  transition: opacity 250ms;
}
footer .footer__container__links__area__list .item-links span:hover {
  opacity: 0.5;
}
footer .footer__container__location iframe {
  border-radius: 12px;
  margin-right: 24px;
}

@media screen and (max-width: 1124px) {
  footer {
    height: auto;
  }
  footer #dev-right {
    bottom: 60px;
  }
  footer #copyright {
    width: 100%;
    height: 48px;
    border-radius: unset;
  }
  footer #copyright p {
    font-size: 0.8rem;
  }
  footer .footer__container {
    grid-template-columns: unset;
    grid-template-rows: 1.2fr 1fr 1fr;
    padding: 16% 12% 24% 12%;
  }
  footer .footer__container > div {
    height: 100%;
  }
  footer .footer__container > div > div {
    padding-right: 40px;
  }
  footer .footer__container__contactus__area__list .location-text, footer .footer__container__contactus__area__list .contact-info {
    font-size: 1rem;
    line-height: 1.8rem;
    margin-bottom: 16px;
  }
  footer .footer__container__contactus__area__list .contact-info ul {
    margin-top: 12px;
  }
  footer .footer__container__contactus__area__list .contact-info ul a li {
    line-height: 2.4rem;
  }
  footer .footer__container__links__area__list .item-links span {
    line-height: 2.4rem;
  }
  footer .footer__container__location iframe {
    border-radius: 12px;
    margin-right: 16px;
    margin-top: 12px;
  }
}
#banner {
  z-index: 500;
  position: relative;
  margin-top: 132px;
  width: 100%;
  background-color: lightgray;
  height: calc(min(100vw + 40px, 75vh) / 1.4);
  margin-bottom: 12vh;
}
#banner #main-logo img {
  width: 25vw;
  min-width: 100px;
  max-width: 160px;
}
#banner .banner__container {
  z-index: 510;
  position: relative;
  width: 100%;
  height: 100%;
}
#banner .banner__container * {
  color: #fff;
}
#banner .banner__container__banner {
  width: 100%;
  height: 100%;
  background-image: url(img/banner/public.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-attachment: fixed;
  filter: brightness(50%);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
#banner .banner__container__title {
  z-index: 550;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
}
#banner .banner__container__title * {
  font-size: 2.4rem;
}

@media screen and (max-width: 1124px) {
  #banner .banner__container__title * {
    font-size: 1.8rem;
  }
  #banner .banner__container__banner {
    background-attachment: unset;
  }
}
aside {
  height: 100%;
}
aside #sidebar {
  height: 100%;
}
aside #sidebar .sidebar__container {
  display: grid;
  align-items: center;
  min-width: 240px;
  min-height: 340px;
  border-radius: 24px;
  background-color: #fff;
  border: 2px solid rgba(211, 211, 211, 0.5);
  background-clip: padding-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  bottom: 100px;
  top: 100px;
  padding-top: 24px;
}
aside #sidebar .sidebar__container__ads {
  width: 100%;
  height: 100%;
  justify-items: center;
  align-items: center;
}
aside #sidebar .sidebar__container__ads__box {
  margin-bottom: 24px;
  padding: 0 24px;
}
aside #sidebar .sidebar__container__ads__box img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
}

@media (max-width: 1124px) {
  aside #sidebar .sidebar__container {
    min-height: unset;
    position: static;
    bottom: unset;
    top: unset;
  }
  aside #sidebar .sidebar__container__ads > * {
    display: none;
  }
  aside #sidebar .sidebar__container__ads > :nth-child(-n+2) {
    display: block;
  }
}
#main-single {
  background-color: #F9F9F9;
  padding: 0 8%;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 20px;
  margin-bottom: 80px;
}
#main-single .single__container {
  padding: 40px;
  width: 100%;
  padding-bottom: 88px;
  min-height: 480px;
  overflow-x: hidden;
  position: relative;
  border-radius: 24px;
  background-color: #fff;
  border: 2px solid rgba(211, 211, 211, 0.5);
  background-clip: padding-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#main-single .single__container img {
  border-radius: 12px;
  min-width: 280px;
  max-width: 100%;
}
#main-single .single__container__thumbnail {
  justify-items: center;
  width: 100%;
}
#main-single .single__container__thumbnail img {
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
}
#main-single .single__container__content {
  width: 100%;
  padding: 0 2%;
}
#main-single .single__container__content__title * {
  font-weight: bold;
  font-size: 1.6rem;
}
#main-single .single__container__content__post {
  text-align: justify;
  width: 100%;
  padding-right: 16px;
}
#main-single .single__container__content__post > * {
  max-width: 100%;
  line-height: 2.2rem;
  font-size: 1.2rem;
  margin: 24px 0;
}
#main-single .single__container__content__post a {
  color: rgb(197, 0, 61);
}
#main-single .single__container__content__post ul {
  list-style: disc;
  padding-right: 4rem;
}
#main-single .single__container__content__post .wp-block-button .wp-element-button {
  margin: 12px 4px;
}
#main-single .single__container__content__meta, #main-single .single__container__content__share {
  position: absolute;
  bottom: 24px;
}
#main-single .single__container__content__meta *, #main-single .single__container__content__share * {
  font-size: 1.2rem;
}
#main-single .single__container__content__meta {
  right: calc(48px + 4%);
}
#main-single .single__container__content__meta .release-date::before {
  font-size: 1rem;
}
#main-single .single__container__content__meta .post-id::before {
  content: " | کد مطلب:";
  margin-left: 3px;
}
#main-single .single__container__content__share {
  color: rgb(197, 0, 61);
  left: calc(48px + 2%);
}
#main-single .single__container__content__share::before {
  content: "اشتراک گذاری در";
  margin-left: 2px;
  font-size: 1.2rem;
  font-weight: bold;
}
#main-single .single__container__content__share #sharebox {
  display: inline-flex;
  flex-direction: row-reverse;
  transform: translateY(4px);
}
#main-single .single__container__content__share #sharebox:hover > * {
  filter: blur(2px);
}
#main-single .single__container__content__share #sharebox .sharebox-item {
  margin-left: 6px;
  transition: filter 250ms;
}
#main-single .single__container__content__share #sharebox .sharebox-item:hover {
  transition: scale 500ms;
  scale: 1.4;
  filter: unset;
}
#main-single .single__container__content__share #sharebox .sharebox-item svg {
  fill: rgb(197, 0, 61);
}

@media (max-width: 1124px) {
  #main-single {
    padding: 0 4%;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  #main-single .single__container {
    padding: 40px 16px 0 16px;
    padding-bottom: 100px;
  }
  #main-single .single__container__thumbnail img {
    margin-bottom: 40px;
  }
  #main-single .single__container__content__title * {
    font-size: 1.4rem;
  }
  #main-single .single__container__content__post > * {
    font-size: 1.1rem;
    margin: 18px 0;
  }
  #main-single .single__container__content__post ul {
    padding-right: 2rem;
  }
  #main-single .single__container__content__meta * {
    color: black !important;
    fill: black !important;
  }
  #main-single .single__container__content__meta {
    right: max(48px, 8%);
    bottom: 48px;
  }
  #main-single .single__container__content__meta * {
    font-size: 1rem;
  }
  #main-single .single__container__content__meta .release-date::before {
    font-size: 0.8rem;
    font-weight: bold;
  }
  #main-single .single__container__content__share {
    left: unset;
    right: max(48px, 8%);
    bottom: 20px;
  }
  #main-single .single__container__content__share::before {
    font-size: 1rem;
  }
  #main-single .single__container__content__share #sharebox .sharebox-item svg {
    width: 14px;
    height: 14px;
  }
}
#main-search {
  background-color: #F9F9F9;
  padding: 0 8%;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 20px;
  margin-bottom: 80px;
}
#main-search .search__container {
  padding: 40px;
  width: 100%;
  padding-bottom: 88px;
  min-height: 480px;
  overflow-x: hidden;
  position: relative;
  border-radius: 24px;
  background-color: #fff;
  border: 2px solid rgba(211, 211, 211, 0.5);
  background-clip: padding-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#main-search .search__container__searchbar {
  margin-right: 16px;
  margin-bottom: 52px;
}
#main-search .search__container__searchbar form {
  direction: ltr;
  text-align: left;
  width: 60%;
  height: 52px;
  position: relative;
  border-radius: 8px;
  border: 2px solid #000;
  overflow: hidden;
}
#main-search .search__container__searchbar form input {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: 0 auto;
  right: 1vw;
  left: 36px;
  background-color: transparent;
  font-size: 1.1rem;
}
#main-search .search__container__searchbar form svg {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  margin-left: 16px;
  transition: fill 250ms;
}
#main-search .search__container__searchbar form svg:hover {
  fill: rgb(197, 0, 61);
}
#main-search .search__container__ul {
  width: 90%;
}
#main-search .search__container__ul li .post-item {
  display: inline-flex;
  width: 100%;
}
#main-search .search__container__ul li .post-item__capture {
  width: 200px;
  height: 120px;
}
#main-search .search__container__ul li .post-item__capture img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  transition: 250ms ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#main-search .search__container__ul li .post-item__capture img:hover {
  opacity: 0.6;
  filter: grayscale(100%);
}
#main-search .search__container__ul li .post-item__content {
  margin-right: 20px;
  padding: 8px 0;
  display: grid;
  align-items: center;
}
#main-search .search__container__ul li .post-item__content__title {
  font-size: 1.2rem;
  line-height: 2rem;
  font-weight: bold;
  transition-duration: 250ms;
}
#main-search .search__container__ul li .post-item__content__title:hover {
  color: rgb(197, 0, 61);
}
#main-search .search__container__ul li .post-item__content__detail {
  font-size: 1.05rem;
  line-height: 1.8rem;
}
#main-search .search__container__ul li .post-item__content__detail::after {
  content: "...";
  font-weight: bold;
}
#main-search .search__container__ul li .post-item__content__date .release-date, #main-search .search__container__ul li .post-item__content__date .view-counter {
  font-size: 1rem;
  line-height: 2rem;
}
#main-search .search__container__ul li hr {
  width: 95%;
  margin-bottom: 32px;
  margin-top: 12px;
}
#main-search .search__container__ul li:last-child hr {
  margin-bottom: unset;
}

@media (max-width: 1124px) {
  #main-search {
    padding: 0 4%;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  #main-search .search__container {
    padding: 40px 16px 0 16px;
    padding-bottom: 100px;
  }
  #main-search .search__container__searchbar {
    padding: 0 6%;
    margin-right: unset;
  }
  #main-search .search__container__searchbar form {
    width: 100%;
    border-radius: 24px;
    height: 48px;
  }
  #main-search .search__container__searchbar input {
    right: 3vw !important;
  }
  #main-search .search__container__searchbar svg {
    margin-left: 12px;
  }
  #main-search .search__container__ul {
    width: 100%;
    padding: 0 8%;
    list-style-type: decimal;
    list-style-position: inside;
    font-weight: bold;
  }
  #main-search .search__container__ul .post-item__capture {
    display: none;
  }
  #main-search .search__container__ul .post-item__content {
    margin-right: unset;
    display: unset;
    padding: unset;
  }
  #main-search .search__container__ul .post-item__content__title {
    margin-bottom: 12px;
    line-height: 1.6rem;
  }
  #main-search .search__container__ul .post-item__content__detail {
    margin-bottom: 8px;
    font-weight: normal;
  }
  #main-search .search__container__ul .post-item__content__date {
    line-height: unset;
  }
  #main-search .search__container__ul hr {
    margin-bottom: 32px;
    margin-top: 8px;
  }
}
@media (max-width: 480px) {
  #main-search .search__container__searchbar input {
    font-size: 0.8rem !important;
  }
}