/*---------------------------------------------------------------------------------

	Theme Name: KAU Standard
    Text Domain: kaustandard
	Theme URI: https://andersnoren.se/teman/rams-wordpress-theme/
	Version: 2.1.1
	Description: A clean, minimalist and responsive theme for bloggers. It features a responsive design, support for the gallery and quote post formats, Block Editor support, custom accent color support, Jetpack infinite scroll integration, and editor styles. Demo: https://andersnoren.se/themes/rams/
	Tags: blog, two-columns, left-sidebar, custom-colors, custom-menu, editor-style, featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
	Author: Anders Norén
	Author URI: https://andersnoren.se
	License: GNU General Public License version 2.0
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Requires PHP: 5.6
	Tested up to: 6.0

	All files, unless otherwise stated, are released under the GNU General Public License
	version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

-----------------------------------------------------------------------------------

	0.	CSS Reset & Clearfix
	1.	Document Setup
	2.  Structure
	3.	Header
	4.	Blog
	5.	Post Formats
	6.  Single Post
	7.	Post Content
	8.	Comments
	9.	Respond
	10.	Pagination
	11. Responsive

----------------------------------------------------------------------------------- */
@import "assets/css/colors.css";

:root {
  --kau-focus-outline: 3px solid var(--kau-color-focus);
  --kau-focus-offset: 3px;
  --kau-button-height: 53px;
  --kau-button-radius: 4px;
  --kau-button-font-size: 0.875rem;
  --kau-button-padding-y: 18px 14px;
  --kau-button-padding-x: 20px;
  --kau-button-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* -------------------------------------------------------------------------------- */
/*	0. CSS Reset
/* -------------------------------------------------------------------------------- */

html,
body {
  border: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
  border: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  text-align: inherit;
}

blockquote:before,
blockquote:after {
  content: "";
}

/* -------------------------------------------------------------------------------- */
/*	1. Document setup
/* -------------------------------------------------------------------------------- */

body {
  background-color: #f5f5f5;
  color: #333;
  font-family: var(--kau-font-body);
  font-size: 1.125rem;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--kau-color-text);
  text-decoration: underline;
  font-family: var(--kau-font-body);
}

a:hover {
  text-decoration: none;
  color: #007d8c;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none;
}
.clear {
  clear: both;
}
.left {
  float: left;
}
.right {
  float: right;
}

.fleft {
  float: left;
}
.fright {
  float: right;
}

::selection {
  background: #222;
  color: #fff;
}

::-webkit-input-placeholder {
  color: #a9a9a9;
}
:-ms-input-placeholder {
  color: #a9a9a9;
}

/* Clearing ---------------------------------- */

.clear:after,
.group:after,
.post-content:after,
[class*="__inner-container"]:after {
  clear: both;
  content: "";
  display: block;
}

/* Transitions ------------------------------- */

body a {
  transition: all 0.1s ease-in-out;
}

input,
textarea,
.post-title a,
.format-standard .featured-media a img,
.flex-direction-nav a,
.post-quote,
#infinite-handle span,
.post-nav a,
.post-content a.more-link {
  transition: all 0.2s ease-in-out;
}

.header .blog-title,
.post-meta-toggle,
.post-meta-toggle p,
.post-meta-toggle .bar,
.nav-toggle .bar,
.nav-toggle p {
  transition: all 0.4s ease-in-out;
}

/* Screen Reader Text --------------------------------------- */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/* -------------------------------------------------------------------------------- */
/*	X.	Element Base
/* -------------------------------------------------------------------------------- */

