/* ../shared/calculadoras/genetica-mendeliana/genetica-mendeliana.css */
/* CSS COMPLETO - Calculadora de Genética Mendeliana - ÁREA BIOLOGIA */

/* ===================================
   VARIÁVEIS DE CORES BIOLOGIA
   ================================== */
:root {
    --primary: #dc2626;          /* Vermelho médico */
    --secondary: #0ea5e9;        /* Azul hospitalar */
    --accent: #22c55e;           /* Verde saúde */
    --light: #fef2f2;            /* Fundo rosa claro */
    --gradient: linear-gradient(135deg, #dc2626, #0ea5e9);
    
    /* Cores complementares */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0ea5e9;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border: #d1d5db;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
}

/* ===================================
   SEÇÃO DA CALCULADORA GENÉTICA
   ================================== */
.genetica-calculator-section {
    background: var(--light);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.1);
    border: 2px solid var(--primary);
}

.genetica-header {
    text-align: center;
    margin-bottom: 2rem;
}

.genetica-header h1 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.genetica-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.genetica-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ===================================
   SELETOR DE TIPO DE CRUZAMENTO
   ================================== */
.genetica-type-selector {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 2px solid var(--primary);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.1);
}

.genetica-type-selector h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.genetica-radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.genetica-radio-option {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    background: var(--white);
}

.genetica-radio-option:hover {
    border-color: var(--primary);
    background: var(--light);
    transform: translateX(5px);
}

.genetica-radio-option input[type="radio"] {
    display: none;
}

.genetica-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.genetica-radio-option input[type="radio"]:checked + .genetica-radio-custom {
    border-color: var(--primary);
    background-color: var(--primary);
}

.genetica-radio-option input[type="radio"]:checked + .genetica-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--white);
}

/* ===================================
   INPUTS GENÉTICA
   ================================== */
.genetica-inputs {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 2px solid var(--primary);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.1);
}

.genetica-inputs h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.genetica-input-group {
    margin-bottom: 1.5rem;
}

.genetica-input-group label {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.genetica-input-group input,
.genetica-input-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-primary);
    box-sizing: border-box;
}

.genetica-input-group input:focus,
.genetica-input-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.genetica-input-group small {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: block;
}

/* ===================================
   BOTÕES DE AÇÃO
   ================================== */
.genetica-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.genetica-calculate-btn, 
.genetica-clear-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.genetica-calculate-btn {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
}

.genetica-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
}

.genetica-clear-btn {
    background: var(--light);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.genetica-clear-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===================================
   RESULTADO GENÉTICA
   ================================== */
.genetica-result {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--accent);
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.1);
}

.genetica-result-header h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.genetica-punnett-container {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 2px solid var(--primary);
}

.genetica-punnett-container h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.genetica-punnett-table {
    margin: 0 auto;
    border-collapse: collapse;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.genetica-punnett-table td {
    border: 2px solid var(--primary);
    padding: 0.8rem;
    text-align: center;
    font-weight: 600;
    min-width: 60px;
    background: var(--white);
}

.genetica-punnett-table .header {
    background: var(--primary);
    color: var(--white);
}

.genetica-punnett-table .gamete {
    background: var(--light);
    color: var(--primary);
}

.genetica-punnett-table .offspring {
    background: var(--white);
    color: var(--text-primary);
}

/* ===================================
   PROBABILIDADES E FENÓTIPOS
   ================================== */
.genetica-probabilities,
.genetica-phenotypes {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 2px solid var(--secondary);
}

.genetica-probabilities h4,
.genetica-phenotypes h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.genetica-probability-item,
.genetica-phenotype-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.genetica-probability-item:last-child,
.genetica-phenotype-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* ===================================
   AVISO E EXPLICAÇÃO
   ================================== */
.genetica-disclaimer {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--warning);
    color: var(--warning);
    font-size: 0.9rem;
}

.genetica-explanation {
    background: linear-gradient(135deg, var(--light), rgba(220, 38, 38, 0.05));
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    border: 2px solid var(--primary);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.1);
}

