/*
Theme Name: EECLUB
Theme URI: https://eeclub.ir/
Author: Younes
Author URI: https://www.linkedin.com/in/younes-darabi-0951b3200
Version: 1.0
*/

@font-face {
    font-family: 'irs';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url('fonts/IRANSansWeb.eot');
    src: url('fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
        url('fonts/IRANSansWeb.woff') format('woff'),
        url('fonts/IRANSansWeb.ttf') format('truetype');
}

@font-face {
    font-family: 'irs';
    font-style: normal;
    font-weight: 700;
    font-display: auto;
    src: url('fonts/IRANSansWeb_Bold.eot');
    src: url('fonts/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/IRANSansWeb_Bold.woff') format('woff'),
        url('fonts/IRANSansWeb_Bold.ttf') format('truetype');
}

:root {
    --navy: #062b57;
    --blue: #073e79;
    --blue2: #0a568f;
    --gold: #d2a22c;
    --gold2: #e2b63f;
    --green: #18733e;
    --text: #14365e;
    --muted: #6f7f91;
    --border: #dce5ee;
    --bg: #f6f9fc;
    --white: #fff;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'irs', Tahoma, sans-serif;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit
}

select {
    color: #000;
    background: #fff;
}

select option {
    color: #000;
    background: #fff;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: auto
}

.bg-placeholder {
    background:
        radial-gradient(circle at 20% 25%, rgba(255, 255, 255, .9), transparent 25%),
        linear-gradient(135deg, #dceaf5 0%, #b9d0e2 48%, #e9f1f6 100%);
    background-size: cover;
    background-position: center;
}

/* Header */
.site-header {
    background: #fff
}

.topbar {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right
}
.brand-mark img {
  width: 100%;
}
.brand strong {
    display: block;
    font-size: 18px;
    color: #17643d;
    font-weight: 900
}

.brand small {
    display: block;
    color: #1d4771;
    font-size: 9px;
    line-height: 1.5
}

.brand-mark {
    width: 74px;
    height: 48px;
    /* border: 3px solid var(--blue); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 900;
    background: #fff;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr
}

.lang {
    font-size: 11px;
    color: #34516e;
    margin-right: 5px
}

.top-btn {
    padding: 8px 14px;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 700
}

.top-btn.gold {
    background: #c99c29
}

.top-btn.navy {
    background: var(--navy)
}

.search-box {
    width: 195px;
    height: 36px;
    border: 1px solid #d4dde7;
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #8b9aaa
}

.search-box input {
    border: 0;
    outline: 0;
    width: 100%;
    font-family: inherit;
    font-size: 11px;
    background: transparent;
    direction: rtl;
}

.main-nav {
    background: var(--navy);
    height: 40px;
    color: #fff
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0
}

.nav-inner>a {
    padding: 11px 19px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap
}

.nav-inner>a:hover {
    background: rgba(255, 255, 255, .1)
}

.home-link {
    background: #fff !important;
    color: var(--navy) !important;
    border-radius: 0 0 7px 7px
}

.president-link {
    background: #d5a52e !important;
    color: #172d4b !important;
    border-radius: 6px;
    margin-right: auto
}

/* Hero */
.hero {
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background: #dcebf5
}

.hero-bg {
    position: absolute;
    inset: 0
}

.hero-content {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center
}

.hero-copy {
    width: 62%;
    text-align: center;
    margin-right: auto
}

.hero h1 {
    font-size: 37px;
    line-height: 1.3;
    margin: 0 0 3px;
    color: #073d78;
    font-weight: 900
}

.hero-keywords {
    font-size: 19px;
    font-weight: 800;
    color: #1d7545
}

.hero-keywords span {
    color: #b6922e;
    padding: 0 10px
}

.hero p {
    font-size: 14px;
    line-height: 2;
    margin: 5px 0 9px;
    font-weight: 600
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 24px;
    font-weight: 800;
    transition: .2s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-blue {
    background: #075194;
    color: #fff
}

.btn-gold {
    background: #d7a62d;
    color: #182d4d
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 720px;
    margin: 10px auto 0;
    border-top: 1px solid rgba(4, 50, 95, .15)
}

.hero-features div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 4px;
    border-left: 1px solid rgba(4, 50, 95, .13);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5
}

.hero-features div:last-child {
    border-left: 0
}

.hero-features i {
    font-size: 23px;
    color: var(--navy)
}

/* Cards */
.card,
.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(20, 54, 94, .08)
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.03fr;
    gap: 10px;
    margin-top: 10px
}

.dashboard {
    padding: 10px
}

.section-title {
    text-align: center
}

.section-title span {
    display: block;
    font-size: 23px;
    font-weight: 900;
    color: var(--blue)
}

.section-title i {
    display: block;
    width: 65px;
    height: 2px;
    background: var(--gold);
    margin: 3px auto
}

.section-title small {
    display: block;
    color: var(--green);
    font-weight: 800
}

.center-text {
    margin: 4px 0;
    color: #50667c
}

.question-pill {
    background: #edf4f9;
    border-radius: 25px;
    padding: 7px;
    text-align: center;
    width: 250px;
    margin: 5px auto;
    font-weight: 700
}

.dashboard-items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    margin-top: 7px
}

.dashboard-items a {
    min-height: 72px;
    border: 1px solid #e1e8ef;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700
}

.dashboard-items i {
    font-size: 19px;
    color: var(--blue)
}

.message-card {
    min-height: 196px;
    position: relative;
    overflow: hidden
}

.message-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, .96) 10%, rgba(255, 255, 255, .65) 57%, rgba(255, 255, 255, .08));
    padding: 20px 30px;
    text-align: right
}

