.pk-frontend-form {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000;
}

.pk-frontend-form * {
    box-sizing: border-box;
}

.pk-frontend-form,
.pk-event-form,
.pk-listing-form,
.pk-location-form,
.pk-form-tabs,
.pk-form-tab-panel,
.pk-form-section {
    width: 100%;
    max-width: 100%;
}

.pk-form-tabs,
.pk-form-tab-panel {
    width: 100%;
    max-width: 100%;
}

.pk-edit-form {
    display: block;
    width: 100%;
    max-width: 100%;
}

.pk-form-section {
    border: 1px solid #d8dee4;
    border-radius: 6px;
    padding: 16px;
    margin: 0 0 16px;
    background: #fff;
}

.pk-form-section h3 {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 12px;
    color: #000;
}

.pk-form-grid {
    display: grid;
    gap: 12px;
}

.pk-form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pk-form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pk-form-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pk-form-grid--compact {
    align-items: end;
}

.pk-form-grid--location {
    grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 1fr) minmax(80px, 120px);
}

.pk-form-field {
    display: block;
    margin: 0 0 12px;
}

.pk-form-label {
    display: block;
    font-weight: 700;
    margin: 0 0 5px;
}

.pk-form-sublabel {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 5px;
}

.pk-required {
    color: #b42318;
}

.pk-form-field input,
.pk-form-field textarea,
.pk-form-field select {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    border: 1px solid #c7ced6;
    border-radius: 4px;
    padding: 8px 10px;
    font: inherit;
    color: #000;
    background: #fff;
}

.pk-form-field textarea {
    min-height: 110px;
    resize: vertical;
}

.pk-field-help {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    color: #5f6b7a;
}

.pk-form-field input[type="file"] {
    padding: 7px;
}

.pk-post-select-search {
    width: 100%;
    max-width: 100%;
    min-height: 36px;
    border: 1px solid #c7ced6;
    border-radius: 4px;
    padding: 7px 10px;
    margin: 0 0 6px;
    font: inherit;
    color: #000;
    background: #fff;
}

.pk-post-choice {
    min-width: 0;
}

.pk-post-choice .pk-post-select-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
    background-position: 10px 50%;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-left: 34px;
}

.pk-post-choice-list {
    display: grid;
    gap: 0;
    max-height: 210px;
    overflow: auto;
    border: 1px solid #c7ced6;
    border-radius: 4px;
    background: #ffffff;
}

.pk-post-choice-item {
    display: grid;
    grid-template-columns: 18px 28px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 38px;
    padding: 6px 8px;
    margin: 0;
    cursor: pointer;
}

.pk-post-choice-item:hover {
    background: #f1f7fb;
}

.pk-post-choice-item input {
    width: auto;
    min-height: 0;
    margin: 0;
}

.pk-post-choice-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 2px;
    background: #e5e7eb;
    overflow: hidden;
}

.pk-post-choice-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pk-post-choice-title {
    min-width: 0;
    overflow: hidden;
    color: #000000;
    font-size: 14px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pk-post-choice-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
}

.pk-post-choice-count {
    color: #2878a8;
    font-size: 13px;
}

.pk-post-choice-chip {
    border: 1px solid #7fc3e8;
    border-radius: 999px;
    background: #eef8ff;
    color: #000;
    padding: 4px 8px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.pk-subcategory-group {
    display: none;
}

.pk-category-options {
    max-height: 128px;
    overflow: auto;
    border: 1px solid #c7ced6;
    border-radius: 4px;
    background: #fff;
}

.pk-category-option {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 7px 9px;
    margin: 0;
    cursor: pointer;
}

.pk-category-option:hover {
    background: #f1f7fb;
}

.pk-category-option input {
    width: auto;
    min-height: 0;
}

.pk-category-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
}

.pk-category-count {
    color: #2878a8;
    font-size: 13px;
}

