@font-face {
    font-family: Vazirmatn RD;
    src: url(docs/assets/webfonts/Vazirmatn-RD-Thin.woff2) format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Vazirmatn RD;
    src: url(docs/assets/webfonts/Vazirmatn-RD-ExtraLight.woff2) format("woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Vazirmatn RD;
    src: url(docs/assets/webfonts/Vazirmatn-RD-Light.woff2) format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Vazirmatn RD;
    src: url(docs/assets/webfonts/Vazirmatn-RD-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Vazirmatn RD;
    src: url(docs/assets/webfonts/Vazirmatn-RD-Medium.woff2) format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Vazirmatn RD;
    src: url(docs/assets/webfonts/Vazirmatn-RD-SemiBold.woff2) format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Vazirmatn RD;
    src: url(docs/assets/webfonts/Vazirmatn-RD-Bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Vazirmatn RD;
    src: url(docs/assets/webfonts/Vazirmatn-RD-ExtraBold.woff2) format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Vazirmatn RD;
    src: url(docs/assets/webfonts/Vazirmatn-RD-Black.woff2) format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap
}

img {
    border-radius: 12px;
}

.grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    align-items: center;
}

.my_text {
    font-weight: normal;
    font-size: small;
    padding: 0 10px;
    text-align: center;
}

h2.my_title {
    text-align: center;
    padding: 10px;
    margin: 0px !important;
}

.grid h3 {
    margin: 0px !important;
}

[data-md-color-scheme="default"] .post {
    display: flex;
    flex-direction: column;
    margin: 5px;
    padding: 0;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(240, 240, 240, 0.9), rgba(255, 255, 255, 0.9));
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(0, 150, 136, 0.3);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

[data-md-color-scheme="default"] .post:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0px 6px 15px rgba(0, 150, 136, 0.4);
    border-color: rgba(0, 150, 136, 0.7);
    transition: 0.5s;
}

[data-md-color-scheme="default"] .post .entry-header {
    padding: 0;
    text-align: center;
}

[data-md-color-scheme="default"] .post .entry-thumbnail img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    border-bottom: 2px solid rgba(0, 150, 136, 0.3);
}

[data-md-color-scheme="default"] .post .my_title {
    font-size: 24px;
    font-weight: bold;
    color: #009688;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px;
}

[data-md-color-scheme="default"] .post .my_text {
    font-size: 16px;
    color: #4a4a4a;
    padding: 10px;
    opacity: 0.9;
    margin: 0;
}

[data-md-color-scheme="default"] .post:active {
    transform: scale(0.98);
}

.post {
    display: flex;
    flex-direction: column;
    margin: 5px;
    padding: 0;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.9), rgba(10, 25, 47, 0.9));
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0px 4px 10px rgba(0, 255, 255, 0.1);
}

.post:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0px 6px 15px rgba(0, 255, 255, 0.4);
    border-color: rgba(100, 255, 218, 0.7);
    transition: 0.5s;
}

.post .entry-header {
    padding: 0;
    text-align: center;
}

.post .entry-thumbnail img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
    border-bottom: 2px solid rgba(100, 255, 218, 0.3);
}

.post .my_title {
    font-size: 24px;
    font-weight: bold;
    color: #64ffda;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px;
}

.post .my_text {
    font-size: 16px;
    color: #d1d5db;
    padding: 10px;
    opacity: 0.9;
    margin: 0;
}

.post:active {
    transform: scale(0.98);
}

.post img.logo {
    object-fit: contain !important;
    padding: 5px;
}

.md-nav__icon.md-icon {
    margin-right: auto;
}

.breadcrumb {
    display: flex !important;
    align-items: center;
    background: #ffffff17;
    flex-wrap: warp;
    padding: 0.4em;
    backdrop-filter: blur(8px);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: "Inter", sans-serif;
    margin: 1.4em 5vw !important;
}

.breadcrumb li {
    display: flex;
    flex: 1 0 auto;
    margin: 5px !important;
    align-items: center;
    font-size: 14px;
    max-width: fit-content;
    height: 100%;
    font-weight: 600;
    color: #555;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.breadcrumb li a {
    text-decoration: none;
    color: #007bff;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.breadcrumb li::after {
    content: "⟩";
    font-size: 16px;
    color: #777;
    margin-right: 10px;
}

.breadcrumb li:last-child {
    color: #222;
    font-weight: bold;
}

.breadcrumb li:last-child::after {
    content: "";
}


@media (min-width:600px) {
    .grid a {
        width: 30%;
    }
}

@media (max-width:600px) {
    .grid .post {
        width: 100%;
    }
}

@media print {
    .no-print {
        display: none !important;
    }
}