/*
 * profy public styles
 * Phase 6: SEO page MVP layout
 */

.pfy-seo-body {
    margin: 0;
    background: #f5f6f8;
    color: #1f2933;
}

.pfy-seo-body * {
    box-sizing: border-box;
}

.pfy-seo-body a {
    color: inherit;
}

.pfy-seo-page {
    width: 100%;
    min-height: 100vh;
    background: #f5f6f8;
}

.pfy-seo-layout {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 40px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 24px;
}

.pfy-seo-preview {
    position: relative;
    align-self: start;
    height: calc(100vh - 80px);
    min-height: 640px;
}

.pfy-seo-preview-inner {
    position: fixed;
    top: 40px;
    left: max(24px, calc((100vw - 1240px) / 2 + 24px));
    width: min(390px, calc(100vw - 48px));
    height: calc(100vh - 80px);
    max-height: 760px;
    overflow: hidden;
    border-radius: 36px;
    background: #111827;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
    transform: scale(0.9);
    transform-origin: top left;
}

.pfy-seo-preview-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    overflow: hidden;
    background: #ffffff;
    pointer-events: none;
}

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

.pfy-seo-hero,
.pfy-seo-section,
.pfy-seo-footer {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.pfy-seo-hero {
    overflow: hidden;
}

.pfy-seo-hero-image {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 90px;
    overflow: hidden;
    background: #dddddd;
}

.pfy-seo-hero-image img,
.pfy-seo-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pfy-seo-hero-image iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.pfy-seo-hero-image--video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 316%;
    height: 177.7778%;
    transform: translate(-50%, -50%);
}

.pfy-seo-hero-body {
    position: relative;
    z-index: 2;
    padding: 32px;
    background: #ffffff;
}

.pfy-seo-logo-wrap {
    position: relative;
    z-index: 3;
    width: 112px;
    height: 112px;
    margin: -88px 0 20px;
    padding: 8px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
}

.pfy-seo-logo {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
}

