/*
Theme Name: Pink Brand Portal
Description: Бренд-портал по макету Pink. Требует плагин Pink Brandbooks.
Version: 1.2.0
Requires at least: 6.6
Requires PHP: 8.1
Author: Pink
License: GPL-2.0-or-later
Text Domain: pink-brand-portal
*/
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/geist-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/geist-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/geist-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/geist-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/geist-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{--blue:#304ffe;--navy:#1a237e;--line:rgba(48,79,254,.12);--pad:clamp(20px,2.083vw,40px);--text:clamp(16px,1.25vw,24px)}
*{box-sizing:border-box}body{margin:0;font-family:Geist,Arial,sans-serif;font-weight:400;color:#0b0b0b;font-size:var(--text);line-height:1.2}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffbfe3;outline-offset:5px}img{max-width:100%}.icon{width:1.2em;height:1.2em;object-fit:contain;display:inline-block;flex:none}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:white;color:var(--navy);padding:12px}.skip-link:focus{top:20px}
.portal-home{background:var(--navy);color:white;min-height:100svh;display:flex;flex-direction:column;position:relative;isolation:isolate;overflow-x:clip}.home-shapes{position:absolute;inset:0;overflow:hidden;z-index:-1;pointer-events:none}.shape{position:absolute;top:50%;left:50%;width:min(68vw,1280px);height:min(120vh,1300px);transform:translate(-50%,-50%);object-fit:contain}.shape-front{width:min(45vw,848px);height:min(85vh,874px)}.home-header{display:flex;align-items:center;justify-content:space-between;padding:var(--pad);gap:20px}.portal-logo{display:block;width:clamp(48px,4.167vw,80px);height:clamp(48px,4.167vw,80px)}.pill{border:1px solid var(--blue);border-radius:100px;background:transparent;color:inherit;padding:clamp(14px,1.35vw,26px) clamp(20px,1.875vw,36px);display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}.home-main{flex:1;display:flex;align-items:center;justify-content:center;padding:40px 20px 80px;min-height:440px}.welcome{width:100%;max-width:1160px;text-align:center}.welcome h1{font-size:clamp(44px,6.667vw,128px);font-weight:400;line-height:.9;letter-spacing:-.04em;margin:0 0 clamp(35px,3.125vw,60px)}.search-shell{position:relative;background:#1a237e1a;backdrop-filter:blur(10.3px);padding:clamp(12px,1.04vw,20px);border-radius:44px;width:min(100%,596px);margin:auto;text-align:left}.search-field{display:flex;align-items:center;gap:10px;padding:clamp(18px,1.45vw,28px) clamp(16px,1.875vw,36px);border:2px solid white;border-radius:24px;white-space:nowrap}.search-field label{border-right:1px solid #ffffff88;padding-right:10px}.search-field input{min-width:0;width:100%;background:none;color:white;border:0;outline-offset:8px;font-size:inherit}.search-field input::placeholder{color:#ffffff88}.search-results{position:absolute;left:20px;right:20px;top:calc(100% - 10px);background:white;color:var(--navy);border-radius:20px;box-shadow:0 20px 50px #0003;z-index:10;padding:8px;max-height:300px;overflow-y:auto}.search-results[hidden]{display:none}.search-results a{display:block;padding:16px;border-radius:12px;text-decoration:none}.search-results a:hover,.search-results a:focus{background:#304ffe12}.search-results p{padding:12px;margin:0;font-size:16px}.home-footer{padding:var(--pad);display:flex;justify-content:space-between;align-items:flex-end;gap:30px}.home-footer p{max-width:445px;margin:0}.home-footer .copyright{white-space:nowrap}
dialog{width:min(500px,calc(100% - 32px));border:1px solid #ffffff33;border-radius:32px;padding:20px;background:var(--navy);color:white;box-shadow:0 30px 100px #0005}dialog::backdrop{background:#080d42aa;backdrop-filter:blur(8px)}dialog h2,.login-panel h1{font-weight:400;font-size:clamp(28px,2.1vw,40px);line-height:1.05;margin:0 0 24px}.dialog-actions{display:flex;gap:12px;margin-top:24px}.primary{border:0;background:var(--blue);color:white;border-radius:24px;padding:24px 28px;text-align:center;text-decoration:none}.dialog-actions>*{flex:1}.dialog-close{float:right;border:0;background:transparent;color:inherit;font-size:26px;padding:4px 10px}.login-main{flex:1;display:grid;place-items:center;padding:60px 20px}.login-panel{width:min(500px,100%);padding:20px;background:#1a237ecc;border:1px solid #ffffff33;border-radius:32px;backdrop-filter:blur(12px)}.login-panel .search-field{padding:24px 20px;margin:12px 0}.login-panel .primary{width:100%}.login-panel label{white-space:nowrap}.form-error{font-size:16px;color:#ffd8e9;line-height:1.4}.login-back{display:block;text-align:center;font-size:16px;margin:20px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.brand-hero{padding:var(--pad);display:grid;grid-template-columns:1fr 1fr;gap:var(--pad);min-height:min(1080px,56.25vw)}.brand-intro{display:flex;flex-direction:column;min-width:0}.brand-nav{display:flex;align-items:center;flex-wrap:wrap;gap:0;font-size:clamp(12px,.833vw,16px);margin-bottom:clamp(30px,2.083vw,40px)}.brand-nav a,.brand-nav select{border:1px solid var(--line);padding:16px 20px;text-decoration:none;color:var(--blue);background:white;max-width:100%}.brand-nav a:first-child{border-radius:16px 0 0 16px}.brand-nav select{border-radius:0 16px 16px 0;min-width:0}.brand-intro h1{font-size:clamp(42px,5vw,96px);line-height:1.05;font-weight:400;letter-spacing:-.045em;margin:0 0 28px;overflow-wrap:anywhere}.brand-name{border:0;display:table}.brand-description{max-width:445px;margin:0 0 40px}.brand-cover{width:100%;height:100%;max-height:1000px;min-height:420px;object-fit:cover;border-radius:20px}.brand-cover-empty{background:#f1f3ff;display:flex;align-items:center;justify-content:center;color:var(--blue);font-size:clamp(42px,6vw,110px);overflow-wrap:anywhere;padding:40px}.brand-downloads{display:grid;grid-template-columns:1fr 1fr;gap:var(--pad);margin-top:auto;padding-top:50px}.download-card{border:2px solid var(--line);border-radius:20px;padding:20px;color:var(--blue);text-decoration:none;display:flex;flex-direction:column;align-items:flex-start;gap:20px;font-size:clamp(24px,2.083vw,40px);line-height:1.05}.download-card:hover{background:#304ffe08}.download-card .icon{width:clamp(35px,3.125vw,60px);height:clamp(35px,3.125vw,60px)}.section-invitation{padding:clamp(60px,6.25vw,120px) 20px;display:flex;align-items:center;flex-direction:column;gap:24px}.section-invitation h2{font-weight:400;font-size:clamp(42px,5vw,96px);line-height:1.05;letter-spacing:-.035em;max-width:755px;text-align:center;margin:0}.eye-tile{background:var(--blue);border-radius:24px;width:clamp(60px,4.167vw,80px);height:clamp(60px,4.167vw,80px);display:grid;place-items:center}.eye-tile .icon{width:70%;height:70%}.brand-section{border-top:2px solid var(--line);scroll-margin-top:20px}.brand-section:last-child{border-bottom:2px solid var(--line)}.brand-section summary{list-style:none;display:flex;align-items:center;gap:20px;padding:var(--pad);cursor:pointer;font-size:clamp(23px,2.083vw,40px)}.brand-section summary::-webkit-details-marker{display:none}.section-title{overflow-wrap:anywhere}.section-tag{font-size:var(--text);color:var(--blue);border:2px solid #304ffe33;border-radius:16px;padding:8px 16px}.section-toggle{margin-left:auto;flex:none;width:clamp(30px,2.5vw,48px);height:clamp(30px,2.5vw,48px)}.section-toggle img{width:100%;height:100%;object-fit:contain}.eye-closed{display:none}.brand-section[open] .eye-open{display:none}.brand-section[open] .eye-closed{display:block}.section-body{padding:clamp(30px,4.167vw,80px) var(--pad);line-height:1.5;overflow-wrap:anywhere}.section-body>:first-child{margin-top:0}.section-body h2{font-size:clamp(30px,3.333vw,64px);font-weight:400;line-height:.95;letter-spacing:-.025em}.section-body h3{font-size:clamp(26px,2.3vw,44px);font-weight:400}.section-body a{color:var(--blue)}.section-body .wp-block-columns{gap:var(--pad);margin:0}.pink-protected-asset{margin:24px 0}.pink-protected-asset img,.pink-protected-asset video{max-width:100%;height:auto;border-radius:16px;display:block}.pink-protected-asset audio{width:100%}.pink-protected-asset figcaption{font-size:16px;line-height:1.5;margin-top:12px}.brand-footer{padding:var(--pad);display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.brand-footer button{background:transparent;border:1px solid var(--line);border-radius:100px;padding:16px 24px;color:var(--blue)}.brand-empty{padding:60px var(--pad)}
.portal-home .icon,.eye-tile .icon{filter:brightness(0) invert(1)}.section-toggle .icon,.download-card .icon{filter:invert(28%) sepia(100%) saturate(4370%) hue-rotate(230deg) brightness(102%) contrast(102%)}
@media(min-width:768px){.search-shell{width:clamp(395px,31.04vw,596px)}.home-footer p{max-width:clamp(270px,23.18vw,445px)}.home-shapes>.shape:first-child{transform:translate(-50%,-50%) rotate(18.37deg)}}
@media(min-width:1600px){.home-main{padding-bottom:100px}.search-shell{font-size:24px}}
@media(max-width:767px){.shape{width:135vw;height:90vh}.shape-front{width:100vw;height:70vh}.welcome h1{font-size:clamp(40px,8.4vw,64px);letter-spacing:-.035em}.search-field{gap:8px}.search-field>label{display:none}.search-field input{font-size:16px}.home-main{padding-bottom:80px}.home-footer{font-size:14px}.home-footer p{max-width:270px}.brand-hero{grid-template-columns:1fr;gap:30px}.brand-intro h1{font-size:58px}.brand-cover{height:auto;aspect-ratio:9/10;min-height:0;max-height:650px}.brand-downloads{padding-top:0;gap:16px}.download-card{padding:18px;font-size:26px}.brand-section summary{flex-wrap:wrap;gap:10px;padding:24px 20px;position:relative;padding-right:62px}.section-tag{font-size:14px;border-radius:10px;padding:6px 9px}.section-toggle{position:absolute;right:20px;top:27px}.section-title{flex-basis:100%}.brand-nav a,.brand-nav select{padding:12px}.section-invitation h2{max-width:450px}.home-header .pill{font-size:15px}.dialog-actions{flex-direction:column}.brand-description{max-width:100%}.section-body .wp-block-columns{flex-wrap:wrap!important}.section-body .wp-block-column{flex-basis:100%!important}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}a,button{transition:background .15s,color .15s}}

/* Updated Figma footer, pinned navigation, help and modal states. */
.icon{background-color:currentColor;-webkit-mask:var(--pink-icon) center/contain no-repeat;mask:var(--pink-icon) center/contain no-repeat;filter:none!important}.section-toggle{color:var(--blue)}.section-toggle .icon{width:100%;height:100%}.eye-tile{color:white}.breadcrumb-icon{color:var(--blue)}
.home-header .pill{border-width:2px}.home-header .pill:hover,.home-header .pill:focus-visible{background:var(--blue)}
dialog,.login-panel{background:var(--blue);border:0;border-radius:44px;text-align:center;padding:20px}dialog{overflow:visible}dialog h2,.login-panel h1{font-size:40px;line-height:1.05;margin:0 0 24px;letter-spacing:-.025em}dialog>p{font-size:24px;line-height:1.05;margin:0 0 24px}dialog .dialog-close{position:absolute;right:8px;top:-36px;float:none;line-height:1}.dialog-actions{margin-top:36px}.dialog-actions .primary,.login-panel .primary{background:white;color:var(--blue);border-radius:24px;padding:28px 20px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:24px}.dialog-actions .pill{border:0;background:#ffffff33;border-radius:24px;padding:28px 20px;font-size:24px}.dialog-actions .pill:hover{background:#ffffff4d}.login-panel .search-field{margin:36px 0 12px;padding:28px 24px;font-size:24px}.login-panel .search-field input{width:100%}.login-panel .search-field label{display:block}.login-panel .primary .icon{filter:invert(28%) sepia(100%) saturate(4370%) hue-rotate(230deg) brightness(102%) contrast(102%)}.login-panel .search-field .icon{filter:brightness(0) invert(1)}.form-error:empty{display:none}#login-dialog{padding:0}#login-dialog .login-panel{width:100%;backdrop-filter:none}.contact-instructions{font-size:16px;margin-top:20px}dialog .contact-instructions[hidden]{display:none}
.brand-intro{padding-top:95px}.brand-cover{height:auto;aspect-ratio:9/10;min-height:0}.brand-description{max-width:clamp(280px,23.18vw,445px)}
.brand-breadcrumbs{position:fixed;left:var(--pad);top:var(--pad);z-index:30;display:grid;grid-template-columns:55px 124px minmax(0,204px) minmax(0,204px);width:587px;max-width:calc(100% - 2 * var(--pad));font-size:16px;line-height:1.2;filter:drop-shadow(0 4px 16px #1a237e05)}.breadcrumb-icon{display:grid;place-items:center;background:#eaeefe;border-radius:16px 0 0 16px;height:55px}.breadcrumb-icon .icon{width:24px;height:24px}.breadcrumb-home{display:flex;justify-content:center;align-items:center;text-decoration:none;background:white;border:2px solid var(--line);margin-left:-2px;min-width:0}.breadcrumb-dropdown{position:relative;background:white;border:2px solid var(--line);margin-left:-2px;min-width:0}.breadcrumb-dropdown:last-child{border-radius:0 16px 16px 0}.breadcrumb-dropdown summary{list-style:none;height:51px;display:flex;gap:16px;align-items:center;padding:16px 24px;color:var(--blue);cursor:pointer}.breadcrumb-dropdown summary::-webkit-details-marker{display:none}.breadcrumb-dropdown summary>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.breadcrumb-dropdown summary>span:last-child{flex:none}.breadcrumb-menu{position:absolute;top:calc(100% + 10px);left:0;width:max-content;min-width:100%;max-width:min(380px,calc(100vw - 40px));background:white;border:1px solid var(--line);border-radius:16px;padding:8px;box-shadow:0 16px 40px #1a237e18;max-height:60vh;overflow:auto}.breadcrumb-dropdown:last-child .breadcrumb-menu{right:0;left:auto}.breadcrumb-menu button{display:block;text-align:left;background:none;border:0;color:var(--blue);width:100%;padding:12px 16px;border-radius:8px;font-size:16px}.breadcrumb-menu button[hidden]{display:none}.breadcrumb-menu button:hover{background:#304ffe0d}.brand-section{scroll-margin-top:calc(var(--pad) + 80px)}.admin-bar .brand-breadcrumbs{top:calc(var(--pad) + 32px)}
.floating-help{position:fixed;right:40px;bottom:40px;z-index:25;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--blue);color:white;border-radius:24px;padding:28px 36px;text-decoration:none;font-size:24px;box-shadow:0 8px 24px #304ffe16}.floating-help .icon{width:29px;height:29px;filter:brightness(0) invert(1)}.floating-help[hidden]{display:none}.floating-help:hover{background:#203ee8}
.brand-footer{display:block;padding:clamp(60px,6.25vw,120px) var(--pad) var(--pad)}.footer-cards{display:grid;grid-template-columns:430fr 1370fr;gap:var(--pad);align-items:stretch}.discount-card{border:2px solid var(--line);border-radius:20px;padding:20px;color:var(--blue);display:flex;flex-direction:column;gap:20px}.discount-card .icon{width:clamp(48px,3.854vw,74px);height:clamp(48px,3.854vw,74px)}.discount-card p{margin:0;font-size:clamp(24px,2.083vw,40px);line-height:1.05}.contact-card{position:relative;isolation:isolate;border-radius:20px;padding:20px;overflow:hidden;color:white;display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-height:clamp(230px,13.75vw,264px);scroll-margin-top:120px}.contact-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.contact-message{font-size:clamp(24px,2.083vw,40px);line-height:1.05;margin:0}.contact-person{display:flex;gap:24px;align-items:center}.manager-photo{width:clamp(58px,4.219vw,81px);height:clamp(58px,4.219vw,81px);border-radius:100px;object-fit:cover;border:2px solid var(--line);flex:none}.manager-name{margin:0 0 4px}.contact-links{display:flex;gap:16px;flex-wrap:wrap}.contact-links span{text-decoration:underline;text-underline-position:under}.footer-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-top:clamp(90px,8.958vw,172px)}.footer-bottom>p{max-width:clamp(270px,23.18vw,445px);margin:0}.brand-footer .logout-button{display:flex;gap:10px;align-items:center;justify-content:center;border:2px solid var(--blue);border-radius:24px;color:var(--blue);padding:28px 36px;font-size:24px}.logout-button .icon{width:29px;height:29px}.logout-button:hover{background:#304ffe08}.discount-card .icon,.logout-button .icon,.breadcrumb-icon .icon{filter:invert(28%) sepia(100%) saturate(4370%) hue-rotate(230deg) brightness(102%) contrast(102%)}
@media(max-width:767px){.brand-breadcrumbs{grid-template-columns:40px 76px minmax(0,1fr) minmax(0,1fr);width:calc(100% - 40px);max-width:none;left:20px;top:20px;font-size:12px}.breadcrumb-icon{height:46px}.breadcrumb-icon .icon{width:20px;height:20px}.breadcrumb-dropdown summary{height:42px;font-size:12px;padding:10px 8px;gap:6px}.brand-intro{padding-top:76px}.brand-description{max-width:100%}.breadcrumb-menu button{font-size:14px}.breadcrumb-menu{max-width:calc(100vw - 40px)}#breadcrumb-group .breadcrumb-menu{left:auto;right:-80px}.floating-help{right:20px;bottom:20px;padding:18px 22px;font-size:16px;border-radius:20px}.floating-help .icon{width:22px;height:22px}.footer-cards{grid-template-columns:1fr;gap:20px}.discount-card{flex-direction:row;align-items:center}.discount-card .icon{flex:none}.contact-card{min-height:270px}.contact-person{gap:14px}.manager-name{font-size:16px}.contact-links{font-size:15px;gap:12px}.footer-bottom{margin-top:64px;align-items:flex-start;flex-direction:column}.footer-bottom>p{max-width:290px}.brand-footer .logout-button{font-size:18px;padding:18px 24px}.footer-bottom form{align-self:flex-end}.dialog-actions{flex-direction:row;gap:12px}.dialog-actions .pill,.dialog-actions .primary{font-size:18px;padding:22px 12px}dialog h2,.login-panel h1{font-size:30px}dialog>p{font-size:18px}.login-panel .search-field{padding:22px 16px;font-size:18px}.login-panel .search-field input{font-size:18px}.login-panel .primary{font-size:18px;padding:22px}.admin-bar .brand-breadcrumbs{top:66px}}

.discount-card p{letter-spacing:-.03em}
@media(min-width:768px){.search-shell{width:clamp(440px,31.04vw,596px)}}
/* Keep the complete section title and tag on one line on narrow screens.
   The row can scroll horizontally; long names are never silently truncated. */
@media(max-width:767px){
 .brand-section summary{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:12px;padding:22px 20px;scrollbar-width:thin;scrollbar-color:#304ffe33 transparent;overscroll-behavior-x:contain}
 .brand-section .section-title{flex:0 0 auto;white-space:normal;overflow-wrap:normal;font-size:clamp(17px,4.6vw,23px)}
 .brand-section .section-tag{flex:0 0 auto;white-space:nowrap;font-size:12px;padding:6px 9px}
 .brand-section .section-toggle{position:sticky;right:0;top:auto;flex:0 0 28px;width:28px;height:28px;margin-left:auto;background:white;box-shadow:-12px 0 10px white}
}

/* Section numbers live only in the disclosure row. */
.section-number{flex:0 0 auto;white-space:nowrap}
.brand-section[open]>summary>.section-title,.brand-section[open]>summary>.section-tag{display:none}
/* Images stay inside the section padding, aligned with the rest of the content. */
.section-body .pink-protected-asset{width:100%;max-width:100%;margin:0}
.section-body .pink-protected-asset img,.section-body .pink-protected-asset video{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:auto;object-fit:initial;border-radius:0}
.section-body .pink-protected-asset figcaption{padding-inline:0}