.pk-category-chip {
    border: 1px solid #7fc3e8;
    border-radius: 999px;
    background: #eef8ff;
    color: #000;
    padding: 4px 8px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.pk-admin-fields {
    border-color: #f0c36d;
    background: #fffaf0;
}

.pk-form-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.pk-form-tab-nav button {
    appearance: none;
    border: 1px solid #c7ced6;
    border-radius: 5px;
    background: #f8fafc;
    color: #000;
    padding: 9px 14px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.pk-form-tab-nav button.is-active {
    border-color: #3BA1DA;
    background: #3BA1DA;
    color: #fff;
}

.pk-form-tab-panel {
    display: none;
}

.pk-form-tab-panel.is-active {
    display: block;
}

.pk-date-summary {
    background: #f8fbef;
}

.pk-date-summary__line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    line-height: 1.45;
}

.pk-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pk-gallery-item {
    margin: 0;
}

.pk-delete-check {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    font-weight: 700;
    color: #7f1d1d;
}

.pk-delete-check input {
    width: auto;
}

.pk-media-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.pk-media-preview {
    width: 120px;
    min-height: 120px;
    border: 1px solid #c7ced6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    text-align: center;
    color: #555;
    background: #f8fafc;
}

.pk-media-preview img {
    display: block;
    max-width: 100%;
    height: auto;
}

.pk-media-preview--small {
    width: 92px;
    min-height: 92px;
    margin-top: 8px;
}

.pk-repeater-panel {
    display: none;
}

.pk-repeater-row {
    border: 1px solid #d8dee4;
    border-radius: 6px;
    padding: 12px;
    margin: 0 0 12px;
    background: #fbfcfd;
}

.pk-remove-row {
    border: 0;
    border-radius: 4px;
    padding: 7px 10px;
    background: #4b5563;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.pk-media-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pk-secondary-button {
    appearance: none;
    border: 0;
    border-radius: 4px;
    padding: 8px 12px;
    background: #3BA1DA;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.pk-secondary-button--muted {
    background: #4b5563;
}

.pk-upload-inline {
    display: block;
    width: 100%;
    margin-top: 4px;
}

.pk-upload-inline span {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.pk-form-field small {
    display: block;
    margin-top: 4px;
    color: #555;
}

.pk-form-actions {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin-top: 16px;
    border: 1px solid #d8dee4;
    border-radius: 6px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
}

.pk-form-actions button {
    appearance: none;
    border: 0;
    border-radius: 4px;
    padding: 10px 16px;
    background: #3BA1DA;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.pk-form-actions button:hover,
.pk-form-actions button:focus {
    background: #2588bf;
}

.pk-form-notice {
    border-radius: 4px;
    padding: 10px 12px;
    margin: 0 0 14px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.pk-form-notice--success {
    border: 1px solid #9fd6ac;
    background: #edf9f0;
    color: #14532d;
}

.pk-form-notice--error {
    border: 1px solid #f0a8a8;
    background: #fff1f1;
    color: #7f1d1d;
}

.pk-form-notice--info {
    border: 1px solid #b9d7ef;
    background: #eef7ff;
    color: #12344d;
}

.pk-dashboard {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000;
    border: 1px solid #cbdc3f;
    padding: 16px;
}

.pk-dashboard-header {
    text-align: center;
    margin-bottom: 22px;
}

.pk-dashboard-header h2 {
    font-size: 16px;
    margin: 0 0 14px;
    text-decoration: underline;
}

.pk-dashboard-user {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    color: #a52a61;
}

.pk-dashboard-actions,
.pk-dashboard-tabs,
.pk-dashboard-search,
.pk-dashboard-card-actions,
.pk-dashboard-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.pk-dashboard-add,
.pk-dashboard-tabs a,
.pk-dashboard-button,
.pk-dashboard-search button,
.pk-dashboard-pagination a,
.pk-dashboard-pagination span {
    border: 1px solid #a9c64a;
    border-radius: 4px;
    padding: 7px 10px;
    background: #f8fbef;
    color: #000;
    text-decoration: none;
    line-height: 1.2;
}

.pk-dashboard-tabs a.is-active,
.pk-dashboard-pagination .current {
    background: #3BA1DA;
    border-color: #3BA1DA;
    color: #fff;
}

.pk-dashboard-search label {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pk-dashboard-search input {
    min-height: 36px;
    border: 1px solid #c7ced6;
    border-radius: 4px;
    padding: 7px 10px;
    font: inherit;
}

.pk-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pk-dashboard-card {
    border: 1px solid #cbdc3f;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    background: #fff;
}

.pk-dashboard-status {
    font-weight: 700;
    margin-bottom: 8px;
}

.pk-status-publish {
    color: #147d37;
}

.pk-status-pending,
.pk-status-draft {
    color: #b00000;
}

.pk-status-private {
    color: #2f6680;
}

.pk-dashboard-card h3 {
    font-size: 16px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #37697a;
}

.pk-dashboard-thumb {
    aspect-ratio: 1 / 1;
    border: 1px solid #cbdc3f;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
    background: #eaf6f1;
}

.pk-dashboard-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pk-dashboard-meta {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 10px;
}

.pk-dashboard-button--edit {
    background: #4b5563;
    border-color: #4b5563;
    color: #fff;
}

.pk-dashboard-button--view {
    background: #3BA1DA;
    border-color: #3BA1DA;
    color: #fff;
}

@media (max-width: 767px) {
    .pk-form-grid--2,
    .pk-form-grid--3,
    .pk-form-grid--4,
    .pk-form-grid--location,
    .pk-gallery-grid {
        grid-template-columns: 1fr;
    }

    .pk-media-row {
        grid-template-columns: 1fr;
    }

    .pk-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .pk-dashboard-search label {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}

.pk-public-archive {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000;
}

.pk-public-archive * {
    box-sizing: border-box;
}

.pk-public-archive__header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    text-align: center;
}

.pk-public-archive__header h2 {
    width: 100%;
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
}

.pk-public-archive__search {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.pk-public-archive__search input {
    min-height: 38px;
    min-width: min(280px, 100%);
    border: 1px solid #c7ced6;
    border-radius: 4px;
    padding: 8px 10px;
    font: inherit;
}

.pk-public-archive__search button,
.pk-public-archive__search a {
    min-height: 38px;
    border: 0;
    border-radius: 4px;
    padding: 9px 12px;
    background: #3BA1DA;
    color: #fff;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.pk-public-event-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin: -4px 0 16px;
    text-align: center;
}

.pk-public-event-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    color: #000000;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.pk-public-event-filter a:hover,
.pk-public-event-filter a.is-active {
    background: #ffffff;
    color: #FF7231;
}

.pk-public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pk-public-card {
    border: 1px solid #d8dee4;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.pk-public-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: #eef5f1;
    color: #475569;
    text-align: center;
    text-decoration: none;
}

.pk-public-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pk-public-card__body {
    padding: 12px;
}

.pk-public-card__status {
    font-size: 12px;
    color: #667085;
    margin-bottom: 6px;
}

.pk-public-card__badge {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 7px;
    border: 1px solid #b7d9ea;
    border-radius: 999px;
    padding: 3px 8px;
    background: #edf8fd;
    color: #000;
    font-size: 12px;
    line-height: 1.3;
}

.pk-public-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.3;
}

.pk-public-card h3 a {
    color: #0f3954;
    text-decoration: none;
}

.pk-public-card__meta {
    display: grid;
    gap: 4px;
    color: #1f2937;
    line-height: 1.35;
}

.pk-public-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pk-public-card__actions a {
    border-radius: 4px;
    padding: 7px 10px;
    background: #4b5563;
    color: #fff;
    text-decoration: none;
}

.pk-public-event-card {
    display: grid;
    grid-template-rows: auto 430px auto;
    min-width: 0;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #ffffff;
    overflow: hidden;
}

.pk-public-event-card__head {
    display: grid;
    gap: 8px;
    align-content: start;
    min-width: 0;
    padding: 8px;
    text-align: center;
}

.pk-public-event-card__type {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 8px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    color: #2c6f8f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.pk-public-event-card__title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.pk-public-event-card__title a {
    color: inherit;
    text-decoration: none;
}

.pk-public-event-card__date {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 5px 8px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.pk-public-event-card__image {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    height: 430px;
    background: #E7F1EC;
    color: #2c6f8f;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
}

.pk-public-event-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}

.pk-public-event-card__image > span {
    font-weight: 700;
}

.pk-public-event-card__relations {
    display: grid;
    gap: 4px;
    min-height: 54px;
    padding: 7px 8px;
    border-top: 1px solid #D4DD4C;
    color: #000000;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
}

.pk-public-event-card__relations span {
    color: #2c6f8f;
    font-weight: 700;
}

.pk-public-event-card__relations a {
    color: #0f3954;
    font-weight: 700;
    text-decoration: none;
}

.pk-public-event-card__relations a:hover {
    color: #FF7231;
}

.pk-public-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 18px;
}

.pk-public-pagination a,
.pk-public-pagination span {
    min-width: 34px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c7ced6;
    border-radius: 4px;
    padding: 6px 9px;
    text-decoration: none;
    color: #000;
    background: #fff;
}

.pk-public-pagination .current {
    border-color: #3BA1DA;
    background: #3BA1DA;
    color: #fff;
}

@media (max-width: 900px) {
    .pk-public-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pk-public-grid {
        grid-template-columns: 1fr;
    }

    .pk-public-archive__search,
    .pk-public-archive__search input,
    .pk-public-archive__search button,
    .pk-public-archive__search a {
        width: 100%;
    }

    .pk-public-event-card {
        grid-template-rows: auto 390px auto;
    }

    .pk-public-event-card__image {
        height: 390px;
    }
}

.pk-single-view {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000;
}

.pk-single-view * {
    box-sizing: border-box;
}

.pk-single-view__header {
    text-align: center;
    border: 1px solid #D4DD4C;
    background: #fff;
    padding: 10px;
    margin-bottom: 16px;
}

.pk-single-view__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    width: 100%;
    border: 1px solid #D4DD4C;
    border-radius: 4px;
    background: #E7F1EC;
    color: #2563eb;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    padding: 5px 10px;
}

.pk-single-view__subcategory {
    margin-top: 8px;
    color: #334155;
    font-size: 14px;
    line-height: 1.35;
}

.pk-single-view__title {
    margin: 12px 0 0;
    color: #111827;
    font-size: 24px;
    line-height: 1.25;
}

.pk-single-view__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 14px;
    align-items: start;
}

.pk-single-view__main,
.pk-single-view__side {
    min-width: 0;
}

.pk-single-view__content {
    border: 1px solid #D4DD4C;
    border-radius: 4px;
    background: #fff;
    padding: 10px;
    margin-bottom: 10px;
    line-height: 1.55;
}

.pk-single-view__content p:last-child {
    margin-bottom: 0;
}

.pk-single-view__info {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}

.pk-single-view__line {
    display: flex;
    gap: 6px;
    align-items: center;
    min-height: 30px;
    border: 1px solid #D4DD4C;
    border-radius: 4px;
    background: #E7F1EC;
    padding: 6px 8px;
    line-height: 1.35;
}

.pk-single-view__line span {
    font-weight: 700;
}

.pk-single-view__line strong {
    font-weight: 500;
}

.pk-single-view__line a {
    color: #000;
    text-decoration: none;
}

.pk-single-view__social,
.pk-single-view__sources {
    display: grid;
    gap: 5px;
    width: 100%;
    margin: 10px 0;
    padding: 5px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
}

.pk-single-view__social {
    border-color: transparent;
    background: transparent;
    padding: 0;
}

.pk-single-link {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 34px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #fff;
    color: #000 !important;
    padding: 5px;
    text-decoration: none !important;
}

.pk-single-view__social .pk-single-link {
    background: #E7F1EC;
}

.pk-single-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-width: 28px;
    height: 28px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    color: #000;
    font-size: 14px;
    font-weight: 700;
}

.pk-single-link__text {
    color: #000;
    overflow-wrap: anywhere;
}

.pk-single-link:hover .pk-single-link__text {
    color: #FF7231;
}

.pk-single-view__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #D4DD4C;
    border-radius: 6px;
    background: #E7F1EC;
    overflow: hidden;
    color: #475569;
    text-align: center;
}

