<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @global CDatabase $DB */
/** @var CBitrixComponentTemplate $this */
/** @var string $templateName */
/** @var string $templateFile */
/** @var string $templateFolder */
/** @var string $componentPath */
/** @var CBitrixComponent $component */
$this->setFrameMode(true);


?>
    <div class="container container--pt-header container--mb">

        <div class="breadcrumbs breadcrumbs--pl">
            <ol class="breadcrumbs__list">
                <li class="breadcrumbs__item">
                    <a href="/" class="breadcrumbs__link">

                        <span class="breadcrumbs__link-text">Главная</span>

                    </a>
                </li><li class="breadcrumbs__item">
          <span class="breadcrumbs__link breadcrumbs__link--current">

            <span class="breadcrumbs__link-text"><?=$arResult['PROPERTIES']['NAME']['VALUE']?></span>

</span>
                </li>
            </ol>
        </div>

    </div>
    <section class="page-section page-section--no-pt page-section--p-b">

        <div class="privacy">
            <div class="container">
                <? if (is_array($arResult["PROPERTIES"]["TITLE"]['~VALUE'])){?>
                    <h1 class="title title--h1 privacy__title"><?= $arResult["PROPERTIES"]["TITLE"]['~VALUE']['TEXT']?></h1>
                <?}?>

                <div class="privacy__inner">
                    <div class="privacy__main">
                        <div class="privacy__content">
                           <?=$arResult['DETAIL_TEXT']?>
                        </div>
                    </div>
                    <div class="privacy__aside">
                        <div class="privacy__aside-nav-wrap" data-da-max=".privacy__inner, 767, 0">
                            <div class="aside-nav">
                                <p class="aside-nav__title">Содержание</p>
                                <div class="aside-nav__list-wrap">
                                    <?if (!empty($arResult['PROPERTIES']['SODER']['VALUE'])){?>
                                        <ul class="aside-nav__list">
                                            <?php foreach ($arResult['PROPERTIES']['SODER']['VALUE'] as $item) {?>
                                                <li class="aside-nav__item">
                                                    <a class="aside-nav__link" href="#<?=$item[2]?>"
                                                       data-navigation-link="">
                                                        <?=$item[1]?>
                                                    </a>
                                                </li>
                                            <?}?>
                                        </ul>
                                    <?}?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>

    </section>