.genetica-explanation h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.calculation-step {
    background: var(--white);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.calculation-step:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.1);
}

.calculation-step h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.calculation-step p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.calculation-step ul {
    color: var(--text-primary);
    line-height: 1.6;
    margin-left: 1.5rem;
}

.calculation-step li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.calculation-step strong {
    color: var(--accent);
    font-weight: 700;
}

/* ===================================
   EXEMPLOS E AJUDA
   ================================== */
.genetica-examples {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.genetica-example-btn {
    padding: 0.7rem 1.2rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
}

.genetica-example-btn:hover {
    background: var(--success);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
}

.genetica-help {
    text-align: center;
    color: var(--text-secondary);
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    border: 2px solid var(--primary);
}

/* ===================================
   CONTEÚDO EDUCACIONAL
   ================================== */
.genetica-educational-content {
    margin-top: 4rem;
}

.genetica-content-block {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.genetica-content-block:hover {
    box-shadow: 0 10px 35px rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.genetica-content-block h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.genetica-content-block h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.genetica-content-block p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.genetica-content-block ul,
.genetica-content-block ol {
    color: var(--text-primary);
    line-height: 1.6;
    margin-left: 1.5rem;
}

.genetica-content-block strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   LEIS DE MENDEL
   ================================== */
.genetica-law-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    margin: 1rem 0;
}

.genetica-law-box p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.genetica-law-box ul {
    color: var(--text-primary);
}

/* ===================================
   GRIDS DE INFORMAÇÕES
   ================================== */
.genetica-info-grid,
.genetica-terms-grid,
.genetica-applications-grid,
.genetica-tips-grid,
.genetica-prob-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.genetica-info-card,
.genetica-term-card,
.genetica-app-card,
.genetica-tip-card,
.genetica-prob-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.genetica-info-card:hover,
.genetica-term-card:hover,
.genetica-app-card:hover,
.genetica-tip-card:hover,
.genetica-prob-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.1);
    border-color: var(--accent);
}

.genetica-info-card h4,
.genetica-term-card h4,
.genetica-app-card h4,
.genetica-tip-card h4,
.genetica-prob-card h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.genetica-info-card p,
.genetica-term-card p,
.genetica-app-card p,
.genetica-tip-card p,
.genetica-prob-card p {
    color: var(--text-primary);
    line-height: 1.5;
}

/* ===================================
   EXEMPLOS DE CRUZAMENTO
   ================================== */
.genetica-cross-example {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--secondary);
    margin: 1rem 0;
}

.genetica-punnett-mini {
    margin: 1rem 0;
    text-align: center;
}

.genetica-punnett-mini table {
    margin: 0 auto;
    border-collapse: collapse;
    font-family: 'Courier New', monospace;
}

.genetica-punnett-mini td {
    border: 1px solid var(--primary);
    padding: 0.5rem;
    text-align: center;
    min-width: 40px;
    background: var(--white);
}

.genetica-punnett-example {
    margin: 1.5rem 0;
}

.genetica-punnett-visual {
    margin: 1rem 0;
    text-align: center;
}

.genetica-punnett-visual table {
    margin: 0 auto;
    border-collapse: collapse;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.genetica-punnett-visual td {
    border: 2px solid var(--primary);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    min-width: 80px;
}

.genetica-punnett-visual .header {
    background: var(--primary);
    color: var(--white);
}

.genetica-punnett-visual .dominant {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent);
}

