/*
Theme Name: FCA Academy
Theme URI: https://fca.org.tr/
Author: Codex
Description: Financial Crime Academy için WordPress tarafından yönetilen modern eğitim ve sertifika teması.
Version: 1.0.0
Text Domain: fca-academy
*/

:root {
    --fca-bg: #ffffff;
    --fca-ink: #10151f;
    --fca-muted: #5d6878;
    --fca-line: #dfe5ee;
    --fca-dark: #07101a;
    --fca-red: #d51f29;
    --fca-blue: #0c57ad;
    --fca-soft: #f4f7fb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--fca-bg);
    color: var(--fca-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

img {
    max-width: 100%;
}

.fca-site {
    overflow: hidden;
}

.fca-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: var(--fca-dark);
    color: #fff;
}

.fca-hero__image,
.fca-hero__shade {
    position: absolute;
    inset: 0;
}

.fca-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .74;
}

.fca-hero__shade {
    background: linear-gradient(90deg, #07101a 0%, rgba(7, 16, 26, .88) 34%, rgba(7, 16, 26, .42) 72%, rgba(7, 16, 26, .78) 100%);
}

.fca-header,
.fca-hero__content,
.fca-metrics,
.fca-section,
.fca-cta,
.fca-footer__inner,
.fca-footer__bottom,
.fca-page__header,
.fca-page__article {
    width: min(100% - 40px, 1240px);
    margin-inline: auto;
}

.fca-header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-top: 24px;
}

.fca-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.fca-brand--page {
    color: var(--fca-ink);
}

.fca-brand__mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.fca-brand__mark span,
.fca-footer__brand span {
    color: var(--fca-red);
}

.fca-brand__name {
    max-width: 130px;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.24;
    letter-spacing: .16em;
    text-transform: none;
}

.fca-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .84);
    font-size: 14px;
    font-weight: 600;
}

.fca-header--light .fca-nav {
    color: var(--fca-ink);
}

.fca-nav a:hover {
    color: #fff;
}

.fca-header--light .fca-nav a:hover {
    color: var(--fca-blue);
}

.fca-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0 28px;
    font-size: 14px;
    font-weight: 750;
    transition: .2s ease;
}

.fca-button--red {
    background: var(--fca-red);
    color: #fff;
    box-shadow: 0 16px 36px rgba(213, 31, 41, .3);
}

.fca-button--red:hover {
    background: #bd1620;
}

.fca-button--ghost {
    border: 1px solid rgba(255, 255, 255, .46);
    color: #fff;
}

.fca-button--ghost:hover {
    background: rgba(255, 255, 255, .1);
}

.fca-button--blue {
    background: var(--fca-blue);
    color: #fff;
    box-shadow: 0 16px 36px rgba(12, 87, 173, .24);
}

.fca-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 126px;
}

.fca-hero h1 {
    max-width: 650px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 8vw, 104px);
    font-weight: 700;
    line-height: .96;
    letter-spacing: 0;
}

.fca-hero p {
    max-width: 620px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 20px;
    line-height: 1.7;
}

.fca-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.fca-metrics {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 58px;
    padding-bottom: 44px;
}

.fca-metrics div {
    border-top: 1px solid rgba(255, 255, 255, .24);
    padding-top: 18px;
}