p {
  line-height: 1.5;
  margin: 0 0 1em 0;
  font-family: var(--kau-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #222;
  font-family: var(--kau-font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 2rem 0 1rem;
}

h1 {
  font-size: 1.6em;
}
h2 {
  font-size: 1.45em;
}
h3 {
  font-size: 1.3em;
}

h4 {
  font-size: 1.15em;
  font-weight: 600;
}

h5 {
  font-size: 1em;
  font-weight: 600;
}

h6 {
  color: #666;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.125em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Separator --------------------------------- */

hr {
  display: block;
  width: 96px;
  height: 3px;
  background: #ddd;
  background: rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  border: none;
}

hr.is-style-wide,
hr.is-style-dots {
  width: 100%;
}

/* Block Quote ------------------------------- */

blockquote {
  background: #f6f6f6;
  background: rgba(0, 0, 0, 0.05);
  padding: 30px 30px 30px 90px;
  position: relative;
}

blockquote:before {
  color: #aaa;
  content: "”";
  display: block;
  font-family: "Garamond BE Regular", "Georgia", "Times New Roman", serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 4.5rem;
  position: absolute;
  left: 0px;
  top: 32px;
  text-align: center;
  width: 90px;
  -webkit-font-smoothing: antialiased;
}

blockquote p {
  color: #666;
  font-style: italic;
}

cite {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

cite:before {
  content: "— ";
}

blockquote cite {
  display: block;
  margin-top: 25px;
}

/* Monospace --------------------------------- */

code,
kbd,
pre,
tt {
  font-size: 0.9375rem;
  background: #eee;
  font-family: Menlo, Monaco, monospace;
}

kbd,
code,
tt {
  padding: 5px;
  border-radius: 3px;
}

dl {
  line-height: 160%;
}

dl dt {
  font-size: 0.8em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lists ------------------------------------- */

ul,
ol {
  margin: 5px 0 30px 30px;
}

li {
  line-height: 1.5;
  margin: 5px 0 5px 20px;
}

li > ul,
li > ol {
  margin: 5px 0 5px 20px;
}

.reset-list-style,
.reset-list-style ul,
.reset-list-style ol {
  list-style: none;
  margin: 0;
}

.reset-list-style li {
  margin: 0;
}

dt,
dd {
  line-height: 1.5;
}

dt {
  font-weight: 700;
}

dt + dd {
  margin-top: 5px;
}
dd + dt {
  margin-top: 15px;
}

.post-content address {
  padding: 3% 3.5%;
  background: #f1f1f1;
  font-family: var(--kau-font-body);
  font-size: 0.85em;
  line-height: 200%;
  font-weight: 400;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-content pre {
  white-space: pre-wrap; /* css-3 */
  word-wrap: break-word; /* Internet Explorer 5.5+ */
  line-height: 140%;
  padding: 2% 2.5%;
  background: #fafafa;
  border: 1px solid #ddd;
  color: #333;
  font-size: 0.7em;
}

.post-content abbr,
.post-content acronym {
  border-bottom: 1px dashed #ccc;
}

/* Media ------------------------------------- */

figure {
  margin: 0;
}

iframe {
  border: none;
  display: block;
  max-width: 100%;
}

svg,
img,
embed,
object {
  display: block;
  height: auto;
  max-width: 100%;
}

.wp-caption-text,
.gallery-caption,
figcaption {
  color: #666;
  font-size: 1.125rem;
  font-style: italic;
  margin: 15px 0 0;
  text-align: center;
}

.gallery-caption {
  font-size: 1rem;
  line-height: 1.5rem;
}

/* Tables ------------------------------------ */

table {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  font-family: "Helvetica Neue Roman", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  margin: 2em 0;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid #eee;
  line-height: 120%;
  margin: 0;
  overflow: visible;
  padding: 2%;
}

tr:last-child td {
  border-bottom: none;
}

caption {
  color: #444;
  text-align: center;
  padding: 2%;
}

thead {
  vertical-align: bottom;
  white-space: nowrap;
}

th {
  font-size: 1rem;
  font-weight: 700;
}

/* Forms ------------------------------------- */

legend,
label,
input,
textarea {
  font-family: var(--kau-font-body);
  font-size: 1rem;
}

fieldset {
  padding: 25px;
  border: 2px solid #eee;
  margin-bottom: 1em;
}

legend {
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  padding: 10px 12px;
  background: #666;
  color: #fff;
}

label {
  color: #666;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

input,
textarea {
  margin: 0;
}

input[type="file"] {
  padding: 12px;
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 3px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="week"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="color"],
textarea {
  background-color: #fdfdfd;
  border: 2px solid #eee;
  border-radius: 0;
  color: #444;
  display: block;
  font-size: 1rem;
  line-height: normal;
  outline: none;
  padding: 1rem;
  min-height: 50px;
  transition: background-color 0.2s ease-in-out;
  -webkit-appearance: none;
  width: 100%;
  box-shadow: none;
}

textarea {
  height: 180px;
  line-height: 1.4;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: var(--kau-color-text);
  border: 2px solid #eee;
  outline-color: var(--kau-color-focus);
}

/* One keyboard-focus ring for all form controls, including form links. */
body :is(form, .gform_wrapper) :is(input, textarea, select, button, a[href], [tabindex]):focus-visible {
  outline: var(--kau-focus-outline);
  outline-offset: var(--kau-focus-offset);
}

/* Buttons ----------------------------------- */

:is(
  button,
  input[type="button"],
  input[type="reset"],
  input[type="submit"],
  .button,
  .faux-button,
  .wp-block-button__link,
  .wp-block-file__button
):not(.nav-toggle):not(.gpb-booking-time-picker__back):not(.gpb-booking-time-picker__slot):not([class*="rdp-"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background-color: var(--kau-button-background, var(--kau-color-button));
  border: 2px solid var(--kau-button-border, transparent);
  border-radius: var(--kau-button-radius);
  color: var(--kau-color-text);
  font-family: var(--kau-font-body);
  font-size: var(--kau-button-font-size);
  font-weight: 400;
  line-height: 1.2;
  min-height: var(--kau-button-height);
  min-width: 100px;
  /* Offset the condensed font's visible letters slightly below its line box. */
  padding-block: var(--kau-button-padding-y);
  padding-inline: var(--kau-button-padding-x);
  box-shadow: var(--kau-button-shadow);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;

  &:hover:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--kau-color-button-hover);
    color: var(--kau-color-text);
    text-decoration: none;
  }

  &:focus-visible {
    outline: var(--kau-focus-outline);
    outline-offset: var(--kau-focus-offset);
  }

  &:is(:disabled, [aria-disabled="true"]) {
    cursor: not-allowed;
    opacity: 0.5;
  }
}

/* Outline buttons share the base sizing and change only their colors. */
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button__link.is-style-outline {
  --kau-button-background: transparent;
  --kau-button-border: var(--kau-color-text);
}

/* Gravity Forms uses the same tokens through its supported theme variables. */
body .gform_wrapper {
  --gf-font-family-base: var(--kau-font-body);
  --gf-ctrl-label-font-size-primary: 1rem;
  --gf-ctrl-label-font-size-secondary: 1rem;
  --gf-ctrl-label-font-size-tertiary: 1rem;
  --gf-ctrl-label-font-size-quaternary: 1rem;
  --gf-ctrl-font-family: var(--kau-font-body);
  --gf-ctrl-font-size: 1rem;
  --gf-ctrl-size: 50px;
  --gf-ctrl-line-height: 2.375rem;
  --gf-ctrl-padding-x: 1rem;
  --gf-ctrl-padding-y: 1rem;
  --gf-ctrl-shadow: none;
  --gf-ctrl-border-color-focus: var(--kau-color-focus);
  --gf-ctrl-outline-color-focus: var(--kau-color-focus);
  --gf-ctrl-outline-width-focus: 3px;
  --gf-ctrl-outline-offset: var(--kau-focus-offset);
  --gf-ctrl-btn-shadow-focus: none;
  --gf-ctrl-btn-shadow-focus-simple: none;
  --gf-ctrl-btn-shadow-focus-tertiary: none;
  --gf-ctrl-btn-border-color-focus-primary: var(--kau-color-focus);
  --gf-ctrl-btn-border-color-focus-secondary: var(--kau-color-focus);
  --gf-ctrl-btn-border-color-focus-tertiary: var(--kau-color-focus);
  --gf-ctrl-btn-border-color-focus-ctrl: var(--kau-color-focus);
  --gf-ctrl-btn-font-family: var(--kau-font-body);
  --gf-ctrl-btn-font-size: var(--kau-button-font-size);
  --gf-ctrl-btn-font-weight: 400;
  --gf-ctrl-btn-line-height: 1.2;
  --gf-ctrl-btn-radius: var(--kau-button-radius);
  --gf-ctrl-btn-size: var(--kau-button-height);
  --gf-ctrl-btn-padding-y: var(--kau-button-padding-y);
  --gf-ctrl-btn-padding-x: var(--kau-button-padding-x);
  --gf-ctrl-btn-shadow: var(--kau-button-shadow);
  --gf-ctrl-btn-bg-color-primary: var(--kau-color-button);
  --gf-ctrl-btn-bg-color-hover-primary: var(--kau-color-button-hover);
  --gf-ctrl-btn-bg-color-focus-primary: var(--kau-color-button);
  --gf-ctrl-btn-color-primary: var(--kau-color-text);
  --gf-ctrl-btn-color-hover-primary: var(--kau-color-text);
  --gf-ctrl-btn-border-width-primary: 2px;
}

/* File inputs have their own native button and must not inherit text-field padding. */
body .gform_wrapper .gfield input[type="file"] {
  --gf-ctrl-size: 38px;
  --gf-ctrl-file-padding-x: 0 12px;
  --gf-ctrl-padding-y: 0;
  --gf-ctrl-line-height: 2.375rem;
  --gf-ctrl-shadow: 0 1px 4px rgba(18, 25, 97, 0.0779552);
}

/* Keep single-line field sizing above the plugin's normal control rules. */
body .gform_wrapper .gfield :is(input:where(:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"])), textarea) {
  min-height: 50px;
}

/* Preserve the minimum width even when Gravity Forms supplies logical sizing. */
body .gform_wrapper.gform-theme.gform-theme--framework :is(input[type="submit"].button.gform_button, .gform_next_button, .gform_previous_button) {
  --gf-local-min-width: 100px;
}

/* Scope booking controls above Gravity Forms' generic button selectors.
   The alternate selector also covers older Gravity Forms themes. */
body :is(.gpb-booking-time-picker, .gform_wrapper.gform-theme.gform-theme--framework .gpb-booking-time-picker) {
  & button.gpb-booking-time-picker__slot {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 42px;
    min-width: 0;
    padding: 10px 12px 6px;
    background-color: var(--kau-color-white);
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--kau-color-text);
    font-family: var(--kau-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    box-shadow: none;
    transform: none;

    &:hover:not(:disabled):not(.gpb-booking-time-picker__slot--unavailable) {
      background-color: #f5f5f5;
      border-color: var(--kau-color-primary-dark);
    }

    &.gpb-booking-time-picker__slot--selected,
    &.gpb-booking-time-picker__slot--selected:hover {
      background-color: var(--kau-color-primary);
      border-color: var(--kau-color-primary-dark);
    }

    &:focus-visible {
      outline: var(--kau-focus-outline);
      outline-offset: var(--kau-focus-offset);
      box-shadow: none;
    }
  }

  & button.gpb-booking-time-picker__back {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: var(--kau-color-text);
    font-family: var(--kau-font-body);
    font-size: 0.875rem;
    min-height: 0;
    min-width: 0;
    padding: 0;
    cursor: pointer;

    &:hover {
      background: transparent;
      color: var(--kau-color-text);
      text-decoration: underline;
    }

    &:focus-visible {
      outline: var(--kau-focus-outline);
      outline-offset: var(--kau-focus-offset);
    }
  }

  /* Calendar navigation keeps its icon-button geometry and transparent fill. */
  & button:is(.rdp-button_next, .rdp-button_previous) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--rdp-nav_button-width);
    height: var(--rdp-nav_button-height);
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    &:hover {
      background: transparent;
    }
  }

  /* Retain DayPicker's responsive circle dimensions. */
  & button.rdp-day_button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font: inherit;
    line-height: 1;
    box-sizing: border-box;
    width: var(--rdp-day_button-width);
    height: var(--rdp-day_button-height);
    min-width: 0;
    min-height: 0;
    border: var(--rdp-day_button-border);
    border-radius: var(--rdp-day_button-border-radius);
    background: transparent;
    color: inherit;
    box-shadow: none;
    padding: 4px 0 0;

    &:focus-visible {
      outline: var(--kau-focus-outline);
      outline-offset: var(--kau-focus-offset);
    }
  }

  & .gpb-day--available:not(.rdp-selected) .rdp-day_button:hover:not(:disabled) {
    background-color: var(--kau-color-primary-dark);
    color: var(--kau-color-text);
    cursor: pointer;
  }

  & .rdp-selected .rdp-day_button {
    border: var(--rdp-selected-border);
  }
}

/* -------------------------------------------------------------------------------- */
/*	2.	Structure
/* -------------------------------------------------------------------------------- */

.wrapper {
  margin: 6% 0 6% 300px;
}

.wrapper-inner {
  width: 900px;
  max-width: 84%;
  margin: 0 auto;
}

/* Sections ---------------------------------- */

.bg-light {
  background: #fafafa;
}
.bg-dark {
  background: #444;
}

/* Grid Structure ---------------------------- */

.one-half,
.one-third,
.two-thirds {
  float: left;
  margin-left: 5%;
}

.one-half {
  width: 47.5%;
}
.one-third {
  width: 30%;
}
.two-thirds {
  width: 65%;
}

.one-half:first-child,
.one-third:first-child,
.two-thirds:first-child {
  margin-left: 0;
}

/* -------------------------------------------------------------------------------- */
/*	3.	Site Header
/* -------------------------------------------------------------------------------- */

.sidebar {
  background-color: var(--kau-color-primary);
  display: flex;
  height: 100%;
  overflow: auto;
  padding: 80px 40px 0 40px;
  position: fixed;
  left: 0;
  top: 0;
  width: 300px;
}

.sidebar a {
  color: black;
  text-decoration: none;
  font-family: var(--kau-font-heading);
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.sidebar-top,
.sidebar-bottom {
  width: 100%;
}

.sidebar-bottom {
  padding-bottom: 40px;
}

.blog-title {
  font-size: 1.5em;
  line-height: 1;
  font-weight: 700;
  margin: 0;
  text-align: start;
  word-break: break-word;
  hyphens: auto;
}

.blog-title:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin: 30px 0;
  background: #fff;
  background: rgba(255, 255, 255, 0.2);
}

/* Main Menu --------------------------------- */

.main-menu li {
  position: relative;
  text-align: right;
  margin-top: 20px;
}

.main-menu > li:first-child {
  margin-top: 0;
}

.main-menu .sub-menu {
  margin-right: 20px;
}

.main-menu a {
  color: black;
  display: block;
  font-size: 0.9em;
  font-weight: 700;
}

.main-menu a:hover,
.main-menu .current_menu_item > a,
.main-menu .current_page_item > a {
  color: black;
  text-decoration: underline;
}

/* Credits ----------------------------------- */

.credits {
  color: black;
  font-size: 0.8125rem;
  margin: 40px 0 0;
  text-align: right;
}

.credits a {
  color: inherit;
}

.credits a:hover {
  color: #fff;
}

/* -------------------------------------------------------------------------------- */
/*	4.	Post: Archive
/* -------------------------------------------------------------------------------- */

/* Archive Header ---------------------------- */

.archive-header {
  margin-bottom: 40px;
}

.archive-title {
  color: #666;
  margin: 0;
  text-align: center;
}

.archive-description {
  line-height: 1.3;
  margin-top: 20px;
  text-align: center;
}

.archive-description p {
  line-height: inherit;
  text-align: inherit;
}

/* Search Form ------------------------------- */

.searchform {
  margin-top: 40px;
}

.searchform > div {
  display: flex;
}

.searchform input + input {
  margin-left: 10px;
}

/* Post Styling ------------------------------ */

.post,
.posts .page,
.single-attachment .attachment {
  background: #fff;
}

.posts .post,
.posts .page {
  margin-bottom: 10%;
}

.sticky .is-sticky {
  display: inline;
}

.post-inner {
  padding: 8%;
}

/* Featured Media ---------------------------- */

.featured-media img,
.featured-media a {
  display: block;
}

.featured-media img {
  margin: 0 auto;
}

.format-standard .featured-media a:hover img {
  opacity: 0.8;
}

/* Post Header ------------------------------- */

.post-header {
  margin-bottom: 40px;
}

.post-header a {
  text-decoration: none;
}

.post-header:last-child {
  margin-bottom: 0;
}

.post-date {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #767676;
}

.post-date a {
  color: inherit;
}
.post-date a:hover {
  color: #333;
}

.post-date .sep {
  font-weight: 400;
  color: #ddd;
  margin: 0 5px;
}

.post-title {
  font-size: 2em;
  line-height: 120%;
  margin: 0;
  word-break: break-word;
  -ms-word-break: break-word;
}

.post-title a {
  color: inherit;
}
.post-title a:hover {
  color: #6aa897;
}

/* Format: Gallery --------------------------- */

.flexslider {
  position: relative;
  overflow: hidden;
}

.flexslider img {
  width: 100%;
}

.flex-direction-nav {
  list-style: none;
  margin: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -25px;
}

.flex-direction-nav li {
  margin: 0;
}

.flex-direction-nav a {
  display: block;
  width: 50px;
  height: 50px;
  background: #444 no-repeat center;
  background-size: auto 10px;
  position: absolute;
}

.flex-direction-nav .flex-prev {
  left: 0;
  background-image: url(assets/images/icons/chevron-left_w.png);
}

.flex-direction-nav .flex-next {
  right: 0;
  background-image: url(assets/images/icons/chevron-right_w.png);
}

.flex-direction-nav a:hover {
  background-color: #6aa897;
}

.flex-direction-nav .flex-prev:active {
  margin-left: -2px;
}
.flex-direction-nav .flex-next:active {
  margin-right: -2px;
}

/* Format: Quote ----------------------------- */

.post.format-quote,
.post.format-quote + .post {
  border-top: none;
}

.post-quote {
  background: #444;
  color: #fff;
  display: block;
  text-decoration: none;
}

.post-quote blockquote,
.post-quote blockquote p {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 150%;
}

.post-quote blockquote {
  background-color: transparent;
}

.post-quote blockquote:before {
  color: inherit;
}

.post-quote cite {
  font-size: 1.1rem;
  display: block;
  margin-top: 30px;
}

.post-quote cite:before {
  content: "— ";
}

a.post-quote:hover {
  background: #6aa897;
  color: #fff;
}

/* -------------------------------------------------------------------------------- */
/*	6.	Post: Single
/* -------------------------------------------------------------------------------- */

/* Page Links -------------------------------- */

.page-links {
  background: #eee;
  display: flex;
  color: #767676;
  font-size: 0.9em;
  padding: 0 8%;
}

.page-links > span,
.page-links > a {
  display: inline-block;
  padding: 3.5% 4.5%;
}

.page-links span.title {
  padding-left: 0;
  background: none;
  color: #767676;
}

.page-links > span {
  background: #e6e6e6;
  color: #666;
}

.page-links a:hover {
  background: #6aa897;
  color: #fff;
}

/* Post Meta --------------------------------- */

.post-meta-toggle {
  background: #e6e6e6;
  color: #666;
  display: block;
  padding: 6% 4%;
}

.post-meta-toggle-inner {
  display: block;
  text-align: center;
  margin: 0 auto;
  position: relative;
}

.post-meta-toggle p,
.post-meta-toggle .bars {
  vertical-align: middle;
}

.post-meta-toggle p {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 0.6875rem;
  margin: 0 0 0 4px;
  text-transform: uppercase;
}

.post-meta-toggle .bars {
  display: inline-block;
  height: 10px;
  position: relative;
  width: 15px;
}

.post-meta-toggle .bar {
  background-color: currentColor;
  height: 2px;
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
}

.post-meta-toggle .bar:nth-child(2) {
  top: 4px;
}
.post-meta-toggle .bar:nth-child(3) {
  top: 8px;
}

.post-meta-toggle:hover {
  cursor: pointer;
}

/* active state */

.post-meta-toggle.active {
  background: #555;
}

.post-meta-toggle.active p {
  color: #fff;
}
.post-meta-toggle.active .bar {
  background: #fff;
}

.post-meta-toggle.active .bar:nth-child(1),
.post-meta-toggle.active .bar:nth-child(3) {
  top: 4px;
}

.post-meta-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.post-meta-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg);
}

.post-meta-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg);
}