.pfy-seo-genre {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0 0 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.pfy-seo-title {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.pfy-seo-catchcopy {
    margin: 18px 0 0;
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
}

.pfy-seo-address {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f9fafb;
}

.pfy-seo-address-label {
    margin: 0 0 6px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.pfy-seo-address-text {
    margin: 0;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.8;
}

.pfy-seo-section {
    margin-top: 28px;
    padding: 32px;
}

.pfy-seo-main-image {
    width: 100%;
    margin: 0 0 28px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 22px;
    background: #e5e7eb;
}

.pfy-seo-heading {
    margin: 0 0 16px;
    color: #111827;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.35;
}

.pfy-seo-subheading {
    margin: 28px 0 14px;
    color: #111827;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.45;
}

.pfy-seo-text {
    color: #374151;
    font-size: 16px;
    line-height: 2;
}

.pfy-seo-text + .pfy-seo-text {
    margin-top: 16px;
}

.pfy-seo-contact-preview {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #f9fafb;
}

.pfy-seo-contact-preview-title {
    margin: 0 0 16px;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
}

.pfy-seo-contact-field {
    display: flex;
    align-items: center;
    min-height: 46px;
    margin-top: 12px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #9ca3af;
    font-size: 14px;
}

.pfy-seo-contact-field-message {
    min-height: 120px;
    align-items: flex-start;
    padding-top: 14px;
}

.pfy-seo-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 16px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: default;
    opacity: 0.8;
}

.pfy-seo-contact-note {
    margin: 12px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
}

.pfy-contact-form-seo {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #f9fafb;
}

.pfy-contact-form-seo .ff-el-group {
    margin-bottom: 16px;
}

.pfy-contact-form-seo label,
.pfy-contact-form-seo .ff-el-input--label label {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.pfy-contact-form-seo input[type="text"],
.pfy-contact-form-seo input[type="email"],
.pfy-contact-form-seo textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
}

.pfy-contact-form-seo textarea {
    min-height: 140px;
}

.pfy-contact-form-seo .ff-btn-submit,
.pfy-contact-form-seo button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.pfy-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.pfy-seo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pfy-seo-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.pfy-seo-link-sns {
    background: #111827;
    color: #ffffff;
}

.pfy-seo-link-blog {
    background: #ecfeff;
    color: #155e75;
}

.pfy-seo-footer {
    margin-top: 28px;
    padding: 20px 28px;
    text-align: center;
}

.pfy-seo-powered {
    margin: 0;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pfy-seo-powered-link,
.pfy-seo-powered-link:visited,
.pfy-seo-powered-link:hover,
.pfy-seo-powered-link:focus,
.pfy-seo-powered-link:focus-visible,
.pfy-seo-powered-link:active {
    color: #111827;
}

.pfy-seo-powered-link {
    text-decoration: none;
}

.pfy-seo-powered-link:hover,
.pfy-seo-powered-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pfy-seo-page .pfy-extra-template__heading {
    margin-bottom: 16px;
}

@media (max-width: 960px) {
    .pfy-seo-layout {
        display: block;
        max-width: 720px;
        padding: 20px 16px 40px;
    }

    .pfy-seo-preview {
        position: relative;
        top: auto;
        height: 78vh;
        min-height: 560px;
        margin-bottom: 24px;
    }

    .pfy-seo-preview-inner {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 100%;
        max-width: 390px;
        max-height: none;
        margin: 0 auto;
        border-radius: 32px;
        transform-origin: top center;
    }

    .pfy-seo-section {
        margin-top: 22px;
    }

    .pfy-seo-footer {
        margin-top: 22px;
    }
}

@media (max-width: 600px) {
    .pfy-seo-body {
        background: #ffffff;
    }

    .pfy-seo-page {
        background: #ffffff;
    }

    .pfy-seo-layout {
        padding: 0 0 28px;
    }

    .pfy-seo-preview {
        height: 76vh;
        min-height: 520px;
        margin: 0;
        padding: 16px 16px 20px;
        background: #f5f6f8;
    }

    .pfy-seo-preview-inner {
        max-width: 360px;
        border-radius: 30px;
    }

    .pfy-seo-hero,
    .pfy-seo-section,
    .pfy-seo-footer {
        border-radius: 0;
        box-shadow: none;
    }

    .pfy-seo-hero-body,
    .pfy-seo-section {
        padding: 24px 20px;
    }

    .pfy-seo-hero-image {
        height: 90px;
    }

    .pfy-seo-logo-wrap {
        width: 96px;
        height: 96px;
        margin: -72px 0 18px;
        border-radius: 24px;
    }

    .pfy-seo-logo {
        border-radius: 18px;
    }

    .pfy-seo-title {
        font-size: 28px;
    }

    .pfy-seo-catchcopy {
        font-size: 16px;
    }

    .pfy-seo-main-image {
        border-radius: 18px;
        aspect-ratio: 4 / 3;
    }

    .pfy-seo-heading {
        font-size: 24px;
    }

    .pfy-seo-text {
        font-size: 15px;
        line-height: 1.95;
    }

    .pfy-seo-contact-preview {
        padding: 20px;
        border-radius: 18px;
    }

    .pfy-contact-form-seo {
        padding: 20px;
        border-radius: 18px;
    }

    .pfy-contact-form-seo .ff-btn-submit,
    .pfy-contact-form-seo button[type="submit"] {
        width: 100%;
    }

    .pfy-seo-links {
        gap: 8px;
    }

    .pfy-seo-link {
        min-height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }

    .pfy-seo-footer {
        padding: 18px 20px 0;
    }
}
/* profy archive pages */
.pfy-archive-body {
    background: #f5f6f8;
}

.pfy-archive-page {
    min-height: 100vh;
    background: #f5f6f8;
    color: #1f2937;
}

.pfy-archive-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.pfy-archive-hero {
    padding: 56px 0 32px;
    background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.pfy-archive-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    margin-top: 16px;
    color: #6b7280;
    font-size: 13px;
}

.pfy-archive-breadcrumb a {
    color: #4f46e5;
    text-decoration: none;
}

.pfy-archive-breadcrumb a:hover {
    text-decoration: underline;
}

.pfy-archive-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.pfy-archive-kicker:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pfy-archive-title {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.pfy-archive-description {
    max-width: 760px;
    margin: 18px 0 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.9;
}

.pfy-archive-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.pfy-archive-related-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #3730a3;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pfy-archive-related-links a:hover {
    background: #ffffff;
    border-color: rgba(79, 70, 229, 0.45);
}

.pfy-archive-content {
    padding: 36px 0 64px;
}

.pfy-archive-count {
    margin-bottom: 18px;
    color: #6b7280;
    font-size: 14px;
}

.pfy-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pfy-archive-card {
    overflow: hidden;
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.08);
}

.pfy-archive-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.pfy-archive-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
}

.pfy-archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pfy-archive-card-body {
    padding: 20px;
}

.pfy-archive-card-genre {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 0 10px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 700;
}

.pfy-archive-card-title {
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.45;
}

.pfy-archive-card-area {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.pfy-archive-card-text {
    margin: 12px 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
}

.pfy-archive-pagination {
    margin-top: 34px;
}

.pfy-archive-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    list-style: none;
}

.pfy-archive-pagination ul.page-numbers:hover {
    background: transparent;
    box-shadow: none;
}

.pfy-archive-pagination li {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    list-style: none;
}

.pfy-archive-pagination li::before {
    display: none;
}

.pfy-archive-pagination a.page-numbers,
.pfy-archive-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 13px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.pfy-archive-pagination a.page-numbers:hover {
    border-color: #4f46e5;
    background: #eef2ff;
    color: #4f46e5;
    text-decoration: none;
}

.pfy-archive-pagination span.page-numbers.current {
    border-color: #4f46e5;
    background: #4f46e5;
    color: #ffffff;
}

.pfy-archive-pagination .dots {
    border-color: transparent;
    background: transparent;
}

.pfy-archive-empty {
    padding: 48px 24px;
    border-radius: 24px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.08);
}

