.tf-ad-wrap {
    width: calc(100% - 32px);
    max-width: 1216px;
    margin: 40px auto 0;
}

.tf-ad {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 180px;
    overflow: hidden;
    border: 1px solid #263348;
    border-radius: 20px;
    background: linear-gradient(110deg, #0f172a 35%, #182332);
    color: #fff;
    box-shadow: 0 8px 24px #0f172a0d;
}

.tf-ad-visual {
    position: relative;
    align-self: stretch;
    min-height: 180px;
    overflow: hidden;
}

.tf-ad-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    object-position: 45% center;
}

.tf-ad-visual::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, transparent 75%, #0f172a99);
    pointer-events: none;
}

.tf-ad-copy {
    min-width: 0;
    padding: 24px 28px;
}

.tf-ad-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #cbd5e1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.tf-ad-label span:first-child {
    color: #fdba74;
}

.tf-ad-copy h2 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.25;
}

.tf-ad-description {
    max-width: 510px;
    margin: 10px 0 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.6;
}

.tf-ad-disclosure {
    margin: 10px 0 0;
    color: #a8b5c7;
    font-size: 10px;
    line-height: 1.5;
}

.tf-ad-action {
    padding: 24px 28px 24px 0;
    text-align: center;
}

.tf-ad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #fb923c;
    border-radius: 11px;
    background: #ea580c;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s, border-color .15s;
}

.tf-ad-button:hover {
    background: #c2410c;
    border-color: #fdba74;
}

.tf-ad-button:focus-visible {
    outline: 3px solid #fdba74;
    outline-offset: 4px;
}

.tf-ad-action-note {
    display: block;
    margin-top: 8px;
    color: #a8b5c7;
    font-size: 10px;
    line-height: 1.4;
}

@media (min-width: 640px) {
    .tf-ad-wrap { width: calc(100% - 48px); }
}

@media (max-width: 900px) {
    .tf-ad { grid-template-columns: 200px minmax(0, 1fr); }
    .tf-ad-visual { grid-row: 1 / 3; }
    .tf-ad-copy { padding: 20px 22px 12px; }
    .tf-ad-copy h2 { font-size: 22px; }
    .tf-ad-action { padding: 0 22px 20px; text-align: left; }
    .tf-ad-action-note { display: none; }
}

@media (max-width: 540px) {
    .tf-ad-wrap { margin-top: 28px; }
    .tf-ad { grid-template-columns: 104px minmax(0, 1fr); border-radius: 16px; }
    .tf-ad-visual { grid-row: auto; }
    .tf-ad-copy { padding: 18px 16px; }
    .tf-ad-label { gap: 5px; margin-bottom: 8px; font-size: 9px; letter-spacing: .06em; }
    .tf-ad-copy h2 { font-size: 19px; }
    .tf-ad-description { margin-top: 8px; font-size: 12px; line-height: 1.5; }
    .tf-ad-disclosure { margin-top: 8px; }
    .tf-ad-action { grid-column: 1 / -1; padding: 14px 16px; border-top: 1px solid #334155; }
    .tf-ad-button { display: flex; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .tf-ad-button { transition: none; }
}