/* POST META INNER */

.no-js .post-meta-toggle {
  display: none;
}
.no-js .post-meta-inner {
  display: block;
}

.post-meta-inner {
  display: none;
  background: #444;
  padding: 8%;
  font-size: 0.95em;
  text-align: center;
  color: #fff;
}

.post-meta-inner a {
  color: #fff;
  text-decoration: none;
}

.post-meta-inner a:hover {
  color: #6aa897;
}

.post-meta-inner p {
  display: inline-block;
  width: 46%;
  margin: 20px 5% 20px 0;
  vertical-align: top;
  text-align: center;
  line-height: 130%;
}

.post-meta-inner p:nth-child(2n),
.post-meta-inner p:last-child {
  margin-right: 0;
}

.post-meta-inner p strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8em;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  text-align: center;
}

/* Post Navigation --------------------------- */

.post-nav {
  padding-top: 20px;
  border-top: 2px solid #555;
  margin-top: 20px;
}

/* -------------------------------------------------------------------------------- */
/*	X.	Blocks
/* -------------------------------------------------------------------------------- */

/* Block Editor Colors ----------------------- */

:root .has-accent-color {
  color: #6aa897;
}
:root .has-black-color {
  color: #272f38;
}
:root .has-dark-gray-color {
  color: #444;
}
:root .has-medium-gray-color {
  color: #666;
}
:root .has-light-gray-color {
  color: #888;
}
:root .has-accent-background-color {
  background-color: #6aa897;
}
:root .has-white-color {
  color: #fff;
}