.pfy-archive-empty h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 24px;
}

.pfy-archive-empty p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.8;
}

.pfy-archive-footer {
    padding: 28px 16px 34px;
    background: #ffffff;
    text-align: center;
}

.pfy-archive-footer a {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pfy-archive-footer a:hover {
    color: #4f46e5;
}

@media (max-width: 900px) {
    .pfy-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pfy-archive-inner {
        width: min(100% - 24px, 1120px);
    }

    .pfy-archive-hero {
        padding: 34px 0 24px;
    }

    .pfy-archive-title {
        font-size: 28px;
    }

    .pfy-archive-description {
        font-size: 15px;
    }

    .pfy-archive-content {
        padding: 24px 0 44px;
    }

    .pfy-archive-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pfy-archive-card {
        border-radius: 20px;
    }
}


.pfy-seo-extra-section {
    overflow: hidden;
}

.pfy-seo-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.pfy-seo-gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
    background: #e5e7eb;
}

.pfy-seo-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .pfy-seo-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}


/* Phase29: SEO link icon adjustments */
.pfy-seo-links {
    align-items: center;
}

.pfy-seo-link-sns,
.pfy-seo-link-blog {
    position: relative;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 999px;
    font-size: 0;
    overflow: hidden;
}

.pfy-seo-link-sns::before,
.pfy-seo-link-blog::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: currentColor;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

.pfy-seo-link--x::before {
    content: "X";
}

.pfy-seo-link--instagram::before {
    content: "IG";
    font-size: 11px;
}

.pfy-seo-link--facebook::before {
    content: "f";
    font-size: 18px;
}

.pfy-seo-link--line::before {
    content: "LINE";
    font-size: 9px;
}

.pfy-seo-link--youtube::before {
    content: "▶";
    font-size: 14px;
}

.pfy-seo-link--tiktok::before {
    content: "♪";
    font-size: 17px;
}

.pfy-seo-link-blog::before,
.pfy-seo-link--blog::before {
    content: "B";
}

/* Phase29 hotfix: replace SEO SNS text badges with brand color icon badges */
.pfy-seo-link-sns,
.pfy-seo-link-blog {
    color: #ffffff;
}

.pfy-seo-link-sns::before,
.pfy-seo-link-blog::before {
    content: "";
    width: 22px;
    height: 22px;
    display: block;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 0;
    line-height: 0;
}

.pfy-seo-link--x {
    background: #000000;
}

.pfy-seo-link--x::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M18.9 2.5h3.3l-7.2 8.2 8.5 10.8h-6.7l-5.2-6.7-6 6.7H2.3l7.7-8.7L1.8 2.5h6.8l4.7 6 5.6-6Zm-1.2 17.1h1.8L7.6 4.3H5.7l12 15.3Z'/%3E%3C/svg%3E");
}

.pfy-seo-link--instagram {
    background: #e4405f;
}

.pfy-seo-link--instagram::before {
    width: 23px;
    height: 23px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='16' height='16' rx='5' fill='none' stroke='%23ffffff' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='12' r='3.6' fill='none' stroke='%23ffffff' stroke-width='2.2'/%3E%3Ccircle cx='17.3' cy='6.9' r='1.3' fill='%23ffffff'/%3E%3C/svg%3E");
}

.pfy-seo-link--facebook {
    background: #1877f2;
}

.pfy-seo-link--facebook::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M15.7 8.1h-2.2V6.6c0-.6.4-.8.8-.8h1.3V3.2L13.7 3c-2.1 0-3.5 1.3-3.5 3.5v1.6H8v2.8h2.2V21h3.3V10.9h2l.2-2.8Z'/%3E%3C/svg%3E");
}

.pfy-seo-link--line {
    background: #06c755;
}

.pfy-seo-link--line::before {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 4C7.2 4 3.4 7.1 3.4 11c0 3.5 3.1 6.4 7.2 6.9l.5 2.1c.1.4.6.5.9.2l2.4-2.1c3.6-.8 6.2-3.6 6.2-7.1C20.6 7.1 16.8 4 12 4Zm0 11.7c-3.6 0-6.5-2.1-6.5-4.7S8.4 6.3 12 6.3s6.5 2.1 6.5 4.7-2.9 4.7-6.5 4.7Z'/%3E%3C/svg%3E");
}