.fca-metrics dt {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.fca-metrics dd {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.fca-section {
    padding-block: 74px;
}

.fca-section--light {
    width: 100%;
    max-width: none;
    padding-inline: max(20px, calc((100vw - 1240px) / 2));
    background: var(--fca-soft);
}

.fca-section--dark {
    width: 100%;
    max-width: none;
    padding-inline: max(20px, calc((100vw - 1240px) / 2));
    background: var(--fca-dark);
    color: #fff;
}

.fca-section__heading {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.fca-section__heading--spaced {
    margin-top: 64px;
}

.fca-section__heading h2,
.fca-split h2,
.fca-cta h2,
.fca-feature-card h2,
.fca-page__article h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: 0;
}

.fca-section__heading p,
.fca-split p,
.fca-feature-card p,
.fca-resource-grid p,
.fca-cta p {
    color: var(--fca-muted);
    font-size: 16px;
    line-height: 1.72;
}

.fca-section--dark .fca-split p,
.fca-section--dark .fca-panel p,
.fca-section--dark .fca-panel li {
    color: rgba(255, 255, 255, .72);
}

.fca-topic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.fca-topic-card,
.fca-feature-card,
.fca-resource-grid article,
.fca-panel,
.fca-post-card,
.fca-page-context section {
    border: 1px solid var(--fca-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(16, 21, 31, .055);
}

.fca-topic-card {
    padding: 26px;
    text-align: center;
}

.fca-topic-card__icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-inline: auto;
    place-items: center;
    color: var(--fca-blue);
}

.fca-topic-card__icon::before {
    width: 34px;
    height: 34px;
    border: 3px solid currentColor;
    border-radius: 10px;
    content: "";
    transform: rotate(45deg);
}

.fca-topic-card h3,
.fca-resource-grid h3,
.fca-panel h3,
.fca-post-card h2,
.fca-page-context h2 {
    margin: 16px 0 0;
    color: #13243a;
    font-size: 21px;
    line-height: 1.18;
}

.fca-topic-card p {
    margin: 12px 0 0;
    color: #687282;
    font-size: 14px;
    line-height: 1.65;
}

.fca-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.fca-feature-card {
    padding: 28px;
}

.fca-feature-card--wide {
    max-width: 760px;
    margin: 38px auto 0;
}

.fca-feature-card h2 {
    font-size: 31px;
}

.fca-feature-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--fca-blue);
    font-weight: 800;
}

.fca-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
}

.fca-course-card {
    overflow: hidden;
    border: 1px solid var(--fca-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(16, 21, 31, .06);
}

.fca-course-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #07101a, #123f73);
}

.fca-course-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fca-course-card__media--empty::after {
    display: grid;
    height: 100%;
    place-items: center;
    color: rgba(255, 255, 255, .76);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 700;
    content: "FCA";
}

.fca-course-card__body {
    padding: 24px;
}

.fca-course-card h3 {
    margin: 0;
    color: #13243a;
    font-size: 22px;
    line-height: 1.22;
}

.fca-course-card p {
    color: #687282;
    font-size: 14px;
    line-height: 1.65;
}

.fca-course-card a:last-child {
    display: inline-flex;
    margin-top: 8px;
    color: var(--fca-blue);
    font-weight: 800;
}

.fca-split {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 46px;
    align-items: center;
}

.fca-panel {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .045);
    padding: 34px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .25);
}

.fca-panel h3 {
    margin-top: 0;
    color: #fff;
}

.fca-panel ul {
    margin: 22px 0 0;
    padding-left: 20px;
}

.fca-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.fca-resource-grid article {
    padding: 28px;
}

.fca-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-block: 74px;
    border-radius: 8px;
    background: #061020;
    padding: 34px 40px;
    color: #fff;
}

.fca-cta p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .72);
}

.fca-footer {
    background: var(--fca-dark);
    color: #fff;
    padding: 46px 0 24px;
}

.fca-footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 42px;
}

.fca-footer__brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 700;
}

.fca-footer p,
.fca-footer a,
.fca-footer__bottom {
    color: rgba(255, 255, 255, .62);
}

.fca-footer nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.fca-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 20px;
    font-size: 13px;
}

.fca-page {
    min-height: 70vh;
    background: var(--fca-soft);
}

.fca-inner-hero {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: var(--fca-dark);
    color: #fff;
}

.fca-inner-hero__image,
.fca-inner-hero__shade {
    position: absolute;
    inset: 0;
}

.fca-inner-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .38;
}

.fca-inner-hero__shade {
    background: linear-gradient(90deg, #07101a 0%, rgba(7, 16, 26, .92) 48%, rgba(7, 16, 26, .64) 100%);
}

.fca-inner-hero__content {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 1240px);
    margin: 92px auto 0;
    padding-bottom: 70px;
}

.fca-inner-hero__label {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: none;
}

.fca-inner-hero h1 {
    max-width: 860px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1;
    letter-spacing: 0;
}

.fca-inner-hero__content > p:not(.fca-inner-hero__label) {
    max-width: 820px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.68;
}

.fca-page__article {
    border-radius: 8px;
    background: #fff;
    padding: clamp(28px, 5vw, 60px);
    box-shadow: 0 22px 60px rgba(16, 21, 31, .08);
}