:root .has-black-background-color {
  background-color: #272f38;
}
:root .has-dark-gray-background-color {
  background-color: #444;
}
:root .has-medium-gray-background-color {
  background-color: #666;
}
:root .has-light-gray-background-color {
  background-color: #888;
}
:root .has-white-background-color {
  background-color: #fff;
}

/* Block Editor Font Sizes ------------------- */

:root .has-small-font-size {
  font-size: 0.842em;
}
:root .has-regular-font-size {
  font-size: 1em;
}

:root .has-large-font-size,
:root .has-larger-font-size {
  line-height: 1.45;
}

:root .has-large-font-size {
  font-size: 1.2em;
}
:root .has-larger-font-size {
  font-size: 1.4em;
}

/* Block: Button ----------------------------- */
/* Block: Quote ------------------------------ */

.post-content blockquote,
.post-content .wp-block-quote.is-large,
.post-content .wp-block-quote.is-style-large {
  margin-bottom: 1.25em;
  padding: 30px 30px 30px 90px;
}

.post-content blockquote p:last-child {
  margin-bottom: 0;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
  font-size: 1.33em;
  line-height: 1.5;
}

.wp-block-quote.is-large cite,
.wp-block-quote.is-style-large cite {
  display: block;
  font-size: 0.8em;
  text-align: inherit;
}

