

<?php $__env->startSection('content_header'); ?>
    <div class="content-section">
        <div class="content-wrapper w-container">
            <div class="masterbreadcrumb">
                <div class="container">
                    <div class="breadcrumb">
                        <a href="/">
                            <span class="breadcrumb__inner">
                                <span class="breadcrumb__title">Página inicial</span>
                            </span>
                        </a>
                        <a href="noticias?pagina=1" class="w--current">
                            <span class="breadcrumb__inner">
                                <span class="breadcrumb__title">Secretarias Municipais</span>
                            </span>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <style>
        .name {
            font-size: 16px;
            text-transform: inherit;
            line-height: 6px;
            font-weight: 400;
            color: #4b4b4b;
        }

        .namename {
            background-color: #5abb5a;
            color: #fff;
            padding: 4px 19px;
            font-size: 13px;
            border-radius: 13px;
            cursor: pointer;
        }

        .conteudo {
            font-size: 14px;
            line-height: 22px !important;
            font-weight: 500;
            color: #2c2c2c;
            display: flex;
            padding: 13px;
            border: 1px solid #ccc;
            background: #ededed;
            margin-top: 12px;
            border-radius: 12px;
            display: none;
        }

        .active .conteudo {
            display: block;
        }

        .box {
            margin-bottom: 20px;
        }

        .search-input {
            margin-bottom: 20px;
        }

        @media (max-width: 768px) {
            .search-input {
                margin-bottom: 15px;
            }
        }
    </style>

    <div class="content-section">
        <div class="content-wrapper w-container">
            <h3 class="big">Estrutura Organizacional</h3>
            <div class="row search-input">
                <div class="col-md-4">
                    <input type="text" id="searchs" class="form-control" placeholder="Digite aqui o que procura...">
                </div>
            </div>
            <div class="post-content-text">
                <div class="w-col w-col-12">
                    <?php $__currentLoopData = $secretarias; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $secretaria): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div id="parent" class="w-col w-col-12">
                            <div class="box prefeitura">
                                <div class="box secretaria">
                                    <div class="title name">
                                        <?php echo e($secretaria->nome); ?><br>
                                        <span class="name sublink">
                                            <strong>Responsável</strong>: <?php echo e($secretaria->id_secretario->secretario); ?>

                                        </span><br>
                                        <span class="name">
                                            <strong>Telefone</strong>: <?php echo e($secretaria->fixo); ?><br>
                                            <strong>E-mail</strong>: <?php echo e($secretaria->email); ?><br>
                                            <strong>Endereço</strong>: <?php echo e($secretaria->endereco); ?><br>
                                            <strong>Horário de Funcionamento</strong>: <?php echo e($secretaria->horario_atendimento); ?>

                                        </span><br>
                                        <span class="namename showBtn" onclick="toggleCompetencias(this)">Competências</span>
                                        <div class="conteudo">
                                            <!-- Adicione aqui o conteúdo das competências -->
                                            <p>Conteúdo das competências...</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>
    </div>

    <script>
        function toggleCompetencias(button) {
            var conteudo = button.nextElementSibling;
            conteudo.classList.toggle('active');
        }
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('site.layouts.layout_1', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\portalmunicipal\resources\views/site/secretarias/index.blade.php ENDPATH**/ ?>