/* Geral */
.company-author-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #222;
}

.company-banner {
    width: 100%;
    height: 260px;
    margin-bottom: 18px;
    cursor: pointer;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 6px;
    position: relative;
    background-color: #f0f0f0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.company-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.company-logo-box {
    position: relative;
}

.company-logo-box img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    padding: 8px;
    border: 1px solid #eee;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.company-info {
    flex: 1;
    min-width: 220px;
}

.company-info h1 {
    margin: 0 0 6px;
    font-size: 26px;
}

.company-info p {
    margin: 6px 0;
    font-size: 14px;
}

/* Editor inline */
.field-inline { display: flex; align-items: center; gap: 12px; margin: 6px 0; }
.field-inline .label { min-width: 140px; color: #6b7280; font-weight: 500; }
.field-inline .value { flex: 1; }
.field-inline input[type="text"], .field-inline input[type="url"], .field-inline textarea { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 6px; }

/* Buttons */
.controls { margin-top: 12px; }
.btn-inline { display: inline-block; padding: 7px 12px; border-radius: 8px; background: #00c389; color: #fff; text-decoration: none; font-size: 14px; }
.btn-secondary { background: #f3f4f6; color: #111; padding: 7px 10px; border-radius: 8px; text-decoration: none; display:inline-block; margin-top:4px; font-size:13px; border: 1px solid #ddd; }

/* Grid anÃºncios */
.company-listings { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 18px; margin-top: 16px; }
.listing-item { background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; overflow: hidden; transition: box-shadow .2s; }
.listing-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.listing-item img { width: 100%; height: 180px; object-fit: cover; }
.listing-item h4 { font-size: 16px; margin: 0; padding: 12px; }
.listing-item a { text-decoration: none; color: inherit; }

/* Card Shortcode */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 15px;
}

.companies-grid .company-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.35s ease;
}

.companies-grid .company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.companies-grid .company-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 15px;
}

.companies-grid .company-card h4 {
    font-size: 1.1rem;
    margin: 10px 0 6px;
    font-weight: 600;
}

.companies-grid .company-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}