.fca-page__article--raised {
    margin-top: -40px;
    position: relative;
    z-index: 4;
}

.fca-page__content {
    color: #263241;
    line-height: 1.75;
}

.fca-page__content > :first-child {
    margin-top: 0;
}

.fca-page__content a {
    color: var(--fca-blue);
    font-weight: 700;
}

.fca-page__content h1,
.fca-page__content h2,
.fca-page__content h3,
.fca-page__content h4 {
    margin: 1.25em 0 .55em;
    color: #10243d;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0;
    line-height: 1.1;
}

.fca-page__content h2 {
    font-size: clamp(30px, 3vw, 44px);
}

.fca-page__content h3 {
    font-size: clamp(23px, 2vw, 30px);
}

.fca-page__content p,
.fca-page__content li {
    color: #415065;
    font-size: 16px;
    line-height: 1.75;
}

.fca-page__content .wp-block-button__link,
.fca-page__content .wp-element-button,
.fca-page__content button,
.fca-page__content input[type="submit"] {
    border: 0;
    border-radius: 6px !important;
    background: var(--fca-red) !important;
    color: #fff !important;
    box-shadow: 0 14px 32px rgba(213, 31, 41, .2);
    font-weight: 800;
}

.fca-page__content .wp-block-group,
.fca-page__content .wp-block-columns {
    gap: 24px;
}

.fca-page__content .nfd-container,
.fca-page__content .wp-block-cover,
.fca-page__content .wp-block-group.has-background,
.fca-page__content .nfd-bg-surface {
    border-radius: 8px;
}

.fca-page__content .nfd-theme-dark,
.fca-page__content .nfd-theme-darker,
.fca-page__content .is-style-nfd-theme-dark,
.fca-page__content .is-style-nfd-theme-darker {
    background-color: var(--fca-dark) !important;
    color: #fff;
}

.fca-page__content .nfd-text-primary,
.fca-page__content .has-text-color {
    color: var(--fca-blue);
}

.fca-page__content img {
    border-radius: 8px;
}

.fca-page-context {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
    border-top: 1px solid var(--fca-line);
    padding-top: 34px;
}

.fca-page-context section {
    padding: 24px;
}

.fca-page-context h2 {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.fca-page-context p {
    margin: 12px 0 0;
    color: #627084;
    font-size: 14px;
    line-height: 1.68;
}

.fca-page__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    color: #667080;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: none;
}

.fca-page__meta span {
    border: 1px solid var(--fca-line);
    border-radius: 999px;
    padding: 7px 12px;
}

.fca-post-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.fca-post-card {
    padding: 26px;
}

.fca-post-card h2 {
    margin-top: 0;
}

.fca-post-card__link {
    display: inline-flex;
    margin-top: 12px;
    color: var(--fca-blue);
    font-weight: 800;
}

@media (max-width: 980px) {
    .fca-header,
    .fca-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .fca-header__nav {
        display: none;
    }

    .fca-hero {
        min-height: 820px;
    }

    .fca-topic-grid,
    .fca-feature-grid,
    .fca-course-grid,
    .fca-resource-grid,
    .fca-page-context {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fca-split,
    .fca-footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .fca-header,
    .fca-hero__content,
    .fca-metrics,
    .fca-section,
    .fca-cta,
    .fca-footer__inner,
    .fca-footer__bottom,
    .fca-inner-hero__content,
    .fca-page__article {
        width: min(100% - 32px, 1240px);
    }

    .fca-brand__name {
        display: none;
    }

    .fca-inner-hero {
        min-height: 390px;
    }

    .fca-inner-hero__content {
        margin-top: 72px;
        padding-bottom: 64px;
    }

    .fca-hero h1 {
        font-size: 54px;
    }

    .fca-hero p {
        font-size: 17px;
    }

    .fca-actions,
    .fca-actions .fca-button,
    .fca-header > .fca-button,
    .fca-cta .fca-button {
        width: 100%;
    }

    .fca-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 38px;
    }

    .fca-topic-grid,
    .fca-feature-grid,
    .fca-course-grid,
    .fca-resource-grid,
    .fca-page-context,
    .fca-footer nav {
        grid-template-columns: 1fr;
    }

    .fca-footer__bottom {
        flex-direction: column;
    }
}
