/* =========================================================
   EXPERT TALKS PAGE
========================================================= */


/* =========================================================
   PAGE WRAPPER
========================================================= */

.expert-talks-page {
    width: 100%;
    background: #ffffff;
    color: #111111;
}


/* =========================================================
   PAGE LOADER
========================================================= */

#expert-talks-loader {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    opacity: 1;
    visibility: visible;

    transition:
        opacity .5s ease,
        visibility .5s ease;
}


#expert-talks-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* =========================================================
   LOADER BOX
========================================================= */

.expert-loader-box {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   LOADER RING
========================================================= */

.expert-loader-ring {
    width: 55px;
    height: 55px;

    border: 4px solid #e5e7eb;

    border-top-color: #06b6d4;
    border-right-color: #06b6d4;

    border-radius: 50%;

    animation:
        expert-loader-spin .9s linear infinite;
}


@keyframes expert-loader-spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   LOADER TEXT
========================================================= */

.expert-loader-text {
    margin-top: 16px;

    color: #111111;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* =========================================================
   LOADER LINE
========================================================= */

.expert-loader-line {
    width: 100px;
    height: 3px;

    margin-top: 10px;

    overflow: hidden;

    border-radius: 10px;

    background: #e5e7eb;
}


.expert-loader-line span {
    display: block;

    width: 35%;
    height: 100%;

    border-radius: 10px;

    background: #06b6d4;

    animation:
        expert-loader-progress 1.1s ease-in-out infinite;
}


@keyframes expert-loader-progress {

    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(140%);
    }

    100% {
        transform: translateX(300%);
    }

}


/* =========================================================
   MAIN WRAPPER
========================================================= */

.expert-talks-wrapper {
    width: 100%;

    max-width: 1150px;

    margin: 0 auto;

    padding: 45px 18px 70px;
}


/* =========================================================
   HEADER
========================================================= */

.expert-talks-header {
    text-align: center;

    margin-bottom: 65px;
}


.expert-talks-header h1 {
    margin: 0;

    font-size: 38px;

    font-weight: 800;

    letter-spacing: -1px;

    line-height: 1.2;
}


.expert-talks-header h1 span {
    color: #06b6d4;
}


.expert-talks-header p {
    max-width: 760px;

    margin: 14px auto 0;

    color: #6b7280;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   SECTION
========================================================= */

.expert-section {
    margin-bottom: 65px;
}


.expert-section:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.expert-section-heading {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 25px;
}


.expert-section-number {
    min-width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #06b6d4;

    color: #ffffff;

    border-radius: 11px;

    font-size: 14px;

    font-weight: 800;
}


.expert-section-heading h2 {
    margin: 0;

    color: #111111;

    font-size: 23px;

    font-weight: 700;

    line-height: 1.35;
}


.expert-heading-line {
    flex: 1;

    height: 1px;

    background: #e5e7eb;
}


/* =========================================================
   TWO COLUMN GRID
========================================================= */

.expert-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   NORMAL CARD
========================================================= */

.expert-card {
    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 17px;

    overflow: hidden;

    box-shadow:
        0 5px 22px rgba(0, 0, 0, .045);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.expert-card:hover {
    transform: translateY(-5px);

    border-color: #06b6d4;

    box-shadow:
        0 16px 35px rgba(0, 0, 0, .09);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.expert-image {
    height: 185px;

    position: relative;

    background-size: cover;

    background-position: center;
}


.expert-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .02),
            rgba(0, 0, 0, .72)
        );
}


/* =========================================================
   YEAR BADGE
========================================================= */

.expert-year {
    position: absolute;

    z-index: 2;

    top: 14px;
    right: 14px;

    padding: 6px 11px;

    background:
        rgba(255, 255, 255, .95);

    color: #111111;

    border-radius: 20px;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   EVENT TYPE
========================================================= */

.expert-type {
    position: absolute;

    z-index: 2;

    bottom: 15px;
    left: 18px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .8px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.expert-card-content {
    padding: 21px;
}


.expert-card-title {
    margin-bottom: 9px;

    color: #111111;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.45;
}


.expert-card-text {
    color: #555b63;

    font-size: 14px;

    line-height: 1.7;
}


.expert-card-text strong {
    color: #20242a;
}


/* =========================================================
   EVENT LINK
========================================================= */

.expert-link {
    display: inline-block;

    margin-top: 14px;

    color: #06b6d4;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;
}


.expert-link:hover {
    color: #0284c7;

    text-decoration: underline;
}


/* =========================================================
   FULL WIDTH HORIZONTAL CARD
========================================================= */

.expert-horizontal-card {
    grid-column: 1 / -1;

    display: grid;

    grid-template-columns:
        275px 1fr;

    min-height: 205px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 17px;

    overflow: hidden;

    box-shadow:
        0 5px 22px rgba(0, 0, 0, .045);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.expert-horizontal-card:hover {
    border-color: #06b6d4;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .09);

    transform: translateY(-3px);
}


/* =========================================================
   HORIZONTAL IMAGE
========================================================= */

.expert-horizontal-image {
    min-height: 205px;

    position: relative;

    background-size: cover;

    background-position: center;
}


.expert-horizontal-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .02),
            rgba(0, 0, 0, .45)
        );
}


/* =========================================================
   HORIZONTAL CONTENT
========================================================= */

.expert-horizontal-content {
    padding: 28px 32px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.expert-horizontal-title {
    margin-bottom: 10px;

    color: #111111;

    font-size: 20px;

    font-weight: 800;

    line-height: 1.4;
}


.expert-horizontal-text {
    color: #555b63;

    font-size: 14px;

    line-height: 1.75;
}


.expert-horizontal-text strong {
    color: #20242a;
}


/* =========================================================
   TEXT LIST
========================================================= */

.expert-text-list {
    margin-top: 22px;

    border-top: 1px solid #e5e7eb;
}


/* =========================================================
   TEXT ITEM
========================================================= */

.expert-text-item {
    display: grid;

    grid-template-columns:
        80px 1fr;

    gap: 25px;

    padding: 22px 5px;

    border-bottom: 1px solid #e5e7eb;

    transition:
        padding-left .25s ease;
}


.expert-text-item:hover {
    padding-left: 12px;
}


/* =========================================================
   TEXT YEAR
========================================================= */

.expert-text-year {
    color: #06b6d4;

    font-size: 14px;

    font-weight: 800;

    padding-top: 2px;
}


/* =========================================================
   TEXT TITLE
========================================================= */

.expert-text-title {
    margin-bottom: 6px;

    color: #111111;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.45;
}


/* =========================================================
   TEXT DESCRIPTION
========================================================= */

.expert-text-description {
    color: #5b6169;

    font-size: 14px;

    line-height: 1.7;
}


.expert-text-description strong {
    color: #20242a;
}


/* =========================================================
   SMALL TAG
========================================================= */

.expert-tag {
    display: inline-block;

    margin-top: 10px;

    padding: 6px 11px;

    background: #effcff;

    color: #06b6d4;

    border-radius: 20px;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: .3px;
}


/* =========================================================
   SIMPLE FULL WIDTH FEATURE
========================================================= */

.expert-simple-feature {
    display: grid;

    grid-template-columns:
        90px 1fr;

    gap: 28px;

    padding: 25px 28px;

    border: 1px solid #e5e7eb;

    border-radius: 15px;

    background: #fafcfc;

    transition:
        background .25s ease,
        border-color .25s ease;
}


.expert-simple-feature:hover {
    border-color: #06b6d4;

    background: #f8fdfe;
}


/* =========================================================
   SIMPLE YEAR
========================================================= */

.expert-simple-year {
    color: #06b6d4;

    font-size: 14px;

    font-weight: 800;
}


/* =========================================================
   SIMPLE TITLE
========================================================= */

.expert-simple-title {
    margin-bottom: 7px;

    color: #111111;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.45;
}


/* =========================================================
   SIMPLE TEXT
========================================================= */

.expert-simple-text {
    color: #555b63;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .expert-talks-wrapper {
        padding:
            40px 18px
            60px;
    }


    .expert-talks-header {
        margin-bottom: 50px;
    }


    .expert-talks-header h1 {
        font-size: 33px;
    }


    .expert-grid {
        gap: 18px;
    }


    .expert-horizontal-card {
        grid-template-columns:
            230px 1fr;
    }

}


/* =========================================================
   MOBILE
   NORMAL TEXT MINIMUM = 14PX
========================================================= */

@media (max-width: 750px) {

    .expert-talks-wrapper {
        padding:
            30px 12px
            50px;
    }


    /* Header */

    .expert-talks-header {
        margin-bottom: 45px;
    }


    .expert-talks-header h1 {
        font-size: 29px;

        line-height: 1.25;
    }


    .expert-talks-header p {
        font-size: 14px;

        line-height: 1.65;
    }


    /* Section */

    .expert-section {
        margin-bottom: 48px;
    }


    .expert-section-heading {
        gap: 10px;

        margin-bottom: 20px;
    }


    .expert-section-number {
        min-width: 36px;

        height: 36px;

        border-radius: 9px;

        font-size: 14px;
    }


    .expert-section-heading h2 {
        font-size: 19px;
    }


    .expert-heading-line {
        display: none;
    }


    /* Grid */

    .expert-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    /* Normal cards */

    .expert-card {
        border-radius: 13px;
    }


    .expert-card:hover {
        transform: none;
    }


    .expert-image {
        height: 180px;
    }


    .expert-year,
    .expert-type {
        font-size: 14px;
    }


    .expert-card-content {
        padding: 18px;
    }


    .expert-card-title {
        font-size: 17px;
    }


    .expert-card-text,
    .expert-link {
        font-size: 14px;
    }


    /* Horizontal card */

    .expert-horizontal-card {
        grid-column: auto;

        grid-template-columns: 1fr;

        min-height: 0;

        border-radius: 13px;
    }


    .expert-horizontal-card:hover {
        transform: none;
    }


    .expert-horizontal-image {
        min-height: 175px;
    }


    .expert-horizontal-content {
        padding: 22px;
    }


    .expert-horizontal-title {
        font-size: 18px;
    }


    .expert-horizontal-text {
        font-size: 14px;
    }


    /* Text Entries */

    .expert-text-item {
        grid-template-columns: 1fr;

        gap: 5px;

        padding: 19px 3px;
    }


    .expert-text-item:hover {
        padding-left: 3px;
    }


    .expert-text-year,
    .expert-text-description {
        font-size: 14px;
    }


    .expert-text-title {
        font-size: 16px;
    }


    /* Tag */

    .expert-tag {
        font-size: 14px;
    }


    /* Simple feature */

    .expert-simple-feature {
        grid-template-columns: 1fr;

        gap: 8px;

        padding: 20px;
    }


    .expert-simple-year,
    .expert-simple-text {
        font-size: 14px;
    }


    .expert-simple-title {
        font-size: 17px;
    }


    /* Loader */

    .expert-loader-ring {
        width: 48px;
        height: 48px;
    }


    .expert-loader-text {
        font-size: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .expert-talks-wrapper {
        padding:
            28px 10px
            45px;
    }


    .expert-talks-header {
        margin-bottom: 38px;
    }


    .expert-talks-header h1 {
        font-size: 26px;

        letter-spacing: -.5px;
    }


    .expert-talks-header p {
        font-size: 14px;
    }


    .expert-section-heading h2 {
        font-size: 18px;
    }


    .expert-section-number {
        min-width: 34px;

        height: 34px;

        font-size: 14px;
    }


    .expert-image {
        height: 165px;
    }


    .expert-card-content {
        padding: 16px;
    }


    .expert-card-title {
        font-size: 16px;
    }


    .expert-horizontal-content {
        padding: 18px;
    }


    .expert-horizontal-title {
        font-size: 17px;
    }


    .expert-simple-feature {
        padding: 17px;
    }


    /* Keep ordinary text at 14px */

    .expert-year,
    .expert-type,
    .expert-card-text,
    .expert-link,
    .expert-text-year,
    .expert-text-description,
    .expert-tag,
    .expert-simple-year,
    .expert-simple-text,
    .expert-loader-text {
        font-size: 14px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .expert-talks-wrapper {
        padding-left: 8px;
        padding-right: 8px;
    }


    .expert-talks-header h1 {
        font-size: 24px;
    }


    .expert-section-heading h2 {
        font-size: 17px;
    }


    .expert-card-title,
    .expert-text-title,
    .expert-simple-title {
        font-size: 16px;
    }


    .expert-year,
    .expert-type,
    .expert-card-text,
    .expert-link,
    .expert-text-year,
    .expert-text-description,
    .expert-tag,
    .expert-simple-year,
    .expert-simple-text,
    .expert-talks-header p {
        font-size: 14px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.expert-link:focus-visible {
    outline:
        3px solid rgba(6, 182, 212, .35);

    outline-offset: 3px;

    border-radius: 4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .expert-loader-ring,
    .expert-loader-line span {
        animation: none !important;
    }


    .expert-card,
    .expert-horizontal-card,
    .expert-text-item,
    .expert-simple-feature {
        transition: none !important;
    }


    .expert-card:hover,
    .expert-horizontal-card:hover {
        transform: none;
    }

}

/* =========================================================
   CLASS ALIASES
   Template uses short generic names; these map them to
   the fully-prefixed expert-talks styles above.
========================================================= */

.expert-talks-page .wrapper          { width:100%; max-width:1150px; margin:0 auto; padding:45px 18px 70px; }
.expert-talks-page .header           { text-align:center; margin-bottom:65px; }
.expert-talks-page .header h1        { margin:0; font-size:38px; font-weight:800; letter-spacing:-1px; line-height:1.2; color:#111111; }
.expert-talks-page .header h1 span   { color:#06b6d4; }
.expert-talks-page .header p         { margin:14px auto 0; max-width:700px; font-size:16px; color:#555; line-height:1.7; }
.expert-talks-page .section          { margin-bottom:70px; }
.expert-talks-page .section:last-child { margin-bottom:0; }
.expert-talks-page .section-heading  { display:flex; align-items:center; gap:14px; margin-bottom:32px; }
.expert-talks-page .section-number   { font-size:13px; font-weight:800; letter-spacing:3px; text-transform:uppercase; color:#06b6d4; flex-shrink:0; }
.expert-talks-page .section-heading h2 { font-size:26px; font-weight:800; color:#111111; margin:0; }
.expert-talks-page .heading-line     { flex:1; height:1px; background:#e5e7eb; }
.expert-talks-page .grid             { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:22px; }
.expert-talks-page .card             { background:#fff; border:1px solid #e2e8f0; border-radius:16px; overflow:hidden; transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.expert-talks-page .card:hover       { transform:translateY(-4px); box-shadow:0 12px 35px rgba(0,0,0,.10); border-color:#06b6d4; }
.expert-talks-page .image            { width:100%; height:200px; background-size:cover; background-position:center; position:relative; overflow:hidden; }
.expert-talks-page .year             { position:absolute; top:12px; left:12px; background:rgba(6,182,212,.9); color:#fff; font-size:12px; font-weight:700; padding:4px 10px; border-radius:6px; }
.expert-talks-page .type             { position:absolute; top:12px; right:12px; background:rgba(0,0,0,.55); color:#fff; font-size:11px; font-weight:700; padding:3px 9px; border-radius:5px; letter-spacing:.8px; text-transform:uppercase; }
.expert-talks-page .card-content     { padding:18px; }
.expert-talks-page .card-title       { font-size:15px; font-weight:700; color:#111111; line-height:1.5; margin:0 0 8px; }
.expert-talks-page .card-text        { font-size:13px; color:#64748b; line-height:1.65; margin:0; }
.expert-talks-page .tag              { display:inline-block; margin-top:10px; font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:#06b6d4; }
.expert-talks-page .text-item        { display:grid; grid-template-columns:auto 1fr; gap:12px 16px; padding:16px 18px; background:#f8fafc; border:1px solid #e2e8f0; border-left:3px solid #06b6d4; border-radius:10px; margin-bottom:12px; }
.expert-talks-page .text-year        { font-size:13px; font-weight:700; color:#06b6d4; white-space:nowrap; padding-top:2px; }
.expert-talks-page .text-title       { font-size:15px; font-weight:700; color:#111111; line-height:1.4; margin:0 0 4px; }
.expert-talks-page .text-description { font-size:13px; color:#64748b; line-height:1.65; margin:0; grid-column:2; }
.expert-talks-page .text-list        { list-style:none; margin:0; padding:0; }


/* Responsive */
@media (max-width:750px) {
    .expert-talks-page .wrapper  { padding:32px 14px 50px; }
    .expert-talks-page .header h1 { font-size:28px; }
    .expert-talks-page .grid     { grid-template-columns:1fr; }
    .expert-talks-page .text-item { grid-template-columns:1fr; }
    .expert-talks-page .text-description { grid-column:1; }
}
@media (max-width:480px) {
    .expert-talks-page .header h1 { font-size:24px; }
    .expert-talks-page .card-title { font-size:14px; }
}
