:root {
    --radman-orange: #ff8a00;
    --radman-dark: #1c232c;
    --radman-ink: #212121;
    --radman-muted: #6b7280;
    --radman-card: #ffffff;
    --radman-glass: rgba(255, 255, 255, .14);
    --radman-glass-dark: rgba(16, 20, 26, .38);
    --radman-radius: 16px;
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/IRANSans/woff2/IRANSansWeb.woff2') format('woff2');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/IRANSans/woff2/IRANSansWeb_Bold.woff2') format('woff2');
}

html {
    scroll-behavior: smooth;
}

.radman-hero,
.radman-page-header {
    position: relative;
}

.radman-hero::after,
.radman-page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 20, 26, .18) 0%, rgba(16, 20, 26, .55) 100%);
    pointer-events: none;
}

.radman-hero > *,
.radman-page-header > * {
    position: relative;
    z-index: 1;
}

.radman-navbar {
    position: relative;
    z-index: 2;
    padding-top: .85rem;
    padding-bottom: .85rem;
    background: linear-gradient(180deg, rgba(12, 16, 22, .45) 0%, rgba(12, 16, 22, .12) 100%) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.radman-navbar .nav-link {
    letter-spacing: .02em;
    font-weight: 500;
}

.radman-navbar .navbar-logo {
    max-height: 48px;
    width: auto;
}

.radman-navbar .dropdown-menu {
    background: rgba(20, 24, 31, .72);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    overflow: hidden;
}

/* site-rtl.css ships a #radman-sanat-main-navbar .dropdown .dropdown-item rule (dark grey text,
   for a light dropdown) whose ID selector outranks a plain class rule here — on our dark glass
   dropdown that made the text unreadable. Match its specificity (and add !important, since one
   of its sibling rules also uses !important) so the light color actually wins. */
#radman-sanat-main-navbar .dropdown-menu .dropdown-item,
#radman-sanat-main-navbar .dropdown .dropdown-item {
    color: #fff !important;
}

#radman-sanat-main-navbar .dropdown-menu .dropdown-item:hover,
#radman-sanat-main-navbar .dropdown-menu .dropdown-item:focus,
#radman-sanat-main-navbar .dropdown .dropdown-item:hover,
#radman-sanat-main-navbar .dropdown .dropdown-item:focus {
    background: rgba(255, 138, 0, .18);
    color: var(--radman-orange) !important;
}

.hero-kicker {
    color: var(--radman-orange);
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.slider-card {
    background: var(--radman-glass-dark);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radman-radius);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.radman-glass-title {
    background: var(--radman-glass-dark);
    border-radius: var(--radman-radius);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.radman-glass-title {
    padding: 1.35rem 1.6rem;
    display: inline-block;
    max-width: 100%;
}

.radman-glass-title .title {
    margin-bottom: .35rem;
}

.radman-lift-card {
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(28, 35, 44, .08);
    border-radius: var(--radman-radius);
    overflow: hidden;
}

.radman-lift-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(28, 35, 44, .16);
    background: rgba(255, 255, 255, .88);
}

.bg-dark .radman-lift-card,
#about-radman-sanat-container .radman-lift-card {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.radman-post-card .card-title a {
    color: var(--radman-ink);
    text-decoration: none;
}

.radman-post-card .card-title a:hover {
    color: var(--radman-orange);
}

.radman-post-cover {
    display: block;
    overflow: hidden;
    background: transparent;
}

.radman-post-cover img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform .35s ease;
}

.radman-post-card:hover .radman-post-cover img {
    transform: scale(1.04);
}

.radman-rounded {
    border-radius: var(--radman-radius);
}

.radman-article,
.radman-panel,
.post-container.bg-white {
    background: rgba(255, 255, 255, .78) !important;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: var(--radman-radius);
    box-shadow: 0 10px 30px rgba(28, 35, 44, .08);
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pages .main,
.pages .contact-us {
    position: relative;
}

.radman-contact-line {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .85rem;
}

.radman-contact-line i {
    color: var(--radman-orange);
    width: 1.2rem;
}

.radman-cta {
    background: linear-gradient(135deg, rgba(39, 46, 55, .82) 0%, rgba(28, 35, 44, .78) 55%, rgba(255, 138, 0, .55) 160%);
    backdrop-filter: blur(8px);
}

.radman-footer {
    background: rgba(16, 20, 26, .88) !important;
    border-top: 3px solid var(--radman-orange);
    backdrop-filter: blur(10px);
}

.radman-footer a {
    color: #fff;
}

.radman-footer a:hover {
    color: var(--radman-orange);
}

.radman-footer .text-body {
    color: rgba(255, 255, 255, .65) !important;
    font-size: .8rem;
}

.site-ads-list a {
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
}

.site-ads-list a:hover {
    color: var(--radman-orange);
}

.site-ads-list .list-inline-item:not(:last-child)::after {
    content: '·';
    margin: 0 .6rem;
    color: rgba(255, 255, 255, .35);
}

/* Small, brand-colored link with an underline that animates in on hover. */
.text-primary-hover:hover {
    color: var(--radman-orange) !important;
}

.hover-underline-animation {
    position: relative;
    display: inline-block;
}

.hover-underline-animation::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: inset-inline-end;
    transition: transform .3s ease-out;
}

.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: inset-inline-start;
}

.radman-tag {
    margin: 0 .25rem .25rem 0;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .55);
}

.captcha-svg svg {
    max-width: 180px;
    height: auto;
}

.contact-form .form-control {
    min-height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .7);
}

.contact-form textarea.form-control {
    min-height: 140px;
}

.opstmap-wrapper {
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
}

.radman-price-card {
    border-radius: var(--radman-radius);
    border: 1px solid rgba(28, 35, 44, .08);
    color: inherit;
}
.radman-price-table-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(28, 35, 44, .08);
}
.radman-price-table thead th {
    background: #f4f6f8;
    font-size: .85rem;
}
.radman-price-group th {
    background: var(--radman-dark);
    color: #fff;
}

@media (max-width: 767.98px) {
    .radman-article,
    .radman-panel,
    .post-container.bg-white {
        padding: 1.25rem;
    }

    .radman-post-cover img {
        height: 180px;
    }

    .radman-navbar {
        background: rgba(12, 16, 22, .55) !important;
    }
}