.pfy-seo-link--youtube {
    background: #ff0000;
}

.pfy-seo-link--youtube::before {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M21.2 7.2c-.2-.8-.8-1.4-1.6-1.6C18.2 5.2 12 5.2 12 5.2s-6.2 0-7.6.4c-.8.2-1.4.8-1.6 1.6-.4 1.4-.4 4.8-.4 4.8s0 3.4.4 4.8c.2.8.8 1.4 1.6 1.6 1.4.4 7.6.4 7.6.4s6.2 0 7.6-.4c.8-.2 1.4-.8 1.6-1.6.4-1.4.4-4.8.4-4.8s0-3.4-.4-4.8ZM10.1 14.9V9.1l5.1 2.9-5.1 2.9Z'/%3E%3C/svg%3E");
}

.pfy-seo-link--tiktok {
    background: #000000;
}

.pfy-seo-link--tiktok::before {
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M14.4 3c.4 2.5 1.8 4 4.2 4.2v3.1c-1.5 0-2.9-.5-4.1-1.3v5.7c0 3.2-2.2 5.4-5.3 5.4-2.8 0-5-2-5-4.8 0-3 2.3-5 5.5-4.8v3.2c-1.4-.2-2.4.4-2.4 1.6 0 1 .8 1.7 1.8 1.7 1.2 0 2-.8 2-2.3V3h3.3Z'/%3E%3C/svg%3E");
}

.pfy-seo-link-blog,
.pfy-seo-link--blog {
    background: #0ea5e9;
}

.pfy-seo-link-blog::before,
.pfy-seo-link--blog::before {
    width: 23px;
    height: 23px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23ffffff' stroke-width='2.1'/%3E%3Cpath d='M3.5 12h17M12 3c2.3 2.5 3.4 5.5 3.4 9S14.3 18.5 12 21c-2.3-2.5-3.4-5.5-3.4-9S9.7 5.5 12 3Z' fill='none' stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E");
}


/* Phase44: Profy No. / badges */
.pfy-seo-profy-number{position:absolute;right:24px;bottom:12px;z-index:2;color:#fff;font-size:14px;font-weight:800;line-height:1.4;letter-spacing:.04em;text-shadow:0 1px 4px rgba(0,0,0,.28)}
.pfy-seo-badges{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.pfy-seo-badge{display:inline-flex;align-items:center;max-width:100%;min-height:28px;padding:4px 10px;border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#374151;font-size:12px;font-weight:800;line-height:1.35;white-space:normal}
.pfy-seo-badge--ambassador{border-color:#f59e0b;background:#fffbeb;color:#92400e}.pfy-seo-badge--supporter{border-color:#a78bfa;background:#f5f3ff;color:#5b21b6}
@media(max-width:600px){.pfy-seo-profy-number{right:18px;bottom:11px;font-size:13px}.pfy-seo-badges{gap:6px}.pfy-seo-badge{font-size:11px}}

/* Phase45: SEO hero badge placement / secondary text spacing */
.pfy-seo-hero-image .pfy-seo-badges {
    position: absolute;
    left: 24px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 180px);
    margin: 0;
}

.pfy-seo-hero-image--has-logo .pfy-seo-badges {
    left: 168px;
}

.pfy-seo-hero-image .pfy-seo-badge {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

@media (max-width: 600px) {
    .pfy-seo-hero-image .pfy-seo-badges {
        left: 18px;
        bottom: 10px;
        gap: 6px;
        max-width: calc(100% - 130px);
    }

    .pfy-seo-hero-image--has-logo .pfy-seo-badges {
        left: 132px;
    }
}

/* v3.1.2: SEO breadcrumb / hero contrast */
.pfy-seo-hero-image {
    background: #111827;
}

.pfy-seo-breadcrumb {
    position: absolute;
    right: 24px;
    bottom: 38px;
    left: 24px;
    z-index: 4;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .04em;
    text-align: right;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .38);
}

.pfy-seo-breadcrumb-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.pfy-seo-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.pfy-seo-breadcrumb-item:not(:last-child)::after {
    content: "›";
    flex: 0 0 auto;
    margin: 0 .42em;
    opacity: .8;
}

.pfy-seo-breadcrumb a,
.pfy-seo-breadcrumb span {
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
}

.pfy-seo-breadcrumb a:hover,
.pfy-seo-breadcrumb a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .pfy-seo-breadcrumb {
        right: 18px;
        bottom: 34px;
        left: 18px;
        font-size: 13px;
    }
}
