:root {
    --primary-color: #0F172A;
    --secondary-color: #334155;
    --accent-color: #F7CA12;
    --text-color: #1E293B;
    --light-text: #F8FAFC;
    --background-color: #FFFFFF;
    --section-bg: #F1F5F9;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 75px;
    }
}

body {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header - Gizli başlar, scroll ile yavaşça belirir */
header {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    overflow: visible;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, backdrop-filter 0.4s ease;
}

/* Scroll ile header görünür olur */
header.header-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}


.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 42px;
    width: auto;
    object-fit: contain;
    transform: scaleX(1.4);
    transform-origin: center center;
}

.lang-switch {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
    align-items: center;
    border: 1px solid var(--secondary-color);
    padding: 4px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
    background: transparent;
    z-index: 10;
    appearance: none;
    font-family: inherit;
    line-height: 1;
}

.lang-switch:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Sliding background pill */
.lang-switch::before {
    content: '';
    position: absolute;
    width: 42px;
    height: 28px;
    background: var(--accent-color);
    border-radius: 20px;
    top: 4px;
    left: 4px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(247, 202, 18, 0.3);
}

.lang-switch.en-active::before {
    transform: translateX(46px);
    /* Width(42) + Gap(4) */
}

.lang-switch span {
    width: 42px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
    color: var(--secondary-color);
}

.lang-switch span.active {
    color: var(--primary-color);
}

/* Page content animation */
[data-lang] {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.lang-changing [data-lang] {
    opacity: 0;
    transform: translateY(5px);
}

/* Yüzen Karanlık Mod Butonu */
.theme-toggle-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: var(--transition);
}

.theme-toggle-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.theme-toggle-float svg {
    width: 24px;
    height: 24px;
}

[data-theme='dark'] .theme-toggle-float {
    background: var(--section-bg);
    color: var(--accent-color);
    border: 1px solid rgba(247, 202, 18, 0.3);
}

/* Hero Section */
.hero {
    width: 100%;
    max-width: 100%;
    height: 450px;
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6a6a6a 0%, #8a8a8a 50%, #a0a0a0 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 10%;
}

.signature-image {
    position: absolute;
    left: 8%;
    top: 42%;
    transform: translateY(-50%);
    height: 170px;
    width: auto;
    max-width: 55%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

.hero-social-links {
    position: absolute;
    left: 5%;
    bottom: 30px;
    display: flex;
    gap: 1rem;
    z-index: 5;
}

.hero-social-links .social-icon,
.social-links .social-icon,
.footer-social-links .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.hero-social-links .social-icon:hover,
.social-links .social-icon:hover,
.footer-social-links .social-icon:hover {
    color: var(--accent-color);
}

.hero-social-links .social-icon svg,
.social-links .social-icon svg,
.footer-social-links .social-icon svg {
    width: 20px;
    height: 20px;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 3;
}

.profile-image {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
    object-position: center bottom;
    filter: grayscale(100%);
}

.etisan-logo {
    position: absolute;
    bottom: 30px;
    right: 5%;
    height: 70px;
    width: auto;
    filter: none;
    z-index: 4;
}

/* Main */
main {
    width: 100%;
}

/* Sections */
section {
    padding: 5rem 5%;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 0;
}

/* Biography */
.bio-text {
    overflow-wrap: break-word;
}

.bio-text h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.bio-text h3:first-of-type {
    margin-top: 1rem;
}

.bio-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
    color: var(--secondary-color);
}

/* Book Section */
.book-section {
    padding: 4rem 5%;
}