.eyebrow {
    font-size: 14px;
    font-weight: 800
}

.message-overlay h2 {
    font-size: 25px;
    color: #14713e;
    margin: 2px 0 8px
}

.message-overlay p {
    max-width: 380px;
    line-height: 2;
    font-weight: 600
}

.outline-btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--navy);
    padding: 6px 17px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800
}

/* Section heading */
section.container {
    margin-top: 11px
}

.section-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-bottom: 6px
}

.section-heading h2 {
    margin: 0;
    font-size: 18px;
    color: var(--blue);
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 13px
}

.section-heading h2:before,
.section-heading h2:after {
    content: "";
    width: 55px;
    height: 2px;
    background: var(--gold)
}

.view-all {
    position: absolute;
    right: 0;
    border: 1px solid #829bb2;
    border-radius: 20px;
    padding: 4px 11px;
    font-size: 10px;
    font-weight: 700;
    background: #fff
}

/* Axes */
.axes-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px
}

.axes-grid a {
    min-height: 73px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(20, 54, 94, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    padding: 5px
}

.axes-grid i {
    font-size: 22px;
    color: var(--blue)
}

.axes-grid a:first-child i,
.axes-grid a:nth-child(6) i {
    color: #bd8a18
}

/* Countries */
.countries {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px
}

.country-card {
    height: 91px;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    border: 1px solid #d8e1e9;
    display: flex;
    align-items: flex-end;
    padding: 7px;
    background-color: #d8e5ee
}

.country-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, rgba(5, 40, 75, .7))
}

.country-card b {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 10px
}

.country-card span {
    position: absolute;
    z-index: 3;
    left: 5px;
    bottom: 5px;
    background: #fff;
    color: var(--navy);
    border-radius: 50%;
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    font-weight: 900
}

/* Three columns */
.three-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px
}

.content-card {
    padding: 9px
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6edf3;
    padding-bottom: 6px;
    margin-bottom: 5px
}

.card-head h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 900
}

.card-head>a {
    font-size: 9px;
    border: 1px solid #8aa0b5;
    border-radius: 15px;
    padding: 3px 7px
}

.list-row,
.event-row {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 30px;
    border: 1px solid #e6edf3;
    border-radius: 5px;
    margin: 4px 0;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 700;
    background: #fbfdff
}

.list-row i {
    color: #b28a25;
    width: 18px;
    text-align: center
}

.event-row {
    display: grid;
    grid-template-columns: 45px 1fr 50px
}

.event-row strong {
    color: #0c508b
}

.event-row small {
    color: #66809b
}

/* Articles */
.articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px
}

.article-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 6px;
    min-height: 78px
}

.article-image {
    border-radius: 5px;
    min-height: 65px
}

.article-card h3 {
    font-size: 11px;
    margin: 4px 0;
    line-height: 1.7
}

.article-type {
    font-size: 9px;
    font-weight: 800;
    color: var(--blue)
}

.article-card small {
    font-size: 8px;
    color: #8797a6
}

/* CTA */
.join-banner {
    margin-top: 12px;
    background: linear-gradient(90deg, #06284e, #0d4d85, #06284e);
    color: #fff
}

.join-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 20px
}

.join-avatar {
    width: 85px;
    height: 75px;
    border-radius: 50%;
    flex: none
}

.join-inner>div:nth-child(2) {
    flex: 1
}

.join-inner h2 {
    font-size: 22px;
    margin: 0 0 2px
}

.join-inner p {
    margin: 0;
    font-size: 11px
}

.join-inner .btn {
    flex: none
}

/* Footer */
footer {
    background: #fff
}

.footer-main {
    min-height: 155px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 25px;
    padding: 25px 0
}

.footer-main h4 {
    font-size: 12px;
    margin: 0 0 8px
}

.footer-main>a,
.footer-main>div>a,
.footer-main span {
    display: block;
    font-size: 10px;
    color: #64768a;
    margin: 5px 0
}

.footer-main span i {
    width: 20px;
    color: var(--blue)
}

