/* freeillustrations.club Stylesheet */

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

html, body {
    margin: 0;
    padding: 0;
    background-color: #111111;
    color: #ffffff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fi-page {
    min-height: 100vh;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #111111;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.fi-header {
    width: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px 0;
    text-align: center;
}

.fi-mustache {
    width: 65px;
    height: 20px;
    aspect-ratio: 3.235294117647059 / 1;
    display: block;
}

.fi-hero-title {
    margin: 0;
    width: 660px;
    max-width: 100%;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 48px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: -2px;
    line-height: 1.2em;
    color: #ffffff;
    text-align: center;
}

.fi-grid {
    width: 1000px;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 40px;
    background-color: #111111;
    justify-content: center;
}

.fi-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fi-card:hover {
    transform: translateY(-3px);
}

.fi-photo {
    position: relative;
    width: 100%;
    height: 317px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fi-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.fi-card-meta {
    height: 83px;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fi-card-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fi-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4em;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fi-card-subtitle {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: #999999;
}

.fi-price-pill {
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4em;
    color: #ffffff;
    text-transform: uppercase;
}

.fi-footer {
    width: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 0 36px 0;
}

.fi-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.fi-footer-link {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4em;
    color: #ffffff;
    text-decoration: none;
}

.fi-footer-link:hover {
    text-decoration: underline;
}

.fi-btn {
    display: inline-block;
    margin-top: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fi-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
    .fi-header {
        min-height: 280px;
    }
    .fi-hero-title {
        font-size: 38px;
        letter-spacing: -1.5px;
        width: 520px;
    }
    .fi-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 32px;
    }
}

@media (max-width: 520px) {
    .fi-header {
        min-height: 220px;
    }
    .fi-hero-title {
        font-size: 24px;
        letter-spacing: -0.5px;
        width: 340px;
    }
    .fi-card {
        height: auto;
    }
    .fi-photo {
        height: 220px;
    }
    .fi-card-meta {
        height: auto;
        padding-top: 14px;
    }
}

/* --- AdSense-ready extension (Dec 2026): nav, articles, packs, guides --- */
.fi-nav { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 0 4px 0; }
.fi-nav-brand { display: flex; align-items: center; gap: 10px; color: #ffffff; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.5px; }
.fi-nav-brand svg { width: 44px; height: 14px; display: block; }
.fi-nav-links { display: flex; gap: 24px; flex-wrap: wrap; }
.fi-nav-links a { color: #ffffff; text-decoration: none; font-size: 15px; font-weight: 600; }
.fi-nav-links a:hover { text-decoration: underline; }
.fi-content { width: 100%; max-width: 760px; text-align: left; }
.fi-content h1 { font-size: 36px; font-weight: 600; letter-spacing: -1px; line-height: 1.25; margin: 0 0 16px 0; }
.fi-content h2 { font-size: 25px; font-weight: 600; letter-spacing: -0.5px; line-height: 1.3; margin: 38px 0 12px 0; }
.fi-content h3 { font-size: 19px; font-weight: 600; margin: 26px 0 8px 0; }
.fi-content p, .fi-content li { font-size: 16px; line-height: 1.75; color: #e6e6e6; }
.fi-content p { margin: 0 0 16px 0; }
.fi-content ul, .fi-content ol { margin: 0 0 16px 0; padding-left: 22px; }
.fi-content li { margin-bottom: 8px; }
.fi-content a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.fi-lead { font-size: 18px !important; line-height: 1.7 !important; color: #cccccc !important; }
.fi-breadcrumb { font-size: 14px; color: #999999; margin-bottom: 18px; }
.fi-breadcrumb a { color: #999999; text-decoration: none; }
.fi-breadcrumb a:hover { text-decoration: underline; }
.fi-note { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 16px 18px; margin: 24px 0; font-size: 15px; line-height: 1.7; color: #dddddd; }
.fi-section { width: 100%; max-width: 1000px; text-align: left; }
.fi-section-title { font-size: 30px; font-weight: 600; letter-spacing: -1px; margin: 0 0 10px 0; }
.fi-section-sub { color: #999999; font-size: 16px; line-height: 1.6; margin: 0 0 28px 0; }
.fi-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fi-step { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 8px; padding: 24px; }
.fi-step-num { display: inline-block; font-size: 14px; font-weight: 700; background: rgba(255,255,255,0.15); border-radius: 20px; padding: 5px 12px; margin-bottom: 12px; }
.fi-step h3 { margin: 0 0 8px 0; font-size: 18px; }
.fi-step p { margin: 0; color: #cccccc; font-size: 15px; line-height: 1.65; }
.fi-faq { width: 100%; max-width: 760px; text-align: left; }
.fi-faq-item { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; }
.fi-faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.fi-faq-item h3 { margin: 0 0 8px 0; font-size: 18px; }
.fi-faq-item p { margin: 0; color: #cccccc; font-size: 15px; line-height: 1.7; }
.fi-pack-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; width: 100%; max-width: 1000px; }
.fi-pack-img { background: #ffffff; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }
.fi-pack-img img { display: block; width: 100%; height: auto; }
.fi-pack-info h1 { font-size: 34px; font-weight: 600; letter-spacing: -1px; line-height: 1.25; margin: 0 0 12px 0; }
.fi-pack-facts { list-style: none; margin: 0 0 20px 0; padding: 0; }
.fi-pack-facts li { font-size: 15px; line-height: 1.6; color: #dddddd; margin-bottom: 6px; }
.fi-pack-facts strong { color: #ffffff; }
.fi-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 20px 0 8px 0; }
.fi-btn-primary { background: #ffffff; color: #111111; border-color: #ffffff; }
.fi-btn-primary:hover { background: #e6e6e6; }
.fi-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; max-width: 1000px; }
.fi-related a { display: block; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 8px; padding: 18px; color: #ffffff; text-decoration: none; }
.fi-related a:hover { background: rgba(255,255,255,0.10); }
.fi-related strong { display: block; font-size: 16px; margin-bottom: 4px; }
.fi-related span { font-size: 14px; color: #999999; }
.fi-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fi-guide-card { display: block; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 8px; padding: 24px; color: #ffffff; text-decoration: none; }
.fi-guide-card:hover { background: rgba(255,255,255,0.10); }
.fi-guide-card h3 { margin: 0 0 8px 0; font-size: 19px; }
.fi-guide-card p { margin: 0; color: #cccccc; font-size: 15px; line-height: 1.65; }
.fi-footer-note { color: #999999; font-size: 14px; line-height: 1.6; text-align: center; max-width: 640px; margin: 0; }
.fi-hero-sub { color: #bbbbbb; font-size: 18px; line-height: 1.7; max-width: 640px; margin: 0 auto; text-align: center; }
@media (max-width: 900px) {
  .fi-steps { grid-template-columns: 1fr; }
  .fi-pack-hero { grid-template-columns: 1fr; }
  .fi-related { grid-template-columns: 1fr; }
  .fi-guides { grid-template-columns: 1fr; }
  .fi-content h1 { font-size: 28px; }
  .fi-nav { justify-content: center; text-align: center; }
}