.book-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.book-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.book-cover {
    width: 180px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.book-cover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.book-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.book-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 140px;
    padding: 0.6rem 1.25rem;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.book-action-button:hover {
    background: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.book-action-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.book-content {
    min-width: 0;
    width: 100%;
}

.book-content .section-title {
    margin-bottom: 1.5rem;
}

.book-description p {
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .book-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .book-content {
        order: 1;
        text-align: left;
        width: 100%;
    }

    .book-image-wrapper {
        order: 2;
        margin: 0 auto;
    }

    .book-cover {
        width: 160px;
    }

    .book-action-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .book-action-button svg {
        width: 18px;
        height: 18px;
    }

    .book-description p {
        text-align: justify;
    }
}

@media (max-width: 480px) {
    .book-cover {
        width: 140px;
    }

    .book-action-button {
        padding: 0.45rem 0.9rem;
        font-size: 0.85rem;
    }

    .book-action-button svg {
        width: 16px;
        height: 16px;
    }
}

/* Experience */
.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.experience-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    background: var(--background-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
    cursor: default;
}

/* Link Wrapper for Cards */
.experience-card-link {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.experience-card-link .experience-card {
    cursor: pointer;
}

.experience-card-link:hover .experience-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.experience-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    max-width: none;
    object-fit: contain;
}

.experience-content {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

.experience-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.experience-content .role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.experience-content .date {
    display: block;
    font-size: 0.85rem;
    color: var(--secondary-color);
    opacity: 0.9;
}

.company-link {
    display: contents;
    /* Allows h3 flex to handle alignment */
    color: inherit;
    text-decoration: none;
}

.roles-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.role-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    padding: 2px 0;
}

.role-row:hover {
    color: var(--accent-color);
}

.role-row:hover .external-link-icon {
    opacity: 1;
    color: var(--accent-color);
    transform: translate(2px, -2px);
}

.role-row .role {
    margin: 0;
    /* Override default role margins */
}

.external-link-icon {
    width: 16px;
    height: 16px;
    opacity: 0.4;
    transition: var(--transition);
    flex-shrink: 0;
}

.experience-card-link:hover .external-link-icon {
    opacity: 1;
    color: var(--accent-color);
    transform: translate(2px, -2px);
}

/* Footer - Üst banner ile aynı gri tonları */
footer {
    background: linear-gradient(135deg, #6a6a6a 0%, #8a8a8a 50%, #a0a0a0 100%);
    color: var(--light-text);
    padding: 2rem 5%;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: flex-start;
}

.footer-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo-image {
    height: 44px;
    width: auto;
    object-fit: contain;
    transform: scaleX(1.4);
    transform-origin: center center;
}

.footer-spacer {
    flex: 1;
    min-width: 88px;
}

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.social-links,
.footer-social-links {
    display: flex;
    gap: 1rem;
}

/* Dark Theme */
[data-theme='dark'] {
    --primary-color: #F8FAFC;
    --secondary-color: #CBD5E1;
    --text-color: #E2E8F0;
    --background-color: #0F172A;
    --section-bg: #1E293B;
}

[data-theme='dark'] body {
    background-color: var(--background-color);
    color: var(--text-color);
}

[data-theme='dark'] header {
    background: rgba(51, 65, 85, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(247, 202, 18, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme='dark'] .experience-card {
    background-color: #1E293B;
}

[data-theme='dark'] .experience-content h3 {
    color: var(--primary-color);
}

[data-theme='dark'] .experience-content .date {
    color: #94A3B8;
}

@media (max-width: 768px) {
    [data-theme='dark'] .lang-switch span:not(.active) {
        color: #F8FAFC;
    }
}

[data-theme='dark'] .bio-text p {
    color: var(--secondary-color);
}

/* Footer: Karanlık modda sayfa temasına uyumlu slate-mavi tonları */
[data-theme='dark'] footer {
    background: linear-gradient(135deg, #1E293B 0%, #334155 50%, #475569 100%);
    color: #F8FAFC;
    border-top: 1px solid rgba(248, 250, 252, 0.08);
}

[data-theme='dark'] .social-links .social-icon,
[data-theme='dark'] .footer-social-links .social-icon {
    color: rgba(248, 250, 252, 0.9);
}

[data-theme='dark'] .social-links .social-icon:hover,
[data-theme='dark'] .footer-social-links .social-icon:hover {
    color: var(--accent-color);
}


/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive - Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar {
        padding: 0.45rem 20px;
        /* Use fixed pixels for better control on smaller tablets */
        display: flex;
        justify-content: flex-end;
        align-items: center;
        position: relative;
        overflow: visible;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    .logo-image {
        height: 24px;
        transform: scaleX(1.4);
    }

    .lang-switch {
        position: relative;
        right: 15px;
        /* Give it some safe distance from the edge */
        top: auto;
        transform: none;
        font-size: 0.75rem;
        z-index: 11;
        margin-right: 0;
        display: flex;
        align-items: center;
        min-width: fit-content;
    }

    .hero {
        height: 400px;
    }

    .signature-image {
        height: 140px;
        left: 6%;
        top: 42%;
        max-width: 50%;
    }

    .hero-background {
        padding-right: 5%;
        justify-content: flex-end;
    }

    .hero-content {
        z-index: 1;
        max-width: 60%;
    }

    .profile-image {
        height: 100%;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
        object-position: center bottom;
    }

    .etisan-logo {
        height: 65px;
        z-index: 2;
    }

    section {
        padding: 4rem 5%;
    }
}

/* Responsive - Mobile (768px ve altı) */
@media (max-width: 768px) {
    header {
        padding: 0.25rem 0;
        width: 100%;
    }

    .navbar {
        padding: 0.35rem calc(1.35rem + env(safe-area-inset-right)) 0.35rem calc(1.35rem + env(safe-area-inset-left));
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    .logo {
        font-size: 1.4rem;
        flex: 1;
        text-align: center;
    }


    .lang-switch {
        position: relative;
        right: 15px;
        /* Safe margin for mobile */
        top: auto;
        transform: none;
        flex-shrink: 0;
        min-width: fit-content;
        border: none;
        padding: 0.35rem;
        background: none;
        cursor: pointer;
        text-align: right;
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        z-index: 1001;
        overflow: visible;
    }

    .lang-switch::before {
        display: none !important;
    }

    .lang-switch span {
        width: auto;
        height: auto;
    }

    .lang-switch span.active {
        display: none !important;
    }

    .lang-switch span:not(.active) {
        display: inline-block;
        background: none;
        color: #0F172A;
        padding: 0;
        font-size: 0.95rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .logo-image {
        height: 26px;
    }

    section {
        padding: 3rem 5%;
        width: 100%;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .bio-text p {
        font-size: 0.95rem;
        text-align: left;
    }

    .hero {
        height: 280px;
        margin-top: 0;
    }

    .hero-background {
        padding: 0 20px;
        justify-content: center;
    }

    /* Mobilde hero imzasını kaldır */
    .signature-image {
        display: none !important;
    }

    /* Mobilde hero sosyal ikonlarını gizle (footer'da gösterilecek) */
    .hero-social-links {
        display: none !important;
    }

    .profile-image {
        max-width: 90%;
    }

    .etisan-logo {
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .experience-card {
        padding: 1.5rem;
    }

    .experience-logo {
        width: 60px;
        height: 60px;
    }

    /* Mobilde header imzası tam ortalı */
    .navbar {
        position: relative;
    }

    .navbar .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex: none;
    }


    /* Mobilde footer: LinkedIn sol, imza orta, Instagram sağ */
    footer {
        padding: 1.5rem 4%;
        margin-top: 3rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-social-links {
        display: contents;
    }

    .footer-social-links .social-icon:first-child {
        order: 1;
    }

    .footer-logo {
        display: flex !important;
        order: 2;
    }

    .footer-social-links .social-icon:last-child {
        order: 3;
    }

    .footer-spacer {
        display: none !important;
    }

    /* Mobilde sosyal ikonlar - kolay tıklanabilir (min 44px touch target) */
    .footer-social-links .social-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        padding: 4px;
        box-sizing: border-box;
    }

    .footer-social-links .social-icon svg {
        width: 24px;
        height: 24px;
    }

    .footer-logo-image {
        height: 36px;
        transform: scaleX(1.4);
    }

    /* Mobilde normal: eski yerinde (sağ alt) */
    .theme-toggle-float {
        width: 46px;
        height: 46px;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    /* Mobilde sayfa en alttayken: navbar'ın yukarısında */
    .theme-toggle-float.theme-toggle-at-bottom {
        bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .navbar {
        padding: 0.35rem 4%;
    }

    .logo-image {
        height: 19px;
        transform: scaleX(1.4);
    }

    section {
        padding: 2rem 4%;
        width: 100%;
    }

    .theme-toggle-float {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        right: 16px;
        width: 44px;
        height: 44px;
    }

    .theme-toggle-float.theme-toggle-at-bottom {
        bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }

    .theme-toggle-float svg {
        width: 22px;
        height: 22px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .bio-text p {
        font-size: 0.9rem;
    }

    .hero {
        height: 240px;
    }

    .signature-image {
        height: 80px;
        top: 18%;
    }

    .profile-image {
        max-width: 85%;
    }

    .etisan-logo {
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

    .experience-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }

    .experience-logo {
        width: 56px;
        height: 56px;
    }

    .experience-content h3 {
        font-size: 1rem;
    }

    .experience-content .role {
        font-size: 0.9rem;
    }

    .experience-content .date {
        font-size: 0.85rem;
    }

    .experience-card:hover {
        transform: translateY(-2px);
    }

    footer {
        padding: 1.2rem 3%;
        margin-top: 2rem;
    }

    .footer-logo-image {
        height: 32px;
        transform: scaleX(1.4);
    }


    .news-image {
        height: 160px;
    }
}

/* Responsive - Mini */
@media (max-width: 375px) {
    section {
        padding: 1.5rem 3%;
    }

    .hero {
        height: 280px;
    }

    .signature-image {
        height: 70px;
        top: 15%;
    }

    .profile-image {
        max-width: 80%;
    }

    .etisan-logo {
        height: 35px;
    }

    .experience-card {
        padding: 1rem;
    }

    .experience-logo {
        width: 48px;
        height: 48px;
    }

    .experience-content h3 {
        font-size: 0.95rem;
    }
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.news-card {
    background: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--section-bg);
    display: block;
}

/* Screenshot-based visuals look sharper without crop */
.news-image-contain {
    object-fit: cover;
    object-position: center top;
    background: var(--section-bg);
    padding: 0;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card-link:hover .news-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.1rem;
    /* approx 2 lines */
}

.news-link-placeholder {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.news-card-link:hover .news-link-placeholder {
    transform: translateX(5px);
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition);
}

.video-placeholder:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-overlay svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
    /* Optical centering for play icon */
}

.video-placeholder:hover .play-overlay {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card {
    transition: var(--transition);
}

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

.news-link {
    margin-top: auto;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.news-card:hover .news-link::after {
    transform: translateX(4px);
}

/* Videos Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card h3 {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
}

/* Mobile Fixes for Experience Links */
@media (max-width: 768px) {
    .experience-content h3 {
        display: block;
        width: 100%;
    }

    .company-link {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }

    .company-link span {
        max-width: calc(100% - 24px);
        word-wrap: break-word;
    }

    .news-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
}