/* Block: Pullquote -------------------------- */

.wp-block-pullquote,
.wp-block-pullquote blockquote {
  background: none;
  border: none;
  padding: 0;
}

.wp-block-pullquote blockquote {
  margin-bottom: 0;
}

.wp-block-pullquote.is-style-solid-color blockquote {
  max-width: calc(100% - 40px);
}

.wp-block-pullquote.is-style-solid-color blockquote cite {
  text-transform: uppercase;
}

.wp-block-pullquote blockquote:before {
  content: none;
}

.wp-block-pullquote cite {
  color: #666;
}

/* Block: Gallery ---------------------------- */

.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
  margin: 0;
  padding-bottom: 10px;
}

.post-content .wp-block-gallery.alignfull {
  padding: 0 8px;
}

.post-content ul.wp-block-gallery:not(.alignfull) {
  margin-left: 0;
}

/* Block: Image ------------------------------ */

.wp-block-image .aligncenter > figcaption,
.wp-block-image .alignleft > figcaption,
.wp-block-image .alignright > figcaption,
.wp-block-image.is-resized > figcaption {
  display: block;
}

/* Block: Cover Image ------------------------ */

.wp-block-cover-image.alignfull {
  min-height: 75vh;
}

.wp-block-cover-image p {
  font-weight: 400;
}

/* Block: Audio ------------------------------ */

.wp-block-audio audio {
  width: 100%;
}

/* Block: Social ----------------------------- */

.wp-block-social-links.is-style-logos-only .wp-social-link svg {
  max-width: none;
}

/* Block: File ------------------------------- */

.wp-block-file {
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  display: flex;
  font-family: "Helvetica Neue Roman", Helvetica, Arial, sans-serif;
  justify-content: space-between;
  margin: 30px 0;
  padding: 20px;
}

.wp-block-file a:not(.wp-block-file__button) {
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.wp-block-file__button {
  font-weight: 700;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------------- */
/*	7.	Post Content
/* -------------------------------------------------------------------------------- */

.post-content {
  font-family: var(--kau-font-body);
  font-size: 1.25em;
  color: #444;
}

.post-content > *:first-child {
  margin-top: 0 !important;
}
.post-content > *:last-child {
  margin-bottom: 0 !important;
}

.post-content p.has-drop-cap:first-letter {
  font-size: 5.8em;
}

/* Post Content Media ------------------------ */

.wp-caption,
.post-content img {
  max-width: 100%;
}

.alignnone,
.alignleft,
.alignright,
.aligncenter {
  max-width: 100%;
}

.alignnone,
.aligncenter,
.alignfull,
.alignwide {
  margin-bottom: 2.5rem;
  margin-top: 2.5rem;
}

:root .alignfull {
  margin-left: calc((800px) * -0.08);
  max-width: 800px;
  width: 800px;
}

.post-content .alignleft,
.post-content .alignright {
  margin-bottom: 1em;
  max-width: 45%;
}

.post-content .alignleft {
  float: left;
  margin-right: 1.5em;
}

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

.post-content .aligncenter,
.post-content .aligncenter img {
  margin-left: auto;
  margin-right: auto;
}

/* JETPACK TILES GALLERY */

.tiled-gallery .tiled-gallery-caption {
  color: #666;
  font-family: "Helvetica Neue Roman", Helvetica, Arial, sans-serif;
  font-weight: 700;
  padding: 10px;
  text-transform: uppercase;
  text-align: center;
}

/* -------------------------------------------------------------------------------- */
/*	8.	Comments
/* -------------------------------------------------------------------------------- */

.comments,
.comment-respond {
  padding: 8%;
  background: #fff;
}

.comment-respond {
  margin-top: 8%;
}

.comments-title-container {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin: 8% 0;
  position: relative;
}

.comments-title,
.comments-subtitle {
  margin: 0;
}

.comments-title {
  font-size: 1.75em;
  font-weight: 700;
}

.comments-subtitle {
  font-size: 1em;
  margin-left: 20px;
}

.comments-subtitle a {
  text-decoration: none;
}
.comments-subtitle a:hover {
  text-decoration: underline;
}

/* Comment ----------------------------------- */

.commentlist .children {
  margin-left: 8%;
}

div.comment {
  margin-top: 40px;
  border-top: 2px solid #eee;
  padding-top: 40px;
  position: relative;
}

li.comment {
  position: relative;
}

.commentlist > li.comment:first-child > div.comment:first-child {
  margin: 0;
  border: none;
  padding: 0;
}

.comment .avatar-container {
  display: block;
  width: 60px;
  position: absolute;
  left: 0;
}

.comment .avatar {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 999px;
  position: relative;
  z-index: 2;
}

.bypostauthor > .comment .avatar {
  border: 4px solid #6aa897;
}

.comment-inner {
  margin-left: 80px;
}

/* COMMENT HEADER */

.comment-header {
  padding: 8px 0 20px;
  position: relative;
}

.comment-header a {
  text-decoration: none;
}

.comment-header h4 {
  font-size: 1em;
  font-weight: 700;
  margin: 0;
}

.comment-header h4 a {
  color: #333;
}
.comment-header h4 a:hover {
  color: #6aa897;
}

.comment-date {
  font-size: 0.9em;
  font-weight: 600;
  margin: 6px 0 0;
}

.comment-date a {
  color: #666;
}
.comment-date a:hover {
  color: #333;
}

/* COMMENT ACTIONS */

.comment-actions {
  font-size: 0.9em;
  font-weight: 600;
  margin-top: 20px;
}

.comment-actions p {
  display: inline-block;
  margin: 0;
}

.comment-actions p + p:before {
  content: "/";
  display: inline-block;
  margin: 0 10px 0 7px;
  color: #ddd;
}

.comment-actions a {
  color: #666;
  text-decoration: none;
}

.comment-actions a:hover {
  color: #6aa897;
}

/* Comment Navigation ------------------------ */

.comments-nav {
  border-top: 2px solid #eee;
  display: flex;
  font-size: 0.9em;
  font-weight: 700;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 40px;
}

.comments-nav a {
  color: #666;
  text-decoration: none;
}

.comments-nav a:hover {
  color: #6aa897;
}

/* -------------------------------------------------------------------------------- */
/*	9.	Comment Respond
/* -------------------------------------------------------------------------------- */

.commentlist .comment-respond {
  border-top: 2px solid #eee;
  margin-top: 40px;
  padding: 40px 0 0;
}

.comment-reply-title {
  font-size: 1.75em;
  font-weight: 700;
  margin: 0 0 40px;
}

#cancel-comment-reply-link {
  font-size: 1rem;
  font-weight: 700;
  margin-left: 5px;
}

#cancel-comment-reply-link:hover {
  text-decoration: underline;
}