.pk-single-view__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pk-single-map {
    width: 100%;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pk-single-map__frame {
    width: 70%;
    min-width: 190px;
    height: 190px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.pk-single-map__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.pk-single-map__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    border-radius: 7px;
    background: #2563eb;
    color: #fff !important;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.pk-post-contact {
    margin-top: 18px;
}

.pk-post-contact__details {
    border: 0;
}

.pk-post-contact__summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    color: #25606f;
    padding: 8px 10px;
    font-weight: 700;
    cursor: pointer;
}

.pk-post-contact__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
    border: 1px solid #D4DD4C;
    border-radius: 6px;
    background: #fff;
    padding: 12px;
}

.pk-post-contact__title,
.pk-post-contact__post-title,
.pk-post-contact__field--full,
.pk-post-contact__captcha,
.pk-post-contact__submit {
    grid-column: 1 / -1;
}

.pk-post-contact__title {
    font-weight: 700;
}

.pk-post-contact__post-title {
    color: #475569;
}

.pk-post-contact__field {
    display: grid;
    gap: 5px;
    font-weight: 700;
}

.pk-post-contact__field input,
.pk-post-contact__field select,
.pk-post-contact__field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 8px;
    font: inherit;
    font-weight: 400;
}

.pk-post-contact__website {
    position: absolute;
    left: -9999px;
}