.genetica-punnett-visual .hetero {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.genetica-punnett-visual .recessive {
    background: var(--light);
    color: var(--primary);
}

/* ===================================
   FAQ, CREDIBILIDADE E REFERÊNCIAS
   ================================== */
.content-block {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.content-block:hover {
    box-shadow: 0 10px 35px rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.content-block h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

/* FAQ Styles */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.1);
}

.faq-item[open] {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
}

.faq-question {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:hover {
    background: var(--secondary);
}

.faq-question::after {
    content: "▼";
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    background: var(--white);
}

.faq-answer p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer strong {
    color: var(--primary);
    font-weight: 600;
}

/* Credibilidade Styles */
.credibilidade-container {
    background: linear-gradient(135deg, var(--light), rgba(220, 38, 38, 0.05));
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibilidade-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.credibilidade-title {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.credibilidade-content {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.credibilidade-logo {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.credibilidade-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.credibilidade-badge {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.2);
}

/* Referências Styles */
.referencias-container {
    margin-top: 1.5rem;
}

.referencias-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.referencia-item {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 1.2rem 1.5rem;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.referencia-item:hover {
    background: rgba(220, 38, 38, 0.08);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
}

.referencia-item::before {
    content: "📖";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.referencia-item em {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   CALCULADORAS RELACIONADAS
   ================================== */
.genetica-related-calculators {
    margin-top: 3rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    border: 2px solid var(--light);
}

.genetica-related-calculators h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.genetica-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.genetica-related-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.genetica-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.1);
    border-color: var(--accent);
}

.genetica-related-card h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.genetica-related-card p {
    color: var(--text-primary);
    line-height: 1.5;
}

/* ===== SUPORTE PARA CARDS DINÂMICOS DO JAVASCRIPT ===== */
.calc-explanation,
.calc-legal {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    animation: slideInUp 0.5s ease;
}

.calc-explanation h3,
.calc-legal h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.calc-explanation h4,
.calc-legal h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.calc-explanation p,
.calc-legal p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.calc-explanation strong,
.calc-legal strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   ADS ENTRE CONTEÚDO
   ================================== */
#ads-content-1,
#ads-content-2,
#ads-content-3 {
    margin: 3rem 0;
    text-align: center;
    min-height: 280px;
    background: var(--light);
    border: 2px dashed var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
}

#ads-content-1::before {
    content: "📢 Espaço Publicitário";
}

#ads-content-2::before {
    content: "📢 Anúncio";
}

#ads-content-3::before {
    content: "📢 Publicidade";
}

/* Remover placeholder quando ads carregam */
#ads-content-1:not(:empty)::before,
#ads-content-2:not(:empty)::before,
#ads-content-3:not(:empty)::before {
    display: none;
}

/* ===================================
   ANIMAÇÕES
   ================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação suave para os steps */
.calculation-step {
    animation: slideInLeft 0.3s ease-out;
}

/* ===================================
   RESPONSIVIDADE
   ================================== */
@media (max-width: 1024px) {
    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .genetica-header h1 {
        font-size: 2rem;
    }
    
    .genetica-examples {
        flex-direction: column;
    }
    
    .genetica-actions {
        flex-direction: column;
    }
    
    .genetica-radio-group {
        gap: 0.8rem;
    }
    
    .genetica-container {
        padding: 0 1rem;
    }
    
    .genetica-calculator-section {
        padding: 1.5rem;
    }
    
    .genetica-content-block {
        padding: 1.5rem;
    }
    
    .genetica-content-block h2 {
        font-size: 1.6rem;
    }
    
    .genetica-prob-examples {
        grid-template-columns: 1fr;
    }
    
    .genetica-punnett-table {
        font-size: 0.8rem;
    }
    
    .genetica-punnett-table td {
        padding: 0.5rem;
        min-width: 50px;
    }
    
    .genetica-punnett-visual td {
        padding: 0.7rem;
        min-width: 60px;
        font-size: 0.9rem;
    }

    .content-block {
        padding: 1.5rem;
    }

    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .genetica-header h1 {
        font-size: 1.8rem;
    }

    .genetica-calculator-section {
        padding: 1rem;
    }

    .genetica-content-block {
        padding: 1rem;
    }

    .content-block {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 1rem;
    }

    .credibilidade-container {
        padding: 1.5rem;
    }

    .credibilidade-badges {
        gap: 0.5rem;
    }

    .credibilidade-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Responsive para ads de conteúdo */
@media (max-width: 768px) {
    #ads-content-1,
    #ads-content-2,
    #ads-content-3 {
        min-height: 250px;
        margin: 2rem 0;
    }
}