/*
Theme Name: Dr. Mehmet Özdemir
Theme URI: https://www.drmehmetozdemir.com/
Author: Dr. Mehmet Özdemir
Description: Website theme of Dr. Mehmet Özdemir, plastic, reconstructive and aesthetic surgeon in Istanbul.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-mehmet-ozdemir
*/

/*
 * The real styles live in assets/css/tokens.css and assets/css/components.css,
 * both enqueued from functions.php. This file only carries the theme header
 * (WordPress requires it) plus a couple of editor/admin-bar corrections.
 */

/* WordPress admin bar must not cover the absolutely positioned home header. */
body.admin-bar .bb-header__header,
body.admin-bar .bb-inner-header__header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .bb-header__header,
  body.admin-bar .bb-inner-header__header {
    top: 46px;
  }
}

/* Core alignment classes for post content rendered through the_content(). */
.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hover/focus dropdowns for the inner header (React used state, CSS does it here). */
.bb-inner-header__nav-item:hover > .bb-inner-header__submenu,
.bb-inner-header__nav-item:focus-within > .bb-inner-header__submenu,
.bb-inner-header__nav-item.is-open > .bb-inner-header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Offcanvas accordion: the JS toggles .is-expanded on the <li>. */
.bb-offcanvas__nav-list li.is-expanded > .bb-offcanvas__submenu-list {
  max-height: 640px;
  opacity: 1;
  visibility: visible;
}