.pk-post-contact__submit {
    width: fit-content;
    border: 0;
    border-radius: 5px;
    background: #3BA1DA;
    color: #fff;
    padding: 9px 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.pk-post-contact__notice {
    margin-bottom: 8px;
    border-radius: 5px;
    padding: 8px 10px;
}

.pk-post-contact__notice--success {
    border: 1px solid #86efac;
    background: #f0fdf4;
}

.pk-post-contact__notice--error {
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.pk-single-related-events-wrap {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.pk-single-related-events {
    border: 1px solid #D4DD4C;
    border-radius: 6px;
    background: #fff;
    padding: 10px;
}

.pk-single-related-events h2 {
    margin: 0 0 10px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.25;
    text-align: center;
    color: #111827;
}

.pk-single-related-events__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pk-single-related-event {
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    overflow: hidden;
}

.pk-single-related-event__head {
    display: grid;
    gap: 5px;
    padding: 8px;
    text-align: center;
}

.pk-single-related-event__type {
    display: inline-flex;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid #D4DD4C;
    border-radius: 999px;
    background: #fff;
    color: #2563eb;
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.25;
}

.pk-single-related-event h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
}

.pk-single-related-event h3 a {
    color: #0f3954;
    text-decoration: none;
}

.pk-single-related-event__date {
    color: #334155;
    font-size: 12px;
    line-height: 1.25;
}

.pk-single-related-event__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: #fff;
    color: #64748b;
    text-align: center;
    text-decoration: none;
}

.pk-single-related-event__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pk-single-related-event__relations {
    display: grid;
    gap: 4px;
    padding: 7px 8px;
    border-top: 1px solid #D4DD4C;
    background: #ffffff;
    color: #000000;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
}

.pk-single-related-event__relations span {
    color: #2c6f8f;
    font-weight: 700;
}

.pk-single-related-event__relations a {
    color: #0f3954;
    font-weight: 700;
    text-decoration: none;
}

.pk-single-related-event__relations a:hover {
    color: #FF7231;
}

@media (max-width: 767px) {
    .pk-single-view__body,
    .pk-post-contact__form {
        grid-template-columns: 1fr;
    }

    .pk-single-map__frame {
        width: 100%;
    }

    .pk-single-related-events__grid {
        grid-template-columns: 1fr;
    }
}

.pk-single-event .pk-single-view__header {
    margin-bottom: 10px;
}

.pk-event-repeats-notice {
    display: grid;
    gap: 4px;
    margin: 10px auto;
    border: 1px solid #eab308;
    border-radius: 5px;
    background: #fef9c3;
    color: #000;
    padding: 8px 10px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.pk-event-repeats-notice strong {
    font-size: 13px;
}

.pk-event-change-notice {
    display: grid;
    gap: 4px;
    margin: 10px auto;
    border: 1px solid #f97316;
    border-radius: 5px;
    background: #fff7ed;
    color: #000;
    padding: 9px 10px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.pk-event-change-notice strong {
    color: #b42318;
    font-size: 15px;
}

.pk-event-dates {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 14px;
}

.pk-event-date-box {
    height: 100%;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    padding: 6px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #000;
}

.pk-event-date-box__title {
    margin-bottom: 5px;
    color: #2563eb;
    font-weight: 700;
    text-align: center;
}

.pk-event-date-box__item {
    display: grid;
    gap: 2px;
    border: 1px solid #D4DD4C;
    border-radius: 4px;
    background: #fff;
    padding: 5px;
    line-height: 1.35;
}

.pk-event-date-box__item + .pk-event-date-box__item {
    margin-top: 5px;
}

.pk-event-date-box__item span {
    font-weight: 700;
}

.pk-event-date-box__item strong {
    font-weight: 500;
}

.pk-event-date-box__item em,
.pk-event-date-box__empty {
    color: #64748b;
    font-style: normal;
}

.pk-single-event__body {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 14px;
    align-items: start;
}

.pk-single-event__main,
.pk-single-event__side {
    min-width: 0;
}

.pk-event-actions {
    margin-top: 0;
    margin-bottom: 12px;
}

.pk-single-event__note {
    margin-bottom: 10px;
    border: 1px solid #D4DD4C;
    border-radius: 4px;
    background: #fff;
    color: #334155;
    padding: 8px;
    font-size: 13px;
}

.pk-single-event__details {
    margin-top: 10px;
}

.pk-single-event__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 620px);
    margin: 16px auto;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    overflow: hidden;
    text-decoration: none;
}

.pk-single-event__image img {
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    display: block;
}

.pk-single-event__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 620px);
    margin: 0 auto 16px;
}