/* Comment Form ------------------------------ */

.comment-form p {
  margin-bottom: 30px;
}

.comment-form > p:last-of-type {
  margin-bottom: 0;
}

.comment-form p.logged-in-as,
.comment-form p.comment-notes {
  color: #666;
  margin: -25px 0 40px;
}

.comment-form p.logged-in-as a,
.comment-form p.comment-notes a {
  color: inherit;
  text-decoration: none;
}

.comment-form p.logged-in-as a:hover,
.comment-form p.comment-notes a:hover {
  color: #6aa897;
}

.comment-form label {
  display: block;
  margin: 0 0 5px 0;
}

.comment-form-author,
.comment-form-email {
  float: left;
  width: 47.5%;
}

.comment-form-author {
  margin-right: 5%;
}

.comment-form input[type="checkbox"] + label {
  display: inline;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0 0 0 0.6875rem;
  text-transform: none;
}

.comment-form label .required {
  margin-left: 2px;
  color: red;
}

.comment-form p.comment-subscription-form {
  margin: 30px 0 0;
}
.comment-form p.comment-subscription-form + p.comment-subscription-form {
  margin: 10px 0 0;
}
.comment-subscription-form label {
  font-size: 1rem;
}

/* -------------------------------------------------------------------------------- */
/*	10.	Pagination
/* -------------------------------------------------------------------------------- */

.infinite-scroll .archive-nav {
  display: none;
}

.archive-nav {
  display: flex;
  font-weight: 700;
  justify-content: space-between;
}

.archive-nav.only-next {
  justify-content: flex-end;
}

.archive-nav a {
  color: #666;
  text-decoration: none;
}

.archive-nav a:hover {
  color: #6aa897;
}

/* Jetpack Infinite Scroll ------------------- */

#infinite-handle {
  text-align: center;
}

#infinite-handle span {
  background-color: #444;
  border-radius: 0;
  color: #fff;
  display: inline-block;
  font-size: 0.8em;
  padding: 16px 20px;
}

#infinite-handle span:hover {
  background: #6aa897;
}

.infinite-loader .spinner {
  display: block;
  margin: 0 auto;
}

/* Gravity Forms fields and choice controls -------------------------------------- */

.gfield_description,
.gfield_label,
.gfield_required_text,
.gfield_required {
  font-family: var(--kau-font-body);
  font-size: 1rem;
}

.post-content form {
  font-family: var(--kau-font-body);
}

@media (max-width: 480px) {
  .blog-title a {
    font-size: 1rem;
  }
}
.page-template-page-form .sidebar {
  display: none;
}
.page-template-page-form .wrapper {
  margin: auto;
  max-width: 1400px;
  background-color: white;
}
.page-template-page-form .wrapper-inner {
  width: initial;
  max-width: none;
  padding: 1rem;
}

/* Radio choice cards */
.gform_wrapper .gfield_radio {
  gap: 1rem;
}

.gform_wrapper .gfield_radio .gchoice {
  margin: 0;
  border: 1px solid var(--kau-color-primary-dark);
  background-color: transparent;
  padding: 1rem;
}

.gform_wrapper .gfield_radio .gchoice h4 {
  color: var(--kau-color-text);
}

/* Skapa en anpassad radio-knapp */
.gform_wrapper .gchoice input[type="radio"] + label {
  position: relative;
  padding-left: 4rem;
}

.gform_wrapper .gchoice input[type="radio"] + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
}

/* Skapa den visuella radio-knappen */
.gform_wrapper .gchoice input[type="radio"] + label::before {
  border: 2px solid var(--kau-color-text);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

/* Visa ifylld cirkel när vald */
.gform_wrapper .gchoice input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background-color: var(--kau-color-text);
  border-radius: 50%;
}

/* Checkbox choices: compact KAU yellow controls with a dark checkmark. */
.gform_wrapper .gfield_checkbox {
  gap: 1rem;
}

.gform_wrapper .gchoice:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  position: relative;
  margin: 0;
  border: none;
  background-color: transparent;
  padding: 0;
}

/* Keep the native input focusable while the label draws the visible control. */
.gform_wrapper .gchoice input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