.socials {
    display: flex;
    gap: 9px;
    margin-top: 8px
}

.socials a {
    font-size: 16px !important
}

.copyright {
    background: var(--navy);
    color: #fff;
    text-align: center;
    font-size: 9px;
    padding: 8px
}

/* Mobile */
@media(max-width:900px) {
    .topbar {
        height: auto;
        padding: 10px 0;
        flex-direction: column-reverse
    }

    .topbar-left {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap
    }

    .brand {
        justify-content: center
    }

    .main-nav {
        height: auto;
        overflow-x: auto
    }

    .nav-inner {
        width: max-content;
        margin: 0 auto
    }

    .nav-inner>a {
        padding: 11px 13px
    }

    .hero {
        min-height: 120px
    }

    .hero-content {
        min-height: 390px
    }

    .hero-copy {
        width: 100%;
        padding: 25px 10px
    }

    .hero h1 {
        font-size: 29px
    }

    .hero-keywords {
        font-size: 16px
    }

    .hero p {
        font-size: 12px
    }

    .intro-grid {
        grid-template-columns: 1fr
    }

    .axes-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .countries {
        grid-template-columns: repeat(4, 1fr)
    }

    .three-columns {
        grid-template-columns: 1fr
    }

    .articles {
        grid-template-columns: 1fr
    }

    .footer-main {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .container {
        width: min(100% - 18px, 1180px)
    }

    .search-box {
        width: 100%
    }

    .topbar-left {
        gap: 5px
    }

    .top-btn {
        padding: 7px 10px
    }

    .hero-actions {
        flex-direction: column;
        max-width: 250px;
        margin: auto
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr)
    }

    .dashboard-items {
        grid-template-columns: repeat(3, 1fr)
    }

    .section-heading {
        justify-content: flex-start;
        padding-right: 0
    }

    .section-heading h2 {
        font-size: 15px
    }

    .section-heading h2:before {
        display: none
    }

    .view-all {
        position: static;
        margin-left: auto;
        order: 2
    }

    .axes-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .countries {
        grid-template-columns: repeat(2, 1fr)
    }

    .article-card {
        grid-template-columns: 100px 1fr
    }

    .join-inner {
        padding: 15px 0;
        flex-wrap: wrap
    }

    .join-inner>div:nth-child(2) {
        min-width: calc(100% - 105px)
    }

    .join-inner .btn {
        width: 100%
    }

    .footer-main {
        grid-template-columns: 1fr
    }
}

.bg-placeholder img {
    width: 100%;
    height: auto;
}

.post-content-box .description {
    padding: 10px;
    text-align: justify;
    line-height: 33px;
    background: var(--border);
    border-radius: 14px;
    margin-bottom: 14px;
}

.gform-theme--framework .gf_step_label {
    font-size: 13px !important;
}

.gform-theme--foundation .gf_page_steps {
    margin-bottom: 17px;
}

.gform-theme--foundation .gform_fields {
    row-gap: 10px;
}

.ginput_container.ginput_container_website input {
    direction: ltr;
}

.ys-skill-list-select .gfield_list_group,
.ys-country-list-select .gfield_list_group {
    display: grid;
    grid-template-columns: 1fr 1fr 40px;
    gap: 10px;
    align-items: center;
}

.ys-skill-list-select-input,
.ys-country-list-select-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d7dce2;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
}

.ys-skill-list-select-input:focus,
.ys-country-list-select-input:focus {
    border-color: #2271b1;
    outline: none;
}

.ys-skill-list-select .gfield_list_header,
.ys-country-list-select .gfield_list_header {
    display: grid;
    grid-template-columns: 1fr 1fr 40px;
    gap: 10px;
}

.gfield_choice_limit_message.gfield_description {
    display: none;
}

.message-card.bg-placeholder img {
    width: auto;
    position: absolute;
    left: 0;
    height: 100%;
}

.country-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.country-card span img {
    border-radius: 50px;
}

@media screen and (max-width:600px) {
    .gform-theme--foundation .gf_page_steps>* {
        display: none;
    }

    .gform-theme--foundation .gf_page_steps>.gf_step.gf_step_active {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .gfield_list_group.gform-grid-row .gfield_list_group_item.gfield_list_cell {
        width: 47%;
        margin: 0;
    }

    .gfield_list_group.gform-grid-row .gfield_list_icons.gform-grid-col {
        justify-content: center;
    }

    .gform-page-footer.gform_page_footer.top_label {
        justify-content: center;
    }

    .ys-skill-list-select .gfield_list_group,
    .ys-country-list-select .gfield_list_group {
        grid-template-columns: 1fr;
		display: flex;
    }

    .ys-skill-list-select .gfield_list_header,
    .ys-country-list-select .gfield_list_header {
        display: none;
    }

    #field_1_43 .gfield_list_group_item.gfield_list_cell {
        width: 100%;
    }
}