.pk-single-event__gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    overflow: hidden;
}

.pk-single-event__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pk-single-event__disclaimer {
    margin: 18px 0;
    color: #b00055;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.pk-single-event__disclaimer p {
    margin: 0 0 8px;
}

.pk-single-event__disclaimer a {
    color: #b00055;
    text-decoration: none;
}

.pk-event-related {
    border: 1px solid #D4DD4C;
    border-radius: 6px;
    background: #fff;
    padding: 8px;
}

.pk-event-related h2 {
    margin: 0 0 8px;
    font-size: 16px;
    text-align: center;
}

.pk-event-related__grid {
    display: grid;
    gap: 8px;
}

.pk-event-related__card {
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    overflow: hidden;
    text-align: center;
}

.pk-event-related__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: #fff;
    color: #64748b;
    text-align: center;
    text-decoration: none;
}

.pk-event-related__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pk-event-related__content {
    padding: 7px;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
}

.pk-event-related__content h3 {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.3;
}

.pk-event-related__content a {
    color: #0f3954;
    text-decoration: none;
}

.pk-event-relation-card__role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    margin: 8px auto 5px;
    border-radius: 4px;
    background: #FF7231;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.pk-event-relation-card__terms {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 16px);
    margin: 0 auto 6px;
    border: 1px solid #D4DD4C;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.25;
}

.pk-event-relation-card__title {
    margin: 0 8px 8px;
    font-size: 14px;
    line-height: 1.3;
}

.pk-event-relation-card__title a {
    color: #287083;
    text-decoration: none;
}

@media (max-width: 900px) {
    .pk-single-event__body {
        grid-template-columns: 1fr;
    }

    .pk-event-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pk-event-dates,
    .pk-event-related__grid,
    .pk-single-event__gallery {
        grid-template-columns: 1fr;
    }
}