/* All frontend checkboxes share the same control, regardless of label markup.
   The framework selector keeps Gravity Forms from overriding the theme style. */
body :is(input[type="checkbox"], .gform_wrapper.gform-theme.gform-theme--framework input[type="checkbox"]) {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  position: static;
  box-sizing: border-box;
  flex: 0 0 1.5625rem;
  width: 1.5625rem;
  height: 1.5625rem;
  min-width: 1.5625rem;
  min-height: 1.5625rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--kau-color-text);
  border-radius: 5px;
  background-color: var(--kau-color-white);
  background-image: none;
  color: var(--kau-color-text);
  box-shadow: none;
  clip-path: none;
  overflow: visible;
  opacity: 1;
  vertical-align: middle;
  cursor: pointer;

  &::before {
    content: "";
    display: block;
    position: static;
    box-sizing: border-box;
    width: 7px;
    height: 13px;
    margin: 0;
    padding: 0;
    border: solid var(--kau-color-text);
    border-width: 0 2px 2px 0;
    background: none;
    box-shadow: none;
    opacity: 0;
    transform: translateY(-2px) rotate(45deg);
  }

  &::after { content: none; }

  &:checked {
    background-color: var(--kau-color-primary);
    border-color: var(--kau-color-text);
    box-shadow: 0 0 0 2px var(--kau-color-primary-dark);

    &::before { opacity: 1; }
  }

  &:indeterminate {
    background-color: var(--kau-color-primary);

    &::before {
      width: 11px;
      height: 0;
      border-width: 0 0 2px;
      opacity: 1;
      transform: none;
    }
  }

  &:focus-visible {
    outline: var(--kau-focus-outline);
    outline-offset: var(--kau-focus-offset);
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}

/* Native checkbox controls do not need a second control drawn on their label. */
body input[type="checkbox"] + label::before,
body input[type="checkbox"] + label::after {
  content: none;
}

.gform_wrapper .gchoice input[type="checkbox"] + label {
  padding-left: 0;
}

body .gform_wrapper .gfield .ginput_container_consent {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
}

body .gform_wrapper .ginput_container_consent input[type="checkbox"] + label {
  margin-inline-start: 0;
  font-family: var(--kau-font-body);
  font-size: 1rem;
}

.gform_wrapper .gchoice input[type="radio"]:focus-visible + label::before {
  outline: var(--kau-focus-outline);
  outline-offset: var(--kau-focus-offset);
}

.gform_wrapper .gchoice input:is([type="checkbox"], [type="radio"]):disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Use the same line box and font offset for both types of choice labels. */
.gform_wrapper .gchoice input:is([type="checkbox"], [type="radio"]) + label {
  --gf-local-margin-x: 0;
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin: 0;
  min-height: 29px;
  font-family: var(--kau-font-body);
  font-size: 1rem;
  line-height: 1.5625rem;
  padding-top: 4px;
  padding-bottom: 0;
}

/* Extra styling för text och länkar */
.gform_wrapper .gchoice label h4 {
  margin: 0;
  font-weight: bold;
}

.gform_wrapper .gchoice label p {
  margin: 5px 0 0;
  font-size: 0.875rem;
}

.gform_wrapper .gchoice label a {
  color: #0073e6;
  text-decoration: none;
}

.gform_wrapper .gchoice label a:hover {
  text-decoration: underline;
}

.gform_wrapper .gchoice:has(input[type="radio"]:checked) {
  background-color: var(--kau-color-primary-dark);
  border: 1px solid var(--kau-color-primary-dark);
}
select {
  font-family: var(--kau-font-body);
}

/* Numeric inputs keep the same vertical alignment as dropdowns. */
body .gform_wrapper .gfield input[type="number"] {
  box-sizing: border-box;
  height: 50px;
  min-height: 50px;
  line-height: 1.25rem;
  padding: 16px 1rem 12px;
}

/* All single-select dropdowns share the KAU style. Calendar caption controls
   are transparent overlays managed by DayPicker and retain their own layout. */
body :is(select, .gform_wrapper .gfield select):not([multiple]):not(.rdp-dropdown) {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  height: 50px;
  min-height: 50px;
  max-width: 100%;
  padding: 16px 2.5rem 12px 1rem;
  border: 1px solid #686e77;
  border-radius: 3px;
  background-color: var(--kau-color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23686e77' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 0.75rem 0.5rem;
  box-shadow: none;
  color: var(--kau-color-text);
  font-family: var(--kau-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
  cursor: pointer;

  &:focus-visible {
    outline: var(--kau-focus-outline);
    outline-offset: var(--kau-focus-offset);
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}

/* -------------------------------------------------------------------------------- */
/*	11.	Responsive
/* -------------------------------------------------------------------------------- */

@media (max-width: 1254px) {
  /* Post Content --------------------------------------- */

  .post-content .alignfull {
    margin-left: calc(((100vw - 300px) * 0.84) * -0.08);
    max-width: calc((100vw - 300px) * 0.84);
    width: calc((100vw - 300px) * 0.84);
  }
}

@media (max-width: 1100px) {
  /* Structure ----------------------------- */

  .sidebar {
    padding: 60px 25px 0 25px;
    width: 250px;
  }

  .sidebar-bottom {
    padding-bottom: 30px;
  }

  .wrapper {
    margin-left: 250px;
  }

  /* Post Content -------------------------- */

  .post-content .alignfull {
    margin-left: calc(((100vw - 250px) * 0.84) * -0.08);
    max-width: calc((100vw - 250px) * 0.84);
    width: calc((100vw - 250px) * 0.84);
  }
}

@media (max-width: 930px) {
  /* Structure ------------------------------ */

  .sidebar {
    padding: 30px 0;
    position: relative;
    bottom: auto;
    right: auto;
    top: auto;
    width: 100%;
  }

  .sidebar-inner {
    margin: 0 auto;
    max-width: 86%;
  }

  .wrapper-inner {
    margin: 0;
    max-width: none;
    width: auto;
  }

  .wrapper {
    margin: 7%;
  }

  /* Site Header --------------------------- */

  .blog-title {
    text-align: left;
  }

  .blog-title:after,
  .main-menu,
  .sidebar-bottom {
    display: none;
  }

  .sidebar-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  /* Navigation ------------------------------ */

  .nav-toggle {
    display: block;
    flex-shrink: 0;
    margin-left: 20px;
  }

  .nav-toggle,
  .nav-toggle:hover {
    background-color: #444;
  }

  .nav-toggle .bars {
    float: right;
    height: 10px;
    position: relative;
    width: 15px;
  }

  .nav-toggle .bar {
    background-color: #fff;
    height: 2px;
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
  }

  .nav-toggle .bar:nth-child(2) {
    top: 4px;
  }
  .nav-toggle .bar:nth-child(3) {
    top: 8px;
  }

  .nav-toggle p {
    color: #fff;
    float: right;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 0.625rem;
    margin: 0 8px 0 0;
    text-align: right;
    text-transform: uppercase;
  }

  .nav-toggle .close {
    display: none;
  }

  .nav-toggle:hover {
    cursor: pointer;
  }

  .nav-toggle.active .bar:nth-child(1),
  .nav-toggle.active .bar:nth-child(3) {
    top: 4px;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg);
  }
  .nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav-toggle.active .menu {
    display: none;
  }
  .nav-toggle.active .close {
    display: block;
  }

  /* MOBILE MENU */

  .mobile-menu {
    padding: 40px 7%;
  }

  .mobile-menu li {
    margin-top: 25px;
  }

  .mobile-menu > li:first-child {
    margin-top: 0;
  }

  .mobile-menu .sub-menu {
    margin-left: 25px;
  }

  .mobile-menu a {
    color: #bbb;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-menu a:hover {
    color: #fff;
  }

  /* Post Content -------------------------- */

  .post-content .alignfull {
    margin-left: calc((100vw * 0.86) * -0.08);
    max-width: calc(100vw * 0.86);
    width: calc(100vw * 0.86);
  }
}

@media (max-width: 700px) {
  /* Structure ----------------------------- */

  .wrapper,
  .wrapper-inner {
    margin: 0;
    max-width: none;
    width: auto;
  }

  /* Site Header --------------------------- */

  .sidebar {
    padding: 25px 0;
  }

  .sidebar-inner {
    max-width: 90%;
  }

  /* Navigation ---------------------------- */

  .nav-toggle {
    right: 5%;
  }

  .mobile-menu {
    padding: 35px 5%;
  }

  .mobile-menu a {
    font-size: 0.875rem;
  }

  /* Post: Archive ------------------------- */

  .archive-header {
    margin: 7% 0;
  }

  .post-header {
    margin-bottom: 30px;
  }

  .posts .post,
  .posts .page {
    margin-bottom: 0;
  }

  .post + .post {
    border-top: 10px solid #eee;
  }

  .post-inner,
  .archive-nav {
    padding: 40px 5%;
  }

  .page-links {
    padding: 0 5%;
  }

  .page-links > span,
  .page-links > a {
    padding: 15px 20px;
  }

  /* Post: Single -------------------------- */

  .post-meta-inner {
    padding: 40px 5%;
  }

  /* Post Content -------------------------- */

  .post-content .alignfull {
    margin-left: -5vw;
    max-width: 100vw;
    width: 100vw;
  }

  /* Comments ------------------------------ */

  .comments-title-container {
    padding: 35px 5%;
    margin: 0;
    background: #fff;
    border-bottom: 2px solid #eee;
  }

  .comments,
  .comment-respond {
    padding: 40px 5%;
  }

  .comment-respond {
    margin-top: 0;
    border-top: 2px solid #eee;
  }

  .no-comments {
    margin: 10% 0;
  }

  /* Pagination ---------------------------- */

  #infinite-handle,
  .infinite-loader {
    margin: 7% 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  /* Element Base -------------------------- */

  h1 {
    font-size: 1.5em;
  }
  h2 {
    font-size: 1.25em;
  }
  h3 {
    font-size: 1.1em;
  }
  h4 {
    font-size: 1em;
  }
  h5 {
    font-size: 0.9em;
  }
  h6 {
    font-size: 0.7em;
  }

  /* Post: Archive ------------------------- */

  /* FORMAT: GALLERY */

  .flex-direction-nav {
    margin-top: -16px;
  }

  .flex-direction-nav a {
    height: 32px;
    width: 32px;
  }

  /* Comments ------------------------------ */

  .comments-title,
  .comment-reply-title {
    font-size: 1.4em;
  }

  #cancel-comment-reply-link {
    margin-left: 3px;
    font-size: 0.9rem;
  }

  div.comment,
  .comments-nav {
    margin-top: 25px;
    padding-top: 25px;
  }

  .comment-inner {
    margin-left: 64px;
  }

  .comment > .avatar-container {
    width: 44px;
  }

  .comment-header {
    padding-top: 4px;
  }

  /* Comment Respond ----------------------- */

  .comment-reply-title {
    margin-bottom: 35px;
  }

  .comment-form p.logged-in-as,
  .comment-form p.comment-notes {
    margin: -25px 0 30px;
  }

  .comment-form p {
    margin-bottom: 20px;
  }

  .comment-form-author,
  .comment-form-email {
    float: none;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 500px) {
  /* Sidebar ------------------------------- */

  .sidebar {
    padding: 20px 0;
  }

  .blog-title {
    font-size: 1.25em;
  }

  /* Post: Archive ------------------------- */

  .post-header {
    margin-bottom: 20px;
  }

  .post-title {
    font-size: 1.75em;
  }

  /* FORMAT: QUOTE */

  .post-quote blockquote,
  .post-quote blockquote p {
    font-size: 1.25rem;
  }

  /* Post Content -------------------------- */

  .post-content blockquote,
  .post-content .wp-block-quote.is-large,
  .post-content .wp-block-quote.is-style-large {
    padding: 25px;
  }

  .post-content .wp-block-pullquote,
  .post-content .wp-block-pullquote blockquote {
    padding: 0;
  }

  .post-content blockquote:before {
    content: none;
  }

  .post-content .alignleft,
  .post-content .alignright {
    float: none;
    margin: 2em auto;
    max-width: 100%;
  }

  .post-content .alignleft img,
  .post-content .alignright img {
    margin: 0 auto;
  }
}

@media (max-width: 400px) {
  /* Post: Single -------------------------- */

  .post-meta-toggle {
    padding: 30px 4%;
  }

  .post-meta-date span {
    display: none;
  }

  .post-content a.more-link {
    padding: 12px 16px;
  }
}

@media (max-width: 350px) {
  /* Comments ------------------------------ */

  .comment .avatar-container {
    display: none;
  }

  .comment-inner {
    margin-left: 0;
  }
}